Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
endpoint-software-vulnerabilitywidely-deployed-product-advisoryidentity-authentication-vulnerability

Microsoft Fixes Visual Studio Code Elevation of Privilege Flaws

Updated 29d agoFirst seen May 25, 20264 sources

Microsoft disclosed and patched multiple elevation of privilege vulnerabilities affecting Visual Studio Code and its JS Debug Extension, including CVE-2025-24039, CVE-2025-24042, and CVE-2026-41613. The latest issue, CVE-2026-41613, is rated Important with a CVSS 3.1 score of 8.8 and is described as a session fixation flaw mapped to CWE-384 and CWE-78. Microsoft said the vulnerability affects Visual Studio Code itself, while the earlier 2025 advisories cover separate privilege-escalation bugs in the core product and the JS Debug Extension.

According to Microsoft, exploitation of CVE-2026-41613 requires user interaction, specifically convincing a target to open a malicious file in VS Code, and could allow an attacker to obtain the permissions of the MCP Server’s managed identity. Microsoft said the flaw was not publicly disclosed and not exploited at the time of release, assessed exploitation as less likely, and made a fix available; the issue was credited to Elad Luz of Oasis Security through coordinated disclosure.

Share:
Microsoft Fixes Visual Studio Code Elevation of Privilege Flaws
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
May 12, 20261mo ago

Microsoft discloses and fixes CVE-2026-41613 in Visual Studio Code

Microsoft disclosed CVE-2026-41613, an Important elevation of privilege vulnerability in Visual Studio Code described as a session fixation issue with a CVSS 3.1 score of 8.8. Microsoft said exploitation requires a user to open a malicious file, no public exploitation or prior public disclosure was known, and a fix was available; the flaw was credited to Elad Luz of Oasis Security.

Feb 11, 20251y ago

Microsoft releases fixes for two VS Code elevation of privilege flaws

Microsoft published Security Update Guide entries for CVE-2025-24039 affecting Visual Studio Code and CVE-2025-24042 affecting the Visual Studio Code JS Debug Extension. The advisories indicate the vulnerabilities were disclosed as part of Microsoft's February 2025 security updates.

The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.