All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Critical GitHub Copilot Vulnerability Allowed Source Code and Secret Exfiltration

By

greyadept

7mo ago· 9 min readenNews

Summary

A critical vulnerability (CVSS 9.6) was discovered in GitHub Copilot Chat in June 2025 that allowed attackers to silently exfiltrate secrets and source code from private repositories. The attack combined a novel Content Security Policy (CSP) bypass using GitHub's own infrastructure with remote prompt injection, giving attackers full control over Copilot's responses including the ability to suggest malicious code or links. The vulnerability was reported via HackerOne and GitHub has since addressed the security issue.

Key quotes

· 4 pulled
I found a critical vulnerability in GitHub Copilot Chat (CVSS 9.6) that allowed silent exfiltration of secrets and source code from private repos
The attack combined a novel CSP bypass using GitHub's own infrastructure with remote prompt injection
Gave me full control over Copilot's responses, including suggesting malicious code or links
I reported it via HackerOne, and GitHub has addressed the security issue
Snippet from the RSS feed
Get details on our discovery of a critical vulnerability in GitHub Copilot Chat.

You might also wanna read