Input validation error in Visual Studio Code - CVE-2022-41034

 

Input validation error in Visual Studio Code - CVE-2022-41034

Published: October 11, 2022 / Updated: April 23, 2026


Vulnerability identifier: #VU68171
CSH Severity: High
CVSS v4: 8.6 [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]
CVE-ID: CVE-2022-41034
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the system.

The vulnerability exists due to insufficient validation of user-supplied input in the Visual Studio Code. A remote attacker can pass specially crafted input to the application and execute arbitrary code on the target system.


Affected software

Visual Studio Code

How to mitigate CVE-2022-41034

Install updates from vendor's website.

Visual Studio Code - update to 1.71.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins