CVE-2026-125118: Mongoose · Prototype pollution via Schema.prototype.virtual()
Affects mongooseSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 9.11.4 : update mongoose when convenient.
Data as of 27 Nov 2026, 08:28 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.5 |
|---|
- 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:LExploitation 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
A fix is available and users should upgrade to Mongoose versions 6.13.12, 7.8.13, 8.24.7, or 9.11.4 or later. Applying these updates will remediate the prototype pollution vulnerability in Schema.prototype.virtual().
Description
Mongoose versions prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4 contain a prototype pollution vulnerability via Schema.prototype.virtual(). This occurs because nested virtual paths are built without proper special-property validation, allowing attackers to inject properties like __proto__, constructor, or prototype. Such pollution can spoof inherited property checks and affect server-side JavaScript code behavior. The issue is fixed in the specified versions.
References
- github.com/Automattic/mongoose/commit/318f7e09dd363a1dfddb8180878488dccd2796d1 (opens in a new tab)
- github.com/Automattic/mongoose/commit/74df7769b5a8d89c4413b764029911ee915ea467 (opens in a new tab)
- github.com/Automattic/mongoose/commit/7a2a6567abbb72c0430c8cc5b7942141844fecff (opens in a new tab)
- github.com/Automattic/mongoose/commit/fb467e6d33174293dc0360649f20ce68d99117a9 (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-6972-9mcm-vhwj (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-125118 (opens in a new tab)