What’s Vulnerable › Vulnerabilities
CVE-2026-40376: Visual Studio Code Elevation of Privilege Vulnerability
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-09 · updated 2026-09-24
- Weakness: CWE-20
Description
Improper input validation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
Affected products
- Microsoft Visual Studio Code: from 1.0.0 before 1.123.2 — fixed in 1.123.2
- Microsoft Visual Studio Code: from 1.0.0 before 1.123.2 — fixed in 1.123.2
How to fix
Upgrade to a fixed version: Microsoft Visual Studio Code 1.123.2; Microsoft Visual Studio Code 1.123.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-40376 or the next vulnerability affects your stack