Skip to content
Info disclosure Advisory Advanced CVE-2026-81383

Visual Studio Code Information Disclosure Vulnerability (CVE-2026-81383)

Visual Studio Code contains a flaw involving an incorrectly resolved name or reference, which lets an unauthorised attacker disclose information over a network. The information exposed is file content, limited by the privileges of the compromised user.

Marcel L. Karlsson Follow with Povcfe

Originally disclosed on Microsoft

High 7.4 View original

Description

Use of incorrectly-resolved name or reference in Visual Studio Code allows an unauthorized attacker to disclose information over a network.

FAQ

What type of information could be disclosed by this vulnerability? The type of information that could be disclosed if an attacker successfully exploited this vulnerability is file content. The scope of file content which could be accessed is dependent on the privileges of compromised user.

Visual Studio Code

Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Marcel L. Karlsson (whoismarcel). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a name or reference is resolved incorrectly, so the program acts on the wrong target and exposes file content.

Impact

An attacker could disclose file content over a network, with the scope depending on the privileges of the compromised user.

What the attacker needed

Network access to the affected user

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Visual Studio Code is a popular code editor made by Microsoft. This report says a mistake in how the program looks up a name or reference can let someone who should not have access see files over a network. The amount they can see depends on what the affected user was allowed to open.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.