CVE-2026-142608
Mongoose: Plain objects with a forged _bsontype bypass ObjectId and String casting, leaking and replaying data from other command
Description
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.
INFO
Published Date :
Dec. 2, 2026, 11:18 p.m.
Last Modified :
Dec. 2, 2026, 11:18 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | NONE | MITRE-CVE | ||||
| CVSS 3.1 | NONE | [email protected] |
Solution
- Update Mongoose to version 6.13.13 or later.
- Avoid passing request-derived values into queries.
- Use MongoDB sanitizers if unable to update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-142608.
| URL | Resource |
|---|---|
| https://github.com/Automattic/mongoose/commit/61d7d7829716d4728d250aa0f0c712f318cf2aad | |
| https://github.com/Automattic/mongoose/security/advisories/GHSA-rxm2-55pg-68q6 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-142608 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-142608
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-142608 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-142608 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Dec. 02, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N Added CWE CWE-843 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/142xxx/CVE-2026-142608.json">CVE-2026-142608</a> Added Reference https://github.com/Automattic/mongoose/commit/61d7d7829716d4728d250aa0f0c712f318cf2aad Added Reference https://github.com/Automattic/mongoose/security/advisories/GHSA-rxm2-55pg-68q6