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.0: 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/E:U/U:Clear
CVE-ID: CVE-2025-20570
CWE-ID: CWE-284
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Microsoft
Affected software:
Visual Studio Code
Visual Studio Code
Detailed vulnerability description
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.
How to mitigate CVE-2025-20570
Install updates from vendor's website.