CVE-2026-142596
Last modified
CVE-2026-142596 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.69% chance of exploitation in the next 30 days.
Description
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 attacker-controlled data to select(), find(filter, projection), or the projection option while relying on sanitizeProjection can return fields marked select: false, including password hashes, reset tokens, API keys, and nested secrets. Nested exclusion objects, $elemMatch combined with an exclusion or a cast error, and discriminator filters can also cause ordinary queries that do not enable sanitizeProjection to omit the select: false exclusions that Mongoose normally adds. This issue is fixed in versions 8.24.10 and 9.12.2.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Automattic | mongoose | >= 8.5.0, < 8.24.10; >= 9.0.0, < 9.12.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-142596?
How severe is CVE-2026-142596?
How do I fix CVE-2026-142596?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142590Rack is a modular Ruby web server interface. Prior to 2.2.26…4.8
- CVE-2026-142591Rack is a modular Ruby web server interface. Prior to 2.2.26…5.3
- CVE-2026-142592Rack is a modular Ruby web server interface. From 3.0.0 unti…7.5
- CVE-2026-142593Rack is a modular Ruby web server interface. From 2.2.0 unti…5.3
- CVE-2026-142594Rack is a modular Ruby web server interface. Prior to 2.2.26…3.7
- CVE-2026-142595Mongoose is a MongoDB object modeling tool designed to work …6.5
- CVE-2026-1426The Advanced AJAX Product Filters plugin for WordPress is vu…8.8
- CVE-2026-142608Mongoose is a MongoDB object modeling tool designed to work …0
- CVE-2026-14261A vulnerability in the Xerte Online Tools allows for authent…9.1
- CVE-2026-142610Laravel is a web application framework. Prior to 12.74.0 and…7.5
- CVE-2026-142611Laravel is a web application framework. Prior to 13.43.0 and…5.4
- CVE-2026-142612Laravel is a web application framework. Prior to 13.38.0 and…7.5
Are you affected by CVE-2026-142596?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
