CVE-2026-70335
GitHub Copilot and Visual Studio Code Elevation of Privilege Vulnerability
Description
Improper neutralization of special elements used in an os command ('os command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.
In plain language
AI Act nowThis vulnerability can let a local attacker get your Visual Studio Code to run harmful commands and take over the tool, so you should update soon—especially if you use Copilot and are exposed to untrusted files or people.
In Visual Studio Code with GitHub Copilot, a local command-handling flaw (CWE-78) can be abused via user interaction to execute arbitrary operating system commands and gain elevation of privilege within the app’s permissions; patched in Visual Studio Code 1.132.1.
What to do now
- Check your current Visual Studio Code version (Help → About) and confirm whether you’re on a version older than 1.132.1.
- Update Visual Studio Code to 1.132.1 or later as the fix.
- In the meantime, avoid opening untrusted projects/files and be cautious with Copilot suggestions that come from unknown sources.
- After updating, review any recent editor/log activity around unusual command execution behavior and ensure your endpoints have standard malware protections enabled.
CVSS Vector Breakdown
AV:LAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:RUser InteractionS:UScopeC:HConfidentialityI:HIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 techniqueReferences
- Microsoft Patch Tuesday for August 2026 — Snort rules and prominent vulnerabilitiesen·Cisco Talos· Exploited Windows patch-tuesday
- Microsoft August 2026 Patch Tuesday fixes 400 flaws, 3 zero-daysen-us·BleepingComputer· Exploited Windows Lazarus group
- Microsoft Patch Tuesday August 2026 - SANS ISCen·SANS Internet Storm Center· Exploited Windows zero-day
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-70335 and every CVE in our database. Create a free account — no credit card required.
Create Free Account