RCE in Mongoosejs Mongoose
CVE-2025-23061
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.553 (98.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Mongoosejs Mongoose — versions 6.0.0, 7.0.0, 8.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2025-23061?
- CVE-2025-23061 is a critical-severity vulnerability in Mongoosejs Mongoose, classified under Code Injection. CVSS score: 9.0/10. Published 2025-01-15.
- How severe is CVE-2025-23061?
- Critical severity. CVSS v3 base score is 9.0 out of 10.
- Is CVE-2025-23061 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.