Trust Boundary Violation in Visual Studio Code - CVE-2026-121665

 

Trust Boundary Violation in Visual Studio Code - CVE-2026-121665

Published: November 11, 2026


Vulnerability identifier: #VU165437
CSH Severity: High
CVSS v4: 7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-121665
CWE-ID: CWE-501
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass Workspace Trust protections and execute commands in the context of the user without the user granting trust.

The vulnerability exists due to a trust boundary violation in Visual Studio Code's Workspace Trust protections when handling an attacker-controlled workspace and notification. A remote attacker can convince a user to open a specially crafted workspace and click an attacker-controlled notification to apply settings that should be blocked and execute commands in the user's context without trust being granted.


Affected software

Visual Studio Code

How to mitigate CVE-2026-121665

Install security update from vendor's website.

Visual Studio Code - update to 1.145.3

External References

Related Security Bulletins