CVE-2026-70336: Visual Studio Code Remote Code Execution Vulnerability
Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
Other sources
Visual Studio Code Remote Code Execution Vulnerability
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.132.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-70336?
CVE-2026-70336 has a severity score of 8.8, which is classified as high.
What type of vulnerability is CVE-2026-70336?
CVE-2026-70336 is a Remote Code Execution vulnerability caused by improper control of code generation.
What software is affected by CVE-2026-70336?
CVE-2026-70336 affects Microsoft Visual Studio Code.
How do I fix CVE-2026-70336?
To fix CVE-2026-70336, users should update Microsoft Visual Studio Code to the latest version.
What can happen if CVE-2026-70336 is exploited?
Exploitation of CVE-2026-70336 allows an unauthorized attacker to execute arbitrary code over a network.