Input validation error in Visual Studio Code - CVE-2026-47281
Published: June 10, 2026
Vulnerability identifier: #VU134267
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-47281
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Microsoft
Affected software:
Visual Studio Code
Visual Studio Code
Detailed vulnerability description
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 trick a victim to open a specially crafted code-workspace file and gain elevated privileges on the system.
How to mitigate CVE-2026-47281
Install updates from vendor's website.