6.5

CVE-2026-142595: Mongoose: `sanitizeFilter` bypass via MongoDB internal top-level query operators such as `$_internalSchemaXor`

Awaiting analysis
AliasesGHSA-25v4-hrwm-qj9f
Published 02-12-2026Last modified 03-12-2026

Vulnerability summary

CVE-2026-142595 is a medium (CVSS 6.5) vulnerability in automattic mongoose. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 58.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.83%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 02-12-2026
    PublishedVulnerability first disclosed.
  2. 03-12-2026
    Last modifiedVulnerability information updated.

Description

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 6.0.0 until 6.13.13, 7.8.14, 8.24.10, and 9.12.2, Mongoose's sanitizeFilter rejects only a small named set of top-level operators and does not recursively inspect undocumented operators such as $_internalSchemaXor and $_internalSchemaCond. Applications that pass attacker-controlled filter keys to queries while relying on sanitizeFilter can therefore accept nested selectors such as $ne or $regex, allowing authentication bypass, disclosure of protected values through boolean queries, or unintended updates and deletions. Applications that construct filters from individual primitive values are not affected by this bypass. This issue is fixed in versions 6.13.13, 7.8.14, 8.24.10, and 9.12.2.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.83%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

03-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Automattic1 product
  • mongoose≥ 6.0.0, < 6.13.13 | ≥ 7.0.0, < 7.8.14 | ≥ 8.0.0, < 8.24.10 | ≥ 9.0.0, < 9.12.2
Npm1 product
  • mongoose< 6.13.13 | ≥ 7.0.0, < 7.8.14 | ≥ 8.0.0, < 8.24.10 | ≥ 9.0.0, < 9.12.2

2 vendors · 2 products

References

10 links