Command Injection Vulnerability in MongoDB Extension for Visual Studio Code
CVE-2026-84967
Key Information:
- Vendor
Mongodb
- Status
- CVE ID
- CVE ID:
- CVE-2026-84967
- Vendor
- CVE Published:
- 3 September 2026
- Fixed in
- Fixed in:
- 1.17.1
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but a user must act
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach MongoDB for VS Code. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (5.1).
What is CVE-2026-84967?
The MongoDB extension for Visual Studio Code has a vulnerability that stems from improper handling of special characters in user-supplied connection strings. This flaw allows an unauthenticated remote attacker to craft malicious input which, if accepted by a developer, results in unauthorized command execution within the extension’s integrated terminal. The attacker does not need privileges on the developer's machine; however, they must convince the developer to interact with the malicious input. Importantly, the terminal confirmation does not visually disclose the tampered text to the developer, increasing the risk of exploitation.
References
More Mongodb Vulnerabilities
Use-After-Free Vulnerability in MongoDB Server's Replication Component
TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections
Memory Exhaustion Vulnerability in MongoDB
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction