Command injection in Visual Studio Code - CVE-2026-81380
Published: September 9, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper neutralization of special elements used in a command in GitHub Copilot agent mode when processing attacker-controlled commands. A remote attacker can cause GitHub Copilot agent mode to send workspace data and environment variables to an attacker-controlled service to disclose sensitive information.
User interaction is required.