Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisory

Microsoft Fixes Visual Studio Code Path Traversal Information Disclosure

Vulnerability Disclosure · 1 source · Updated 5mo ago · First seen May 25, 2026

Microsoft Fixes Visual Studio Code Path Traversal Information Disclosure

Microsoft disclosed and patched CVE-2026-41612, an information disclosure flaw in Visual Studio Code caused by relative path traversal and path traversal issues. The vulnerability is mapped to CWE-23 and CWE-22 and could allow an unauthorized local attacker to disclose file system information, potentially exposing sensitive data on affected systems.

Microsoft assigned the bug a CVSS 3.1 score of 5.5 and said exploitation requires user interaction. The company rated the issue as having high confidentiality impact with no integrity or availability impact, assessed exploitation as less likely, and reported that the flaw was not publicly disclosed and not exploited in the wild at the time of publication. An official security fix is available through Microsoft's update guidance.

Why it matters

Impact assessment

CVE-2026-41612 affects Visual Studio Code users and organizations that permit local development workstations, shared endpoints, or developer environments where untrusted content can be opened in the editor. The impact is limited to information disclosure rather than code execution or service disruption, but exposed file path information can reveal sensitive filesystem structure and aid follow-on attacks.

The severity is moderate overall, with Microsoft assigning CVSS 3.1 5.5 and rating confidentiality impact as high while integrity and availability impacts are none. Exposure appears broad to Visual Studio Code deployments but exploitation is constrained because the attack is local, requires user interaction, and Microsoft reported no public disclosure or in-the-wild exploitation at publication.

Supporting facts

  • Affected product: Visual Studio Code
  • Vulnerability type: information disclosure via relative path traversal and path traversal
  • Affected population: developers, engineering workstations, VDI environments, and any enterprise endpoints running Visual Studio Code
  • Business impact: disclosure of filesystem information, including file path information, which may expose sensitive environment details
  • Operational impact: low direct disruption; higher concern as an enabler for reconnaissance or chained attacks
  • Exploitation status: not publicly disclosed and not exploited in the wild at time of publication
  • Vendor assessment: exploitation less likely
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

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

1 event · May 12, 2026
  1. May 12, 20267mo ago

    Microsoft discloses CVE-2026-41612 and makes a fix available

    Microsoft published CVE-2026-41612, an information disclosure vulnerability in Visual Studio Code involving relative path traversal and path traversal that could let a local unauthorized attacker disclose file system information with user interaction. Microsoft said the issue was not publicly disclosed or exploited at the time of publication and indicated that an official fix was available.

    CVE-2026-41612 - Security Update Guide - Microsoft - Visual Studio Code Information Disclosure Vulnerability
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Visual Studio Code
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

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, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.