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

Source: https://junglewise.ai/threats/cve-2026-50519-microsoft-github-copilot-and-vs-code-insecure-default-information  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-19. Updated: 2026-06-21  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/github-copilot-chat), [Microsoft Visual Studio Code](https://junglewise.ai/threats/technologies/visual-studio-code). Vendors: [Microsoft](https://junglewise.ai/threats/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

- [https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50519](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-50519)

## Related threats

- [Microsoft Visual Studio Code untrusted search path remote code execution](https://junglewise.ai/threats/cve-2026-70094-untrusted-search-path-in-visual-studio-code-allows-an)
- [Visual Studio Code trust boundary violation](https://junglewise.ai/threats/cve-2026-121665-trust-boundary-violation-in-visual-studio-code-allows-an)
- [Microsoft Visual Studio Code cross-site scripting](https://junglewise.ai/threats/cve-2026-121664-improper-neutralization-of-input-during-web-page-generation)
- [Microsoft Visual Studio Code incomplete input validation security bypass](https://junglewise.ai/threats/cve-2026-121663-incomplete-list-of-disallowed-inputs-in-visual-studio-code)
- [Visual Studio Code command injection vulnerability](https://junglewise.ai/threats/cve-2026-121662-improper-neutralization-of-special-elements-used-in-a-command)
