Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
ai-platform-securitydata-exfiltration-methodwidely-deployed-product-advisoryinternet-facing-service-vulnerability

GitHub Copilot Chat Vulnerability Enabling Data Exfiltration via Image Proxy Abuse

Updated 3mo agoFirst seen Oct 9, 20257 sources

A critical vulnerability was discovered in GitHub Copilot Chat that could have allowed attackers to exfiltrate private source code and sensitive secrets from repositories by exploiting the platform’s AI assistant and image proxying service. The flaw, identified by Legit Security researcher Omer Mayraz, involved a sophisticated attack chain that combined remote prompt injection with a bypass of GitHub’s content security policy. Attackers could embed hidden prompts within pull request comments or other repository content, which Copilot Chat would process without proper isolation or validation. This allowed the attacker to manipulate Copilot’s responses and assemble signed image links that leveraged GitHub’s Camo image proxy service to transmit stolen data outside the platform. The exploit, dubbed "CamoLeak," demonstrated that even advanced AI-powered developer tools can be manipulated to leak confidential information, including passwords and private keys, with minimal user awareness. The proof-of-concept attack showed that the exfiltration channel was subtle enough to evade detection by both users and GitHub’s monitoring systems. GitHub Copilot Chat’s context awareness, which enables it to read repository files, pull requests, and other workspace artifacts, was a key factor in the attack’s success, as it provided the AI assistant with access to sensitive data that could be extracted through manipulated prompts. Upon responsible disclosure via HackerOne, GitHub responded by disabling image rendering in Copilot Chat and patching the vulnerability as of August 14. The incident highlights the growing risks associated with integrating AI agents into software development workflows, especially when such agents have broad access to sensitive project data. Security experts noted that while the attack was limited in the amount of data it could exfiltrate at once, the potential impact was significant due to the nature of the information at risk. The case underscores the importance of rigorous security validation for AI-driven features and the need for continuous monitoring of new attack vectors as AI adoption accelerates in development environments. GitHub’s swift response and remediation efforts were commended, but the event serves as a cautionary tale for organizations relying on AI-powered coding assistants. The vulnerability also illustrates the creative lengths attackers may go to bypass security controls, turning legitimate platform features like image proxies into covert data exfiltration channels. The research community continues to scrutinize AI integrations for similar weaknesses, emphasizing the need for secure-by-design principles in next-generation developer tools. Organizations are advised to review their use of AI assistants, ensure prompt application of security updates, and educate developers about the risks of prompt injection and related attacks. The incident has prompted broader discussions about the balance between AI functionality and security, especially as more platforms embed intelligent agents into core workflows. Ultimately, the GitHub Copilot Chat vulnerability demonstrates both the promise and peril of AI in software development, reinforcing the need for vigilance and proactive defense measures.

Share:
GitHub Copilot Chat Vulnerability Enabling Data Exfiltration via Image Proxy Abuse
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

4 events from the most recent confirmed update back to the earliest known activity.

4 EVENTS
Oct 10, 20259mo ago

Further coverage highlights exposure of private repository information

Additional reporting emphasized that the vulnerability exposed information from private repositories through GitHub Copilot Chat, reinforcing the scope of the data-leak risk. This represented continued public dissemination of the same underlying vulnerability details rather than a separate incident.

Oct 9, 20259mo ago

Media reports detail private code leakage risk in GitHub Copilot Chat

Multiple security news outlets reported that the GitHub Copilot Chat flaw could leak sensitive information and private source code from repositories, including through image-based prompt injection techniques. These reports amplified the disclosure and described the potential impact to users of the tool.

Oct 8, 20259mo ago

Legit Security discloses the 'CamoLeak' GitHub Copilot flaw

Legit Security publicly disclosed a critical prompt-injection vulnerability dubbed 'CamoLeak' affecting GitHub Copilot Chat that could expose sensitive data from private repositories via malicious image-based inputs. The disclosure established the core technical issue later covered by multiple outlets.

Aug 1, 202511mo ago

GitHub patches CamoLeak by disabling image rendering in Copilot Chat

GitHub remediated the CamoLeak vulnerability in August 2025 by disabling image rendering in Copilot Chat. The change blocked the image-based exfiltration path that abused GitHub's Camo proxy to leak sensitive data from private repositories.

Hackers Exploit GitHub Copilot Flaw to Exfiltrate Sensitive Data
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

7 LINKEDOpen in app
Affected products
1 linked
Microsoft 365 Copilot
Organizations
5 linked
GitHubBlackFogMicrosoft CorporationGoogleLegit Security
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.