CVE-2026-41612: Relative Path Traversal Information Disclosure in Visual Studio Code
- Vendor
- Microsoft Corporation
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.
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
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.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.