Skip to main content
CVE-2026-142608VulnerabilityPublished

Mongoose: Plain objects with a forged _bsontype bypass ObjectId and String casting, leaking and replaying data from

Affects mongooseSource GCVE Database

0
Compare
Authoritative record:CVE-2026-142608

Not known to be exploited · CVSS 0.0 Low : upgrade to 6.13.13 when convenient.

Data as of 3 Dec 2026, 03:00 UTC

CVSS 3.1 base score
0.0Low
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.10.0
Patch
Available – fixed in 6.13.13
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 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 2 Dec 2026.

What to do

Upgrade mongoose to 6.13.13.

Affected software

ProductAffectedFixed in
npmmongooseAffected
  • >=6.3.5 <6.13.13
Fixed in
  • 6.13.13

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 in Mongoose version 6.13.13. Users should upgrade to this version to fully remediate the vulnerability. As a workaround, applications should validate that request values are primitive strings or use mongoose.isValidObjectId() before passing values to Mongoose queries or writes. This prevents forged objects from bypassing type checks and sanitization.

Description

Mongoose versions 6.3.5 through 6.13.12 have a vulnerability where plain objects with a forged _bsontype property bypass ObjectId and String casting. This allows attackers to replay or leak data from previous database commands, including reading fragments of other requests' data and bypassing sanitization filters. The issue is fixed in version 6.13.13.

References

Community reviews

Loading reviews…