Input validation error in Visual Studio Code - CVE-2026-47281

 

Input validation error in Visual Studio Code - CVE-2026-47281

Published: June 10, 2026 / Updated: July 25, 2026


Vulnerability identifier: #VU134267
CSH Severity: High
CVSS v4 BT: 6.1 [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

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 trick a victim to open a specially crafted code-workspace file and gain elevated privileges on the system.


Affected software

Visual Studio Code

How to mitigate CVE-2026-47281

Install updates from vendor's website.

Visual Studio Code - update to 1.123.2

External References

Related Security Bulletins