Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Databases

CVE-2026-142596 — Automattic mongoose

High · CVSS 7.5EPSS 0.7% First seen December 02, 2026

One of 3 Automattic mongoose vulnerabilities published together by NVD: our article covers all of them.

DatabasesVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.5 CVSS 3.1 base score from the CNA (github.com)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Login needed
no
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality, none on integrity and availability

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Affected and fixed versions

ProductAffected versionsFixed in
mongoose (npm)≥ 8.5.0, < 8.24.108.24.10
≥ 9.0.0, < 9.12.29.12.2
Automattic mongoose>= 8.5.0, < 8.24.10, >= 9.0.0, < 9.12.2—

From the GitHub Advisory Database and the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain), the GitHub Advisory Database (CC BY 4.0).

Affected

  • Automattic mongoose

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-142596?

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. Weakness type: Exposure of Sensitive Information to an Unauthorized Actor (CWE-200).

How severe is CVE-2026-142596?

CVE-2026-142596 has a CVSS 3.1 base score of 7.5 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-142596 being exploited?

Not as far as is known: CVE-2026-142596 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.7% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-142596?

mongoose (npm) ≥ 8.5.0, < 8.24.10 (fixed in 8.24.10); mongoose (npm) ≥ 9.0.0, < 9.12.2 (fixed in 9.12.2); Automattic mongoose >= 8.5.0, < 8.24.10, >= 9.0.0, < 9.12.2.

How do I fix CVE-2026-142596?

Update to a fixed release: mongoose (npm) 8.24.10; mongoose (npm) 9.12.2.

Timeline & sources

References