Hidden pull request comments make Copilot Chat leak private code (CamoLeak)
GitHub's own image proxy, designed as a security control, was used to carry private repository contents out character by character.
GitHub Copilot Chat · GitHub (Microsoft) · Global
- What happened
- Responsibly disclosed vulnerability (CVSS 9.6) demonstrated by a researcher; no reported in-the-wild exploitation. Legit Security placed instructions in hidden comments in a pull request description. When another user asked Copilot Chat about the pull request, Copilot followed the instructions with that user's permissions, searched their private repositories for material such as AWS keys and undisclosed vulnerability descriptions, and rendered it as a sequence of images. Each image used a pre-generated, signed URL for GitHub's Camo image proxy representing one character, so the victim's browser fetched them in order and the attacker could reconstruct the data, bypassing GitHub's content security policy.
- Response
- GitHub fixed the issue on 14 August 2025 by disabling image rendering in Copilot Chat; details were published on 8 October 2025.
- Discovered by
- Omer Mayraz, Legit Security; reported via HackerOne.
- Who was affected
- GitHub users with access to private repositories who used Copilot Chat on attacker-authored pull requests
- Patterns
- Sources
- CamoLeak: Critical GitHub Copilot Vulnerability Leaks Private Source CodeLegit Security, 8 Oct 2025
- GitHub Copilot Chat Flaw Leaked Data From Private RepositoriesSecurityWeek, 9 Oct 2025
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.
Related
Incidents with the same pattern
25 Nov 2025DemonstratedHijacked by contentGoogle Antigravity agent reads and sends credentials after web page injectionRead →11 Aug 2025DemonstratedHijacked by contentClaude Code command allowlist permits DNS exfiltration of secretsRead →6 Aug 2025DemonstratedHijacked by contentShared document makes ChatGPT send Google Drive secrets externally (AgentFlayer)Read →
What does this ask of people?
Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.