Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection.
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.
Proof-of-concept code is published
Public PoC · Nuclei template
- NucleiMongoose - NoSQL Injection
- Public PoCopen-flaw/CVE-2025-23061
- Public PoCamikanev/CVE-2025-23061-LAB
A Nuclei detection template exists for this, which means it is scanned for at internet scale rather than looked for deliberately.
Signals come from Exploit-DB, Metasploit, Nuclei and published proof-of-concept repositories. Their absence means nothing was found, not that nothing exists.
Assessment
- CVSS
- 9.8 (v3.1)
- Severity
- Critical
- EPSS
- 7.24% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Public PoC, Nuclei template
- Published
- 15 January 2025
- Last updated
- 17 June 2026
- Affected
- mongoosejs · Mongoose
- Weakness
- CWE-94
- Assigner
- cve@mitre.org
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
At the source
References
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2025-23061