Critical GitHub Copilot Chat Flaw Exposed Private Code
Cyber Security News by CyberSum.net
A critical vulnerability in GitHub Copilot Chat, rated CVSS 9.6, allowed attackers to exfiltrate private repository data and control Copilot’s responses. The flaw combined a Content Security Policy bypass with remote prompt injection, enabling attackers to embed hidden prompts in pull requests. These prompts, invisible to human readers, influenced Copilot’s context and executed malicious instructions. The attack chain involved injecting prompts that searched for secrets, encoded repository files, and exfiltrated data through image URLs. GitHub’s response included disabling image rendering in Copilot Chat and patching the vulnerability by August 14, 2025. Developers are urged to update their integrations and remain vigilant against emerging attack techniques.