CVE-2025-26631

published 11 Mar 2025 · updated 13 Feb 2026

Visual Studio Code Elevation of Privilege Vulnerability

7.3HighCVSS 7.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Visual Studio 1.98.0.

Uncontrolled search path element in Visual Studio Code allows an authorized attacker to elevate privileges locally.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MicrosoftVisual Studio>=1.0.0 <1.98.01.98.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Microsoft, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-26631 severity on Zeptric[![CVE-2025-26631](https://zeptric.io/badge/cve/CVE-2025-26631.svg)](https://zeptric.io/cve/CVE-2025-26631)