# CVE-2026-142608: Mongoose: Plain objects with a forged \_bsontype bypass ObjectId and String casting, leaking and replaying data from other command

- Priority: **Routine**
- Reason: Not severe (CVSS 0, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-03
- Aliases: GHSA-rxm2-55pg-68q6
- Record: https://cvemate.com/vulnerability/CVE-2026-142608 · JSON: https://cvemate.com/vulnerability/CVE-2026-142608/json

## Description

```text
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.3.5 until 6.13.13, Mongoose treats a plain object with an own _bsontype property as a BSON value, allowing forged ObjectID values to replay an identifier from a preceding database command when that command has a compatible layout and buffer offset, or to store and disclose other command-buffer fragments, while forged BSONRegExp values bypass String-path filtering. Applications that pass request-derived values into ObjectId or String queries and writes can consequently read, modify, or delete documents accessed by another request under the compatible-layout condition, store and disclose fragments such as reset codes or API keys without that identifier-replay condition, or execute unintended regular-expression matches even when sanitizeFilter or common MongoDB sanitizers are enabled. This issue is fixed in version 6.13.13.
```

## Signals

- CVSS: 0 unknown (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
- EPSS: 0.703%, percentile 54.652%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- automattic mongoose: ≥ 6.3.5, \< 6.13.13
- Npm mongoose (Npm): ≥ 6.3.5, \< 6.13.13

## References

- <https://github.com/Automattic/mongoose/security/advisories/GHSA-rxm2-55pg-68q6>
- <https://github.com/Automattic/mongoose/commit/61d7d7829716d4728d250aa0f0c712f318cf2aad>
- <https://github.com/Automattic/mongoose>

---

Data as of 2026-12-05T10:11:09.616Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
