Improper access control in Visual Studio Code - CVE-2025-20570

 

Improper access control in Visual Studio Code - CVE-2025-20570

Published: April 9, 2025 / Updated: April 23, 2026


Vulnerability identifier: #VU107292
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-20570
CWE-ID: CWE-284
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions in Visual Studio Code. A local user can bypass implemented security restrictions and gain elevated privileges on the system.


Affected software

Visual Studio Code

How to mitigate CVE-2025-20570

Install updates from vendor's website.

Visual Studio Code - update to 1.99.1

External References

Related Security Bulletins