What’s Vulnerable › Vulnerabilities
CVE-2026-84967: Arbitrary command execution via shell-expanded connection string in Launch MongoDB Shell terminal
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-03 · updated 2026-09-09
- Weakness: CWE-78
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.
Affected products
- MongoDB: from 1.13.0 before 1.17.1 — fixed in 1.17.1
How to fix
Upgrade to a fixed version: MongoDB 1.17.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-84967 or the next vulnerability affects your stack