CVE-2025-26631
published 2025-03-11CVE-2025-26631: Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally.
PriorityP338high7.3CVSS 3.1
AVLACLPRLUIRSUCHIHAH
EPSS
0.53%
40.8th percentile
Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | visual_studio_code | < 1.98.0 | 1.98.0 |
| microsoft | visual_studio_code | >= 1.0.0 < 1.98.0 | 1.98.0 |
| msrc | visual_studio_code | — | — |
CVSS provenance
nvdv3.17.3HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vendor_msrc7.3HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-4426-5gmw-3hrf: Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally
ghsa_unreviewed·2025-03-11
CVE-2025-26631 [HIGH] CWE-427 GHSA-4426-5gmw-3hrf: Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally
Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally.
Microsoft
Visual Studio Code Elevation of Privilege Vulnerability
vendor_msrc·2025-03-11·CVSS 7.3
CVE-2025-26631 [HIGH] CWE-427 Visual Studio Code Elevation of Privilege Vulnerability
Visual Studio Code Elevation of Privilege Vulnerability
Description: Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally.
FAQ: What privileges could be gained by an attacker who successfully exploited this vulnerability?
An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
FAQ: According to the CVSS metric, user interaction is required (UI:R) and privileges required is low (PR:L). What does that mean for this vulnerability?
An authorized attacker must send the user a malicious file and convince the user to open it.
Visual Studio Code: Visual Studio Code
Microsoft: Microsoft
Customer Action Required: Yes
Impact: Elevation of Privilege
Exploit Status: Publicly Disclosed:No;Exploited:No;L
No detection rules found.
No public exploits indexed.
2025-03-11
Published