Improper Neutralization of Special Elements in Output Used by a Downstream Component in Visual Studio Code - CVE-2026-41109

 

Improper Neutralization of Special Elements in Output Used by a Downstream Component in Visual Studio Code - CVE-2026-41109

Published: May 13, 2026


Vulnerability identifier: #VU131371
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-41109
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Microsoft
Affected software:
Visual Studio Code

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to improper neutralization of special elements in output used by a downstream component in GitHub Copilot and Visual Studio Code. A remote attacker can trick a victim to open a specially crafted package file and bypass the path validation safeguards, allowing changes to protected files without the user’s knowledge or consent.


How to mitigate CVE-2026-41109

Install updates from vendor's website.

Sources