Skip to main content
CVE-2026-125117VulnerabilityPublished

Mongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in

Affects mongooseSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125117· High 8.2

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

CVSS 3.1 base score
8.2High
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.18.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:H

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

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

Community reviews

Loading reviews…