CVE-2026-84967
JSON

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 packageVersionsReported by
MongoDB MongoDB for VS Codefrom 1.13.0 before 1.17.1CVE List
mongodb mongodbfrom 1.13.0 before 1.17.1NVD
mongodb (Bitnami)from 1.13.0 before 1.17.1Bitnami Vulnerability Database

All scores

mongodb5.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
mongodb4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-84967 changed 2026-09-03CVE Terms of Use
NVDCVE-2026-84967 changed 2026-09-09Public domain
Bitnami Vulnerability DatabaseBIT-MONGODB-2026-84967 changed 2026-09-10Apache-2.0