CVE-2026-50519: Microsoft GitHub Copilot and VS Code insecure default information disclosure

CVE-2026-50519 · Severity: medium · CVSS 6.5 · Published 2026-06-19

A security vulnerability exists in GitHub Copilot Chat and Visual Studio Code due to insecure default settings. This flaw could allow an unauthorized person to access sensitive information over a network if a user interacts with a malicious link or resource. This could lead to the exposure of private development data or internal configuration details.

Technologies: Microsoft GitHub Copilot Chat, Microsoft Visual Studio Code. Vendors: Microsoft.

Quick answers

Is CVE-2026-50519 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-50519 being exploited in the wild.
How severe is CVE-2026-50519?
Medium severity, with a CVSS score of 6.5, published 19 June 2026.
Which products and versions are affected?
Microsoft GitHub Copilot Chat >= 1.0.0, < 1.123.2.
Is there a fix for CVE-2026-50519?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-50519 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-50519?
Check whether you run Microsoft GitHub Copilot Chat or Microsoft Visual Studio Code at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

This vulnerability is classified as CWE-1188 (Insecure Default Initialization of Resource) within GitHub Copilot Chat and Visual Studio Code. An unauthenticated attacker can exploit this over the network, though it requires user interaction (UI:R) to succeed. The root cause is an insecure default configuration that fails to properly restrict resource access, potentially leading to the disclosure of sensitive information (Confidentiality: High). Microsoft has addressed this in GitHub Copilot Chat versions 1.123.2 and later.

Affected products

  • Microsoft GitHub Copilot Chat >= 1.0.0, < 1.123.2
  • Microsoft Visual Studio Code

Timeline

  • 2026-06-19: disclosed
  • 2026-06-19: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.