home / blog
2026-12-01 · high
Security Bug in VS Code: CVE-2026-120782
CVE-2026-120782: High severity vulnerability in VS Code allows security bypass locally.

CVE-2026-120782 is a code injection vulnerability in Visual Studio Code that allows an unauthorized actor to execute local commands without approval. By manipulating agent-originated messages prefixed with the '!' (bang) character, an attacker can bypass security controls.
With a CVSS score of 7.8, this vulnerability is classified as high severity. According to verified data, the vulnerability was officially published on NVD on November 10, 2026. There are already signals indicating the presence of public exploits on GitHub.
To protect the development environment, it is crucial to immediately apply the update to Visual Studio Code version 1.145.3 or later. For organizations managing centralized installations, implementing automatic update policies is recommended.
At a glance
- What
- Code injection vulnerability in VS Code that allows an unauthorized actor to bypass a security feature locally
- Severity
- High (CVSS 7.8)
- Affected versions
- Visual Studio Code versions prior to 1.145.3
- Fix
- Update to version 1.145.3 or later
- Status
- Officially published on NVD on 2026-11-10
- Action
- Immediately apply the patched version
Sources: NVD, CVE-2026-120782