CVE-2026-50519 Microsoft Visual Studio Code CoPilot Chat Security Feature Bypass Vulnerability

Medium 6.5 Published Updated

An insecure default in GitHub Copilot Chat allows attackers to bypass security features and disclose information over the network.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-50519?

CVE-2026-50519 is a medium-severity vulnerability in Microsoft GitHub Copilot Chat, published on 19 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Initialization of a resource with an insecure default in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network.

Weakness: CWE-1188

Which versions are affected by CVE-2026-50519?

It affects 1 product.

Products include Microsoft Github Copilot Chat.

How do I fix CVE-2026-50519?

No fix has been published for CVE-2026-50519 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-50519 being exploited?

There is no known exploitation of CVE-2026-50519 in the wild and no public exploit code.

Sources

Also known as GHSA-2gq4-362c-56w9.

Is CVE-2026-50519 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free