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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-03 · Modified: 2026-09-03
- Record: https://cvemate.com/vulnerability/CVE-2026-84967 · JSON: https://cvemate.com/vulnerability/CVE-2026-84967/json

## Description

```text
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.
```

## Signals

- CVSS: 5.1 medium (v4.0, CVE.org) 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
- EPSS: 0.157%, percentile 5.101%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mongodb mongodb: ≥ 1.13.0, \< 1.17.1
- mongodb mongodb for vs code: ≥ 1.13.0, \< 1.17.1

## References

- <https://jira.mongodb.org/browse/VSCODE-798>

---

Data as of 2026-12-05T09:54:59.032Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
