Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.
CVE-2025-23061
This critical-severity CVE scores 9.0 under NVD CVSS v3. EPSS exploit probability: 7.1%, top 6% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 9.0
- EG Score
- 9.0CRITICALmedium confidence
- EG Risk
- 57EG Risk 57/100
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity90% × 45%Exploitation40% × 40%Automatability0% × 15% - EPSS PROB
- 7.3%
- EPSS %ILE
- 94th
- KEV
- Not listed
Published
January 15, 2025
Last Modified
October 31, 2025
Advisory Details (3)
Auto-updated Jul 26, 20268.9.5
Patch available: Automattic/mongoose 8.9.5
https://github.com/Automattic/mongoose/releases/tag/8.9.5commit 64a9f9706f24 (Automattic/mongoose)
Patch available: Automattic/mongoose 8.22.1 (contains commit 64a9f9706f24)
https://github.com/Automattic/mongoose/commit/64a9f9706f2428c49e0cfb8e223065acc645f7bcmongoose/CHANGELOG.md at master · Automattic/mongoose · GitHub
https://github.com/Automattic/mongoose/blob/master/CHANGELOG.mdAffected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| mongoose | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 159 total refreshes for this CVE.
- 2026-10-10 19:59 UTCEPSS rescore
- 2026-10-09 20:06 UTCEPSS rescore
- 2026-10-08 17:09 UTCEPSS rescore
- 2026-10-07 23:46 UTCEPSS rescore
- 2026-10-06 15:16 UTCEPSS rescore
- 2026-10-05 17:42 UTCEPSS rescore
- 2026-10-04 23:21 UTCEPSS rescore
- 2026-10-03 14:24 UTCEPSS rescore
- 2026-10-03 01:55 UTCOSV refresh
- 2026-10-02 16:26 UTCEPSS rescore
- 2026-10-01 19:48 UTCEPSS rescore
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-28 13:50 UTCEPSS rescore
- 2026-09-26 15:58 UTCEPSS rescore
- 2026-09-26 15:58 UTCEPSS rescore
- 2026-09-26 00:24 UTCEPSS rescore
- 2026-09-24 14:02 UTCEPSS rescore
- 2026-09-23 13:46 UTCEPSS rescore
- 2026-09-22 14:47 UTCEPSS rescore
- 2026-09-18 19:27 UTCEPSS rescore
- 2026-09-16 14:06 UTCEPSS rescore
- 2026-09-16 05:13 UTCEPSS rescore
- 2026-09-15 03:09 UTCEPSS rescore
- 2026-09-13 23:20 UTCOSV refresh
Show 75 moreShow fewer
- 2026-09-13 16:46 UTCEPSS rescore
- 2026-09-12 15:00 UTCEPSS rescore
- 2026-09-11 14:51 UTCEPSS rescore
- 2026-09-11 09:35 UTCEPSS rescore
- 2026-09-10 09:33 UTCEPSS rescore
- 2026-09-08 21:59 UTCEPSS rescore
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-05 15:28 UTCEPSS rescore
- 2026-09-04 05:05 UTCEPSS rescore
- 2026-09-02 14:11 UTCEPSS rescore
- 2026-09-01 13:52 UTCEPSS rescore
- 2026-09-01 04:38 UTCEPSS rescore
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:40 UTCEPSS rescore
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-26 00:40 UTCOSV refresh
- 2026-08-25 13:47 UTCEPSS rescore
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-21 23:48 UTCEPSS rescore
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-19 17:03 UTCEPSS rescore
- 2026-08-18 13:47 UTCEPSS rescore
- 2026-08-17 13:46 UTCEPSS rescore
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-12 13:50 UTCEPSS rescore
- 2026-08-10 23:59 UTCEPSS rescore
- 2026-08-09 17:10 UTCOSV refresh
- 2026-08-09 13:45 UTCEPSS rescore
- 2026-08-07 16:26 UTCEPSS rescore
- 2026-08-06 13:46 UTCEPSS rescore
- 2026-08-05 19:16 UTCEPSS rescore
- 2026-08-04 15:09 UTCEPSS rescore
- 2026-08-04 10:37 UTCEPSS rescore
- 2026-08-03 10:35 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 04:15 UTCEPSS rescore
- 2026-07-30 16:27 UTCEPSS rescore
- 2026-07-30 01:29 UTCEPSS rescore
- 2026-07-28 15:35 UTCEPSS rescore
- 2026-07-26 14:53 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 18:11 UTCOSV refresh
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 02:50 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:21 UTCOSV refresh
Publicly available exploits
(1 reference)Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Nucleihttp/cves/2025/CVE-2025-23061.yamlFirst seen Jan 1, 2025
Mongoose - NoSQL Injection
Open source ↗
Related CVEs(same product + same CWE)
Same product
6 shownnpm:mongoose
Same CWE
10 shownCWE-94
Frequently asked(5)
What is CVE-2025-23061?
When was CVE-2025-23061 disclosed?
Is CVE-2025-23061 actively exploited?
What is the CVSS score of CVE-2025-23061?
How do I remediate CVE-2025-23061?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-23061
Is Your Infrastructure Affected by CVE-2025-23061?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.