Skip to main content
VulnerabilityPublished

CVE-2026-125118: Mongoose · Prototype pollution via Schema.prototype.virtual()

Affects mongooseSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125118· Medium 6.5

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

CVSS 3.1 base score
6.5Medium
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.16.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: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 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

Community reviews

Loading reviews…