What’s Vulnerable › Vulnerabilities
CVE-2025-26631: Visual Studio Code Elevation of Privilege Vulnerability
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-11 · updated 2026-06-17
- Weakness: CWE-427
Description
Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally.
Affected products
- Microsoft Visual Studio Code: before 1.98.0 — fixed in 1.98.0
- Microsoft Visual Studio Code: from 1.0.0 before 1.98.0 — fixed in 1.98.0
How to fix
Upgrade to a fixed version: Microsoft Visual Studio Code 1.98.0; Microsoft Visual Studio Code 1.98.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-26631 or the next vulnerability affects your stack