Skip to content
Info disclosure Advisory Intermediate CVE-2026-81381

GitHub Copilot and Visual Studio Code Information Disclosure Vulnerability (CVE-2026-81381)

GitHub Copilot and Visual Studio Code did not sufficiently protect stored credentials, so an unauthorised attacker could disclose information over a network. The exposed information could be a sign-in access token for a user's work account, which could then allow access to data and services the user is authorised to use.

Sebastien Morin Follow

Originally disclosed on Microsoft

High 6.5 View original

Description

Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network.

FAQ

What type of information could be disclosed by this vulnerability? This vulnerability could expose a sign-in access token for a user’s work account. If disclosed, that token could allow access to data and services that the user is authorized to use, potentially including sensitive organizational information.

GitHub Copilot and Visual Studio Code

GitHub Copilot and Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Sebastien Morin with smsecurity. 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 the application stored or transmitted a work-account access token without adequate protection, allowing it to be disclosed over the network.

Impact

A disclosed access token could allow an attacker to reach data and services the user is authorised to use, potentially including sensitive organisational information.

What the attacker needed

Attacker has network access

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.

An access token is like a temporary key that proves you already signed in, so apps do not ask for your password again. Here, the software did not guard that key well enough, and someone on the network could potentially get hold of it. With that key, they could act as the user and reach the same work data and services.

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.