Mongoose: Plain objects with a forged _bsontype bypass ObjectId and String casting, leaking and replaying data from
Affects mongooseSource GCVE Database
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
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 0.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:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 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 2 Dec 2026.
What to do
Upgrade mongoose to 6.13.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmmongoose | 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 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.