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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-1691— MongoDB Shell may be susceptible to Control Character Injection via autocomplete

Quick assessment

Affected
MongoDB Inc mongosh
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MongoDB Shell(mongosh)是美国MongoDB公司的一款交互式数据库操作工具。用于与 MongoDB 数据库交互、执行命令和操作数据。 MongoDB Shell 2.3.9之前版本存在安全漏洞,该漏洞源于控制字符注入,可能导致恶意代码执行。

CVSS 7.6 · High EPSS 0.36% · P27
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-1691

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
MongoDB Shell may be susceptible to Control Character Injection via autocomplete
Source: CVE Program / CVE List V5
Vulnerability Description
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using ‘tab’ to autocomplete text that is a prefix of the attacker’s prepared autocompletion. This issue affects mongosh versions prior to 2.3.9.  The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5
Vulnerability Title
MongoDB Shell 注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MongoDB Shell(mongosh)是美国MongoDB公司的一款交互式数据库操作工具。用于与 MongoDB 数据库交互、执行命令和操作数据。 MongoDB Shell 2.3.9之前版本存在安全漏洞,该漏洞源于控制字符注入,可能导致恶意代码执行。
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)

Affected Products

Vendor Product Affected Versions CPE Subscribe
MongoDB Inc mongosh 0 ~ 2.3.9 cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*

II. Public POCs for CVE-2025-1691

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-1691

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

Vendor Advisories for CVE-2025-1691 (1)

Same Patch Batch · MongoDB Inc · 2025-02-27 · 5 CVEs total

CVE-2025-1755 7.5 HIGH MongoDB Compass may be susceptible to local privilege escalation in Windows
CVE-2025-1756 7.5 HIGH MongoDB Shell may be susceptible to local privilege escalation in Windows
CVE-2025-1692 6.3 MEDIUM MongoDB Shell may be susceptible to control character injection via pasting
CVE-2025-1693 3.9 LOW MongoDB Shell may be susceptible to control character Injection via shell output

IV. Related Vulnerabilities

V. Comments for CVE-2025-1691

No comments yet


Leave a comment