Vulnerability · Published Jun 9, 2026 · Assigned by microsoft
CVE-2026-40376Visual Studio Code Elevation of Privilege Vulnerability
High 7.5
In plain English
A high-severity improper input validation in Visual Studio Code from Microsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 47.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
Improper input validation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Microsoft | Visual Studio Code | 1.0.0 – before 1.123.2 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
References
- Visual Studio Code Elevation of Privilege Vulnerability vendor-advisory, patch