patchminder
Proof of concept · GitHub CVE-2026-142596

Information disclosurein WordPress mongoose.

Published 2 Dec 2026 · Updated 3 Dec 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.7% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 8.24.10, 9.12.2
In plain words

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.

What to do now
  • Upgrade mongoose to 8.24.10, 9.12.2 or later, whichever matches your release line.
  • Upgrade mongoose (npm) to 8.24.10, 9.12.2 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
mongoose
8.5.0 to before 8.24.10
8.24.10
CVE record
mongoose
9.0.0 to before 9.12.2
9.12.2
CVE record
mongoose (npm)
8.5.0 to before 8.24.10
8.24.10
GitHub advisory
mongoose (npm)
9.0.0 to before 9.12.2
9.12.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 2 Dec 2026
    CVE ID reserved by GitHub_M.
  2. 2 Dec 2026
    Published in the CVE List.
  3. 3 Dec 2026
    CVE record last updated.
  4. 4 Dec 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-1425960 stars · created 4 Dec 2026Mongoose sanitizeProjection bypass (CVE-2026-142596, HIGH): expression, array, nested and +path projections still include select:false fields despite sanitization. Real-library differential: vuln keep

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other mongoose vulnerabilities

Same weakness: Information exposure

All CWE-200 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-142596: Information disclosure in WordPress mongoose. https://patchminder.com/cve/cve-2026-142596/ (accessed 5 December 2026).