CRITICAL · CVSS 9 Published: 2025-01-15
CVE-2025-23061 — Technical Security Advisory & CVSS Profile
Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.
Technical Metadata
| Identifier | CVE-2025-23061 |
|---|---|
| Base Severity / Score | CRITICAL (9 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Weakness Classification | CWE-94 |
| Archive Categories | CRITICAL Advisories · 2025 Index |
Operational Mitigation Guidance
Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md
- https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bc
- https://github.com/Automattic/mongoose/releases/tag/8.9.5
Related Security Advisories
CVE-2025-23060 MEDIUM 6.6
CVE-2025-2308 MEDIUM 5.3
CVE-2025-23097 CRITICAL 9.1
CVE-2025-23099 CRITICAL 9.1
CVE-2025-23211 CRITICAL 9.9
CVE-2025-23218 CRITICAL 9.8
CVE-2025-23219 CRITICAL 9.8
CVE-2025-23220 CRITICAL 9.8