CVE-2026-125117
CVE-2026-125117 — Mongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in functions (denial of service) and shared schema s
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4, Mongoose can descend into inherited properties while loading database documents in init(), setting dotted paths in $__set, and merging update documents in utils.mergeClone. Attacker-controlled keys such as toString or valueOf can therefore cause Mongoose to write into shared built-in functions instead of an own property. A crafted document, Mixed path, non-strict document or subdocument, findOneAndReplace() replacement, chained update, or Query.prototype.merge() source can overwrite Object.prototype.toString.call, causing later queries on unrelated models to fail until the process restarts. Separately, when an attacker controls the dotted path passed to doc.set(path, value) for a subdocument configured with strict: false, descent through $__set can…
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
8.2
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
PoC
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 |
|---|---|---|---|---|---|
| 8.2 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-1321
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1574.010Hijack Execution Flow: ServicesFile Permissions Weakness
References
11 on the record
- github.com/Automattic/mongoose/security/advisories/GHSA-8332-j7wj-wjw4
x_refsource_CONFIRM
- github.com/Automattic/mongoose/commit/18b5513dd463731a2caf0d3395ef1d9eb0735f50
x_refsource_MISC
- github.com/Automattic/mongoose/commit/2a195d19a4dd240f039a0a226614d5804e8187ee
x_refsource_MISC
- github.com/Automattic/mongoose/commit/3cb702b8d079c3e267f0b10f41673a1590f703c8
x_refsource_MISC
- github.com/Automattic/mongoose/commit/85cf897105edfeb5f56be42a18a68704434cac82
x_refsource_MISC
- github.com/Automattic/mongoose/commit/8cee51beead554df1f3d05645edb439c69eb2a9b
x_refsource_MISC
- github.com/Automattic/mongoose/commit/8eb74cb4a550cbe0225963b07aebacbd999d4b74
x_refsource_MISC
- github.com/Automattic/mongoose/releases/tag/6.13.12
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-34621 Acrobat Reader | Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (CWE-1321)CVSS 8.6 · CISA KEV
- CVE-2019-0230 Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code…CVSS 9.8
- CVE-2026-137089 merge-deep-composed through 0.1.4 Prototype Pollution via _mergeDeepOne()CVSS 7.3
- CVE-2026-137088 @oleksii-pavlov/deep-merge before 1.2.4 Prototype Pollution via deepMergeTwoAssignable()CVSS 7.3
- CVE-2026-137087 @irrelon/path 6.2.2 before 7.0.3 Prototype Pollution via merge() and mergeImmutable()CVSS 7.3
- CVE-2026-78654 cleverbrush framework/deep deepExtend.ts deepExtend prototype pollutionCVSS 7.3
Elsewhere on this site
- Automatticevery CVE for this vendor
- CWE-1321other 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.