CVE-2026-142595: Automattic mongoose · Improper Neutralization of Special Elements in Data Query Logic
Affects Automattic mongooseSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium · fixed in 9.12.2 : update Automattic mongoose when convenient.
Data as of 2 Dec 2026, 23:06 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.5 |
|---|
- Patch
- Available – fixed in 9.12.2, 8.24.10, 7.8.14 +1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade Automattic mongoose to 9.12.2, 8.24.10, 7.8.14 or 6.13.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Automatticmongoose | Affected
| Fixed in
|
| Automatticmongoose | Affected
| Fixed in
|
| Automatticmongoose | Affected
| Fixed in
|
| Automatticmongoose | Affected
| Fixed in
|
AI-suggested
Upgrade Mongoose to versions 6.13.13, 7.8.14, 8.24.10, or 9.12.2 where the vulnerability is fixed. Applications that construct filters from individual primitive values are not affected by this issue. No other mitigation is indicated by the vendor advisory.
Description
Mongoose versions from 6.0.0 up to but not including 6.13.13, 7.8.14, 8.24.10, and 9.12.2 contain a vulnerability in the sanitizeFilter function. This function fails to recursively inspect certain undocumented nested operators, allowing attackers to bypass authentication, disclose protected data, or cause unintended updates or deletions when attacker-controlled filter keys are used. The issue is fixed in versions 6.13.13, 7.8.14, 8.24.10, and 9.12.2.
References
- github.com/Automattic/mongoose/security/advisories/GHSA-25v4-hrwm-qj9f (opens in a new tab)
- github.com/Automattic/mongoose/commit/34e76947cc8a9ceb916c233aec01aea060bc3dba (opens in a new tab)
- github.com/Automattic/mongoose/commit/3e5f4c8b30ef42db1ab9f2794dc77c95f21d3835 (opens in a new tab)
- github.com/Automattic/mongoose/commit/4627d2fc572a943ee7afe26a1bcebe493dbd2508 (opens in a new tab)
- github.com/Automattic/mongoose/commit/c6a4c95f9b15d81a352f2934c91b64ece583c2db (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/7.8.14 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/8.24.10 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/9.12.2 (opens in a new tab)