Command Injection Vulnerability in MongoDB Extension for Visual Studio Code

5.1MEDIUM

CVE-2026-84967

Key Information:

Vendor

Mongodb

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
MongoDB for VS Code 1.13.0 to below 1.17.1 is vulnerable
Install MongoDB for VS Code 1.17.1 or later
Read the vendor advisory ↗
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

Use-After-Free Vulnerability in MongoDB Server's Replication Component

CVE-2026-118383
MongodbMongodb Server😄👾9.5CRITICAL

TLS Implementation Flaw in MongoDB on macOS for IPv6 Connections

CVE-2026-120808
MongodbMongodb Server9.1CRITICAL

Memory Exhaustion Vulnerability in MongoDB

CVE-2026-25611
MongoDBMongodb Server8.7HIGH
View more Mongodb vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
.