Skip to main content
VulnerabilityPublished

CVE-2026-125116: Mongoose · Discriminator key values matching inherited properties (e.g

Affects mongooseSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125116· Medium 4.8

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

CVSS 3.1 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.14.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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Bitnamimongoosepkg:bitnami/mongooseOther threatsAffected
  • <6.13.12
  • >=7.0.0 <7.8.13
  • >=8.0.0 <8.24.7
  • >=9.0.0 <9.11.4
Fixed in
  • 6.13.12
  • 7.8.13
  • 8.24.7
  • 9.11.4
npmmongoosepkg:npm/mongooseOther threatsAffected
  • <6.13.12
Fixed in
  • 6.13.12
npmmongoosepkg:npm/mongooseOther threatsAffected
  • >=7.0.0 <7.8.13
Fixed in
  • 7.8.13
npmmongoosepkg:npm/mongooseOther threatsAffected
  • >=8.0.0 <8.24.7
Fixed in
  • 8.24.7
npmmongoosepkg:npm/mongooseOther threatsAffected
  • >=9.0.0 <9.11.4
Fixed in
  • 9.11.4

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

Community reviews

Loading reviews…