Visual Studio Code Information Disclosure Vulnerability (CVE-2026-47284)
Visual Studio Code exposes sensitive information to an unauthorised actor, allowing an attacker to disclose information over a network. The user must be enticed to open a malicious file in VS Code for the attack to succeed.
hamayanhamayan Follow with Codermak and whoismarcel
Originally disclosed on Microsoft
Description
Exposure of sensitive information to an unauthorized actor in Visual Studio Code allows an unauthorized attacker to disclose information over a network.
FAQ
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? The user would have be enticed to open a malicious file in vscode. Users should never open anything that they do not know or trust to be safe.
Visual Studio Code
Visual Studio Code
Microsoft
Microsoft
Customer Action Required
Yes
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 flaw in how Visual Studio Code handles or processes certain files, which lets sensitive data be exposed when a malicious file is opened.
Impact
An attacker could disclose sensitive information over a network, but only if the user is enticed to open a malicious file.
What the attacker needed
Victim opens a malicious file in VS Code
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. This report says that if a user opens a specially crafted file, the editor can leak private information to someone who should not see it. The user has to be tricked into opening that file, so it is not something that happens automatically.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.