Input validation error in Visual Studio Code - CVE-2026-40376
Published: June 10, 2026
Vulnerability identifier: #VU134266
CSH Severity: High
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40376
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to escalate privileges on the target system.
The vulnerability exists due to insufficient validation of user-supplied input in Visual Studio Code. A remote attacker can pass specially crafted input to the application and gain elevated privileges on the system.
Affected software
Visual Studio Code
How to mitigate CVE-2026-40376
Install updates from vendor's website.
Visual Studio Code - update to 1.119.1