CVE-2026-142596: Vulnerability in Automattic Mongoose
Patch soon. Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 8.5.0 until 8.24.10 and 9.12.2, Mongoose's sanitizeProjection can be bypassed by +path selections, object or array aggregation expressions, nested and parent projections, positional projections, $meta, discriminator-specific exclusions, an own __proto__ key, and projection-cast error paths. Applications that pass...
npm, CWE-200
- Exploitation
- None confirmed
- Severity
- 7.5 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-xfcm-rmv3-crmq
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weakness
- CWE-200
- Published
- 2 Dec 2026
- Last change
- 4 Dec 2026
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Automattic Mongoose From 9.0.0, before 9.12.2; From 8.5.0, before 8.24.10; Versions >= 8.5.0, < 8.24.10, >= 9.0.0, < 9.12.2. Fixed in 8.24.10, 9.12.2
Affected packages
Vulnerable version ranges and fixed releases
- mongoose npm, Affected from 8.5.0 before 8.24.10. Fixed in 8.24.10
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/Automattic/mongoose/commit/c369da407ee8bea907bb5af7bb94ce5deeb3e0e4
- github.com/Automattic/mongoose/commit/c5483b71438ececde3a272feef65e14666614093
- github.com/Automattic/mongoose/releases/tag/8.24.10
- github.com/Automattic/mongoose/releases/tag/9.12.2
Related
- Mongoose vulnerabilities Recent advisories, watch this product