A vulnerability in the MongoDB extension for Visual Studio Code allows an unauthenticated remote attacker to execute arbitrary commands via a specially crafted connection string. The extension fails to neutralize special characters in the connection string before embedding it into a shell command line for the integrated terminal. Exploitation requires user interaction, including accepting a user-supplied connection target and opening the shell feature. The confirmation prompt does not reveal the malicious input. This issue affects versions from 1.13.0 up to but not including 1.17.1. A patch is available to address this vulnerability.