Mongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in
Affects mongooseSource GCVE Database
Not known to be exploited · CVSS 8.2 High · fixed in 9.11.4 : patch mongoose soon.
Data as of 27 Nov 2026, 08:27 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.2 |
|---|
- Patch
- Available – fixed in 9.11.4, 8.24.7, 7.8.13 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Bitnamimongoosepkg:bitnami/mongooseOther threats | Affected
| Fixed in
|
npmmongoosepkg:npm/mongooseOther threats | Affected
| Fixed in
|
npmmongoosepkg:npm/mongooseOther threats | Affected
| Fixed in
|
npmmongoosepkg:npm/mongooseOther threats | Affected
| Fixed in
|
npmmongoosepkg:npm/mongooseOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Mongoose to version 6.13.12, 7.8.13, 8.24.7, or 9.11.4 or later, where this issue is fixed. No other mitigation is required as the vulnerability is addressed by these official patches.
Description
Mongoose versions prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4 have a vulnerability where inherited properties can be traversed during document hydration, setting, and merging. This allows attacker-controlled keys like toString or valueOf to overwrite shared built-in functions, causing failures in unrelated queries until the process restarts. Additionally, when using subdocuments with strict: false, attackers can alter shared validators or schema options by controlling dotted paths passed to doc.set(). The issue is fixed in the specified versions.
References
- github.com/Automattic/mongoose/commit/18b5513dd463731a2caf0d3395ef1d9eb0735f50 (opens in a new tab)
- github.com/Automattic/mongoose/commit/2a195d19a4dd240f039a0a226614d5804e8187ee (opens in a new tab)
- github.com/Automattic/mongoose/commit/3cb702b8d079c3e267f0b10f41673a1590f703c8 (opens in a new tab)
- github.com/Automattic/mongoose/commit/85cf897105edfeb5f56be42a18a68704434cac82 (opens in a new tab)
- github.com/Automattic/mongoose/commit/8cee51beead554df1f3d05645edb439c69eb2a9b (opens in a new tab)
- github.com/Automattic/mongoose/commit/8eb74cb4a550cbe0225963b07aebacbd999d4b74 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/6.13.12 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/7.8.13 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/8.24.7 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/9.11.4 (opens in a new tab)
- github.com/Automattic/mongoose/security/advisories/GHSA-8332-j7wj-wjw4 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-125117 (opens in a new tab)