Skip to main content
EPSS 0.3%top 82%

CVE-2026-84967: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in MongoDB MongoDB for VS Code

0
Medium
VulnerabilityCVE-2026-84967cvecve-2026-84967cwe-78
Published: 09/03/2026 (09/03/2026, 15:18:02 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: MongoDB for VS Code

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 v4.0

Score 5.1medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

MongoDB

MongoDB for VS Code

Affected versions
>=1.13.0 <1.17.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:05:14 UTC

Technical Analysis

The MongoDB extension for Visual Studio Code version 1.13.0 contains an OS command injection vulnerability (CWE-78) due to improper neutralization of special characters in connection strings. This flaw allows an unauthenticated remote attacker to inject arbitrary command elements into the command line executed by the extension's integrated terminal. Exploitation requires persuading the developer to accept a crafted connection string and to open the shell feature, with no privilege requirements on the developer's machine. The confirmation dialog shown to the developer does not display the injected content, increasing the risk of unnoticed exploitation.

Potential Impact

Successful exploitation could allow an attacker to execute arbitrary commands on the developer's machine within the context of the integrated terminal. This could lead to unauthorized command execution, potentially compromising the developer's environment. However, exploitation requires user interaction and acceptance of a malicious connection string, and no privileges are required on the developer's machine. The CVSS 4.0 base score is 5.1, indicating a medium severity impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, developers should exercise caution when accepting connection strings from untrusted sources and avoid opening the shell feature with unverified connection targets. Monitoring vendor communications for updates or patches is recommended.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-09-02T17:58:52.742Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9990d3acd9273b491c221a

Added to database: 09/03/2026, 15:22:59 UTC

Last enriched: 09/07/2026, 13:05:14 UTC

Last updated: 10/18/2026, 18:48:24 UTC

Views: 72

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses