VS Code command injection flaw allows local privilege escalation

high severity · published 2026-08-11

A flaw in how VS Code handles special characters when running commands lets an unauthorized local attacker run commands with higher privileges. The result is privilege elevation on your machine.

Fixed in: 1.132.1

CVE: CVE-2026-70335

Source: NVD

Am I affected?

You are affected if the installed version is older than 1.132.1. Check the version you have and update to 1.132.1 or later. The fixed version is verified against a vendor or advisory source.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 156 and your operating system.