CVE-2026-125116: Mongoose · Discriminator key values matching inherited properties (e.g
Affects mongooseSource GCVE Database
Not known to be exploited · CVSS 4.8 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 | 4.8 |
|---|
- Patch
- Available – fixed in 9.11.4, 8.24.7, 7.8.13 +1
CVSS:3.1/AV:N/AC:H/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 official patches will resolve the vulnerability. No additional mitigation steps are indicated by the vendor advisory.
Description
Mongoose versions prior to 6.13.12, 7.8.13, 8.24.7, and 9.11.4 have a vulnerability where discriminator key values matching inherited properties can cause type confusion. This affects model construction, document creation, hydration, query and update casting, embedded discriminators, and populate operations. Specifically, in bulkWrite() insertOne with skipValidation enabled, an attacker can store raw input objects without schema casting or filtering, potentially causing queries that hydrate such documents to fail until removal. The issue does not involve prototype pollution but arises from reading inherited properties incorrectly. Fixed versions are available.
References
- github.com/Automattic/mongoose/commit/0ecd8040d9b446f36535d79938c130c800f91766 (opens in a new tab)
- github.com/Automattic/mongoose/commit/18afab75bea861f625b7c5b54635c84567ec566c (opens in a new tab)
- github.com/Automattic/mongoose/commit/390453c8ce1b36b6cfd1e63432a910da1f3d81d5 (opens in a new tab)
- github.com/Automattic/mongoose/commit/8cee51beead554df1f3d05645edb439c69eb2a9b (opens in a new tab)
- github.com/Automattic/mongoose/commit/b26c43554233134ea978c5852babe13be858b2cf (opens in a new tab)
- github.com/Automattic/mongoose/commit/b68f90734b50cd22c89a669c8ca1469d7234b296 (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-wr5m-5jph-8m96 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-125116 (opens in a new tab)