CVE-2026-84967
5.1medium
Arbitrary command execution via shell-expanded connection string in Launch MongoDB Shell terminal
- Severity
- 5.1medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- BIT-MONGODB-2026-84967
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB MongoDB for VS Code | from 1.13.0 before 1.17.1 | CVE List |
| mongodb mongodb | from 1.13.0 before 1.17.1 | NVD |
| mongodb (Bitnami) | from 1.13.0 before 1.17.1 | Bitnami Vulnerability Database |
All scores
| mongodb | 5.1medium CVSS:4.0 | 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 |
| mongodb | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://jira.mongodb.org/browse/VSCODE-798 | issue-tracking, report | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-84967 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-84967 changed 2026-09-03 | CVE Terms of Use |
| NVD | CVE-2026-84967 changed 2026-09-09 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2026-84967 changed 2026-09-10 | Apache-2.0 |