PatchaPalooza

CVE-2026-41613: Visual Studio Code Elevation of Privilege Vulnerability

CVE-2026-41613 is an elevation of privilege vulnerability in Visual Studio Code, rated Important by Microsoft, with a CVSS 3.1 base score of 8.8 (High). An attacker can exploit it remotely over the network, without any privileges and only if a user takes an action. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 0.69% probability of exploitation activity in the next 30 days, higher than 54% of all scored vulnerabilities. Microsoft released the fix on 12 May 2026 in the May 2026 Patch Tuesday. It affects 1 product in 1 product family (Developer Tools).

Key facts

CVE ID
CVE-2026-41613
Severity
High CVSS 8.8
Microsoft severity
Important
Impact
Elevation of Privilege
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
Less Likely
Weakness
CWE-78; CWE-384
EPSS
0.69% (percentile 54%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
May 2026 Patch Tuesday
Product families
Developer Tools

CVSS score and vector

Microsoft scores CVE-2026-41613 at 8.8 (temporal 7.7) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

MetricValue
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionRequired
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

Description

Session fixation in Visual Studio Code allows an unauthorized attacker to elevate privileges over a network.

Frequently asked questions (Microsoft)

What privileges could be gained by an attacker who successfully exploited the vulnerability?

A successful attacker could obtain the permissions associated with the MCP Server’s managed identity. This may allow the attacker to access or perform actions on any resources that the managed identity is authorized to reach. The attacker does not gain broader tenant‑level or administrator permissions; only those tied to the compromised managed identity.

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do?

The user would have be enticed to open a malicious file in vscode. Users should never open anything that they do not know or trust to be safe.

Affected products (1)

Developer Tools

ProductSecurity updateTypeFixed buildRestart
Visual Studio CodeRelease NotesSecurity Update1.119.1Maybe

NIST NVD data

NVD status
Analyzed
NVD CVSS
8.8 (HIGH)
NVD weakness
CWE-78; CWE-384
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
visual studio codebefore 1.119.1

References

Acknowledgments

Revision history

VersionDateDescription
1.0Information published.

Sources