CVE-2026-125119
Last modified
CVE-2026-125119 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 6.0.0 until 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose stores the connection-level sanitizeFilter option in Connection.config, but Query.prototype._castConditions() and query casting check other option locations and do not read that configuration. EPSS estimates a 0.54% chance of exploitation in the next 30 days.
Description
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.0.0 until 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose stores the connection-level sanitizeFilter option in Connection.config, but Query.prototype._castConditions() and query casting check other option locations and do not read that configuration. An application that enables sanitizeFilter through mongoose.connect() or createConnection() and passes an attacker-controlled object into a query filter therefore receives a connection that reports the defense as enabled while query selector objects remain unsanitized. A crafted password value using a query operator can match an account record without the expected literal password, while global configuration through mongoose.set('sanitizeFilter') and per-query Model.find().sanitizeFilter() remain unaffected. This issue is fixed in versions 6.13.12, 7.8.13, 8.24.7, and 9.11.4.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Automattic | mongoose | >= 6.0.0, < 6.13.12; >= 7.0.0, < 7.8.13; >= 8.0.0, < 8.24.7; >= 9.0.0, < 9.11.4 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-125119?
How severe is CVE-2026-125119?
How do I fix CVE-2026-125119?
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-125113The XRootD project provides a high-performance, fault-tolera…5.3
- CVE-2026-125114Novu provides an API for sending notifications through multi…8.3
- CVE-2026-125115Novu provides an API for sending notifications through multi…6.8
- CVE-2026-125116Mongoose is a MongoDB object modeling tool designed to work …4.8
- CVE-2026-125117Mongoose is a MongoDB object modeling tool designed to work …8.2
- CVE-2026-125118Mongoose is a MongoDB object modeling tool designed to work …6.5
- CVE-2026-12512The Quotes llama WordPress plugin before 3.1.6 does not prop…8.6
- CVE-2026-125120Mongoose is a MongoDB object modeling tool designed to work …9.8
- CVE-2026-125121compose-lint is a Docker Compose security linter that identi…5.3
- CVE-2026-125122compose-lint is a Docker Compose security linter that identi…2.3
- CVE-2026-125123compose-lint is a Docker Compose security linter that identi…2.3
- CVE-2026-125124compose-lint is a Docker Compose security linter that identi…2.3
Are you affected by CVE-2026-125119?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
