CVE-2026-70336: Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacke
CVE-2026-70336 is a high-severity flaw (CVSS 8.8) affecting visual studio code. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
Why this priority
- High severity
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.8% (top 43%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-08-11 |
| Last modified | 2026-10-23 |
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-70336?
visual studio code: upgrade to 1.132.1. Exact commands for each OS are on this page.
Is CVE-2026-70336 being exploited?
CVE-2026-70336 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-70336 affect?
CVE-2026-70336 affects visual studio code. Severity is high (CVSS 8.8). Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
How urgent is CVE-2026-70336?
Priority 50/100. High severity; On your watchlist
Related CVEs
- CVE-2026-69320 HIGH 8.8 UPGRADE Improper neutralization of special elements used in an os command ('os command injection') in Visual Studio Co
- CVE-2026-59113 HIGH 8.8 UPGRADE Missing authorization in Visual Studio Code allows an unauthorized attacker to execute code over a network.
- CVE-2026-69306 HIGH 8.2 UPGRADE Not failing securely ('failing open') in Visual Studio Code allows an unauthorized attacker to bypass a securi
- CVE-2026-47285 MEDIUM 6.5 UPGRADE Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allo
- CVE-2026-70335 HIGH 7.8 UPGRADE Improper neutralization of special elements used in an os command ('os command injection') in GitHub Copilot a