Vulnerabilities
Visual Studio Code CVE‑2026‑81357: Security Feature Bypass Vulnerability
Microsoft has disclosed CVE‑2026‑81357, a flaw in Visual Studio Code that allows attackers to bypass a built‑in security feature. The vulnerability could enable malicious code execution or privilege escalation. Defenders should verify their VS Code version and apply the latest update immediately.
What happened
Microsoft identified a flaw in Visual Studio Code that lets an attacker bypass a security mechanism built into the editor. The vulnerability is tracked as CVE‑2026‑81357 and is classified as a security feature bypass.
Impact
Attackers could potentially execute arbitrary code or elevate privileges within the VS Code environment, which may lead to broader system compromise if the editor is run with elevated rights or on a compromised machine.
Mitigation
- Verify your VS Code installation version:
code --versionor check the About dialog. - Update to the latest release (at least 1.90.0 or newer, as noted in the release notes).
- Reboot the system after the update to ensure all components are refreshed.
How to verify
After updating, run code --version again and confirm the version number matches the latest official release. No additional configuration changes are required.