CVE-2026-125119
CVE-2026-125119 — Mongoose: Connection-level sanitizeFilter not applied
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…
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-943
References
9 on the record
- github.com/Automattic/mongoose/security/advisories/GHSA-gg4r-jv3p-qx3c
x_refsource_CONFIRM
- github.com/Automattic/mongoose/commit/4bb659478be2f30655a7bdd78bc251bdf111cd29
x_refsource_MISC
- github.com/Automattic/mongoose/commit/4f4f9a79f860786a54133bee2c9af967ec691491
x_refsource_MISC
- github.com/Automattic/mongoose/commit/83eda6af1489e9ef60bb8eee8cf9ee005771b9d5
x_refsource_MISC
- github.com/Automattic/mongoose/commit/b8970c25998c23fbccd17f76c0398b902ff4911d
x_refsource_MISC
- github.com/Automattic/mongoose/releases/tag/6.13.12
x_refsource_MISC
- github.com/Automattic/mongoose/releases/tag/7.8.13
x_refsource_MISC
- github.com/Automattic/mongoose/releases/tag/8.24.7
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-42884 JNDI Injection vulnerability in SAP NetWeaver Enterprise PortalCVSS 6.5 · CISA KEV
- CVE-2026-88024 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Rust DriverCVSS 8.3
- CVE-2026-88023 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB PHP LibraryCVSS 8.3
- CVE-2026-96744 Unauthorized cache lock takeover via expression injection in lock owner values in MongoDB integration for LaravelCVSS 7.1
- CVE-2026-76543 SPL Injection through Data Model Regular Expression Field Preview in Splunk EnterpriseCVSS 5.4
Elsewhere on this site
- Automatticevery CVE for this vendor
- CWE-943other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.