# CVE-2026-84967: Arbitrary command execution via shell-expanded connection string in Launch MongoDB Shell terminal

> CVE-2026-84967: Arbitrary command execution via shell-expanded connection string in Launch MongoDB Shell terminal. CVSS 4.3 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-84967
Last updated: 2026-09-09T19:51:55Z

- Published: 2026-09-03 15:18 UTC · Updated: 2026-09-09 19:51 UTC · Assigner: mongodb
- CVSS: 4.3 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- EPSS: 0.27%, 19th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: 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 vendors and products

- MongoDB: MongoDB for VS Code

## Tracked companies

- [MongoDB Atlas](https://rewindex.com/company/mongodb-atlas.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-84967)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-84967)
- [https://jira.mongodb.org/browse/VSCODE-798](https://jira.mongodb.org/browse/VSCODE-798)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-84967 · Markdown: https://rewindex.com/cve/CVE-2026-84967.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-84967 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:15:57.896Z
