Skip to content
AgentProv

2025-08 · 2025-Q3

GitHub Copilot RCE via Prompt Injection

Who actually said "do this"?

The question layer 2 asks, and failed here.
Fixable
Vendor patch
Vendor response
Patched
In the wild
No
Actor
Attacker

Target

GitHub Copilot (VS Code)

Impact

Prompt injection in code comments enables "YOLO mode" - disabling all confirmations and executing privileged shell commands

Root cause

Copilot processes untrusted content from code comments as instructions; no safeguard against config modification

CVE

Sources

Catalog

Cite this: AgentProv incident record: GitHub Copilot RCE via Prompt Injection (2025-08). https://agentprov.com/incidents/2025-08-github-copilot-rce-via-prompt-injection