All security reports
NVD security advisoryHigh

CVE-2026-142596 · Automattic / mongoose

CVE-2026-142596 · Reported 2 Dec 2026

Full advisory details, affected packages, severity context, and original source.

Affected technology

Automattic / mongooseAffected product

Affected versions and fixes

Version information comes from OSV, NVD, and the CVE vendor record. Each source may describe a different package, release branch, or platform.

Automattic / mongoose

CVE vendor record
  • affected: >= 8.5.0, < 8.24.10
  • affected: >= 9.0.0, < 9.12.2

Fixed releases / commits: Not explicitly provided by this source. Check the vendor guidance.

Advisory overview

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.

How Cevnitra tracks this

Cevnitra stores this NVD record in the public advisory mirror so scans and watchlists can match CVE-2026-142596 against your inventory.

Related references

Your vulnerabilities. One clear dashboard.

Find and review known vulnerabilities across your applications and infrastructure in one dashboard, so your team can see what needs attention and take action to fix it.

Create your account
CVE-2026-142596 (NVD) — Mongoose is a MongoDB object modeling tool designed to work in an asynch | Cevnitra