CVE-2026-84967
Awaiting Analysis Awaiting Analysis - Queue

MongoDB VS Code Extension Command Injection

Vulnerability report for CVE-2026-84967, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-03

Last updated on: 2026-09-03

Assigner: MongoDB, Inc.

Description

A component of the MongoDB extension for Visual Studio Code does not neutralize special characters in a connection string before that value is placed into a command line the extension composes for an integrated terminal. An unauthenticated remote unauthorized-user who persuades a developer to accept a user-supplied connection target, and then to open the extension's shell feature, can place characters of the unauthorized-user’s choosing into that command line. No privileges on the developer's machine are required, but several user actions are. The confirmation the developer sees does not display the supplied text.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-03
Last Modified
2026-09-03
Generated
2026-09-03
AI Q&A
2026-09-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
mongodb mongodb_extension_for_visual_studio_code *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves the MongoDB extension for Visual Studio Code failing to neutralize special characters in a connection string. An attacker can trick a developer into accepting a malicious connection target and then exploit the shell feature to inject arbitrary characters into a command line. The developer's confirmation prompt does not display the supplied text, making the attack harder to detect.

Detection Guidance

This vulnerability involves a command injection risk in the MongoDB extension for Visual Studio Code. Detection requires checking if the extension is installed and inspecting its configuration for suspicious connection strings. Review Visual Studio Code logs for shell command executions and monitor network traffic for unexpected outbound connections.

Impact Analysis

If exploited, this vulnerability could allow an attacker to execute unauthorized commands on your system through the integrated terminal of the MongoDB extension. This could lead to data theft, system compromise, or further network infiltration, depending on the attacker's goals and the permissions of the developer's account.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, which may violate compliance requirements under GDPR (data protection) or HIPAA (health information privacy). Organizations using this extension may face legal penalties, reputational damage, or loss of certification if exploited.

Mitigation Strategies

Immediately uninstall the MongoDB extension for Visual Studio Code. Update Visual Studio Code and all extensions to the latest versions. Review and restrict developer permissions to install extensions. Monitor for unauthorized shell command executions or network connections.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-84967. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart