CVE-2025-1691
Last modified
CVE-2025-1691 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Mongosh | < 2.3.9 |
References
- https://jira.mongodb.org/browse/MONGOSH-2024Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-1691?
How severe is CVE-2025-1691?
How do I fix CVE-2025-1691?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-1683Improper link resolution before file access in the Nomad mod…7.8
- CVE-2025-1686Versions of the package io.pebbletemplates:pebble from 0 and…4.9
- CVE-2025-1687The Cardealer theme for WordPress is vulnerable to Cross-Sit…8.8
- CVE-2025-1688Milestone Systems has discovered a security vulnerability in…5.5
- CVE-2025-1689The ThemeMakers PayPal Express Checkout plugin for WordPress…5.4
- CVE-2025-1690The ThemeMakers Stripe Checkout plugin for WordPress is vuln…5.4
- CVE-2025-1692The MongoDB Shell may be susceptible to control character in…8.8
- CVE-2025-1693The MongoDB Shell may be susceptible to control character in…6.8
- CVE-2025-1695In NGINX Unit before version 1.34.2 with the Java Language M…5.3
- CVE-2025-1696A vulnerability exists in Docker Desktop prior to version 4.…5.2
- CVE-2025-1697A potential security vulnerability has been identified in th…7.8
- CVE-2025-1698Null pointer exception vulnerabilities were reported in the …2.8
Are you affected by CVE-2025-1691?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
