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
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
| Exploit code maturity | Unproven |
| Remediation level | Official fix |
| Report confidence | Confirmed |
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
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Visual Studio Code | Release Notes | Security Update | 1.119.1 | Maybe |
NIST NVD data
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| visual studio code | before 1.119.1 |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-41613 (Vendor Advisory)
Acknowledgments
- Elad Luz with Oasis Security
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |