Skip to main content
Mallory
MediumVulnerability

CVE-2026-41612: Relative Path Traversal Information Disclosure in Visual Studio Code

Published May 12, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.5Medium · v3.1
EPSS0.59%42nd percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2026-41612CWE-23 · Relative Path Traversal

CVE-2026-41612 is an information disclosure vulnerability in Visual Studio Code caused by relative path traversal. Microsoft classified the issue as relative path traversal and also mapped it to path traversal. Successful exploitation allows an unauthorized attacker to disclose local file system information, specifically file path information, by triggering a payload within the application. The available information does not identify the exact vulnerable function or code path.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows unauthorized disclosure of local file system information, specifically file path information. Microsoft assessed the confidentiality impact as High, with no impact to integrity or availability. The issue is local in attack vector and does not by itself provide code execution or privilege escalation based on the available information.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by limiting use of untrusted content or workflows that could cause a user to trigger the payload in Visual Studio Code, and restrict local opportunities for attackers to influence file paths or workspace content presented to users. Because exploitation requires user interaction and is local, minimizing user-triggered handling of untrusted project content may reduce risk until the official fix is deployed.

Remediation

Patch, then assume compromise.

Apply the official Microsoft fix for CVE-2026-41612 in the patched version of Visual Studio Code. Microsoft indicated that an official vendor fix was available at publication time.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationLive Previewapplication
Microsoft CorporationVisual Studio Codeapplication
FAQ

Frequently asked questions

Is CVE-2026-41612 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-41612 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-41612?
As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-41612.
Is there a patch for CVE-2026-41612?
Apply the official Microsoft fix for CVE-2026-41612 in the patched version of Visual Studio Code. Microsoft indicated that an official vendor fix was available at publication time.
What products are affected by CVE-2026-41612?
Microsoft Corporation Visual Studio Code and Microsoft Corporation Live Preview.
How severe is CVE-2026-41612?
CVE-2026-41612 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.59% (42nd percentile) as of Sep 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.