Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-23061

Quick assessment

Affected
mongoosejs Mongoose
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mongoose是Automattic开源的一个 MongoDB 对象建模,旨在在异步环境中工作。 Mongoose 8.9.5之前版本存在代码注入漏洞,该漏洞源于错误地使用嵌套的过滤器和populate()匹配,从而导致搜索注入。

CVSS 9.0 · Critical EPSS 7.28% · P94

Public Exploits 1

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-23061

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Mongoose 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mongoose是Automattic开源的一个 MongoDB 对象建模,旨在在异步环境中工作。 Mongoose 8.9.5之前版本存在代码注入漏洞,该漏洞源于错误地使用嵌套的过滤器和populate()匹配,从而导致搜索注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
mongoosejs Mongoose 6.0.0 ~ 6.13.6 -

II. Public POCs for CVE-2025-23061

# POC Description Source Link Shenlong Link
1 NoSQL injection vulnerability in Mongoose < 8.9.5 affecting the populate() function's match option. This vulnerability exists due to an incomplete fix for CVE-2024-53900. While direct $where injection is blocked, attackers can bypass this protection by nesting $where operators within logical operators like $and, allowing execution of arbitrary JavaScript code on MongoDB server, bypassing authentication, and accessing sensitive administrative data. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-23061.yaml POC Details
2 CVE-2025-23061 - Mongoose Command Injection https://github.com/dajneem23/CVE-2025-23061 POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8386 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2025-23061

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-23061 (1)

Vendor Pages for CVE-2025-23061 (2)

Other References for CVE-2025-23061 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-23061

No comments yet


Leave a comment