PoC Monitor
← All CVEs
CVE-2026-142596published 2 Dec 2026 21:50 UTCData: JSON · API

Automattic Mongoose

Mongoose: sanitizeProjection can be bypassed to include fields deselected with `select: false`

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 8.5.0 until 8.24.10 and 9.12.2, Mongoose's sanitizeProjection can be bypassed by +path selections, object or array aggregation expressions, nested and parent projections, positional projections, $meta, discriminator-specific exclusions, an own __proto__ key, and projection-cast error paths. Applications that pass attacker-controlled data to select(), find(filter, projection), or the projection option while relying on sanitizeProjection can return fields marked select: false, including password hashes, reset tokens, API keys, and nested secrets. Nested exclusion objects, $elemMatch combined with an exclusion or a cast error, and discriminator filters can also cause ordinary queries that do not enable sanitizeProjection to omit the select: false exclusions that Mongoose normally adds. This issue is fixed in versions 8.24.10 and 9.12.2.

First public PoC 1.4 daysafter publication · 4 Dec 2026
Public PoCs11 on GitHub
CVSS7.5high · scored by CNA · CWE-200
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Automattic mongoose
  • >= 8.5.0, < 8.24.10
  • >= 9.0.0, < 9.12.2

Fixed in 8.24.10, 9.12.2

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published2 Dec 2026 · t = 0First public PoC4 Dec 2026 · t+1.4d

First public PoC 1.4 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-142596 (created 4 Dec 2026, found by us: 4 Dec 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
googlesky/CVE-2026-142596 4 Dec 2026 +1.4 d 4 Dec 2026 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.