CVE-2026-40376ImportantRevised 10 Jun
Visual Studio Code Elevation of Privilege Vulnerability
Assessment
Improper input validation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.
- Severity
- Important
- CVSS base score
- 7.5CVSS:3.1/
AV:N/ AC:H/ PR:N/ UI:R/ S:U/ C:H/ I:H/ A:H/ E:U/ RL:O/ RC:C - Impact
- Elevation of Privilege
- EPSS, next 30 days
- 0.7%Higher than 50.5% of scored CVEs · FIRST model run 29 Sep 2026 · about EPSS
- Public exploit code
- No Nuclei template lists it
- Exploitability
- Exploitation Less Likely
- Publicly disclosed
- No
- Customer action
- Required: apply the update
- Component
- Visual Studio Code
- Weakness
- CWE-20: Improper Input Validation
- Issued by
- Microsoft
- Published
- 9 Jun 2026 · June 2026
- Last revised
- 10 Jun 2026Updated the Security Updates build number and title as the Chat extension is now merged into Visual Studio Code. This is an informational change only.
Updates that fix it
0 KBsNo KB listed
MSRC lists no downloadable update, which usually means a service-side fix or a release-notes update. Check the MSRC advisory.