2026-08-06 · 2026-Q3
Black Hat: One Malicious GitHub Issue Yields RCE and Credential Theft in Claude Code, Gemini CLI, and Codex Workflows (CVE-2026-54316)
Who actually said "do this"?
- Fixable
- Vendor patch
- Vendor response
- Patched
- In the wild
- No
- Actor
- Attacker
Target
The default agentic CI/CD workflows shipped by Anthropic (Claude Code), Google (Gemini CLI), and OpenAI (Codex), found in each vendor's own repositories running their own default configurations
Impact
Novee Security presented findings at Black Hat USA 2026 showing that an unauthenticated attacker who can file a GitHub issue or open a pull request can reach remote code execution on vendor-managed runners, steal API keys and GitHub tokens, and stage a software supply chain compromise. Against Claude Code, prompt injection delivered through a GitHub issue produced remote code execution allowing arbitrary file reads and theft of GitHub and Anthropic API credentials; Anthropic shipped multiple patches across the disclosure window and ultimately assigned CVE-2026-54316. Against Gemini CLI, the researchers bypassed the assumed guarantees of restricted shell commands and environment isolation, chaining to credential theft and downstream supply chain compromise; Google rated the issue CVSS 10.0 and introduced a breaking change to its trust model for non-interactive execution. Against Codex, attacker-controlled instructions written into a writable `AGENTS.md` persisted across multiple stages of an automated workflow; OpenAI separated the workflow stages and documented `AGENTS.md` as an untrusted input surface
Root cause
The flaws sit in the harness rather than the model: the surrounding code that manages tool permissions, execution, and sandboxing around each agent. Each vendor's reference workflow granted a publicly triggerable agent the credentials of a trusted maintainer, so anyone able to post text into the repository could steer privileged automation
CVE
Sources
Catalog
Cite this: AgentProv incident record: Black Hat: One Malicious GitHub Issue Yields RCE and Credential Theft in Claude Code, Gemini CLI, and Codex Workflows (CVE-2026-54316) (2026-08-06). https://agentprov.com/incidents/2026-08-06-black-hat-one-malicious-github-issue-yields-rce-and-credential-theft-in-claude
Related
- Also L2 · 2026-10-15Datadog: Counterfeit Policy Text Collapses an Injection Classifier's Recall and Pushes a LangChain Risk Gate Under Its Block ThresholdL2Instruction
- Also L2 · 2026-10-08Cisco Talos: Four Malware Families Carry Instructions Aimed at the LLMs That Triage ThemL2Instruction
- Also L2 · 2026-10-07Barracuda: Phishing Emails Carry Hidden Prompt Injections for the Recipient's AI Inbox AssistantL2Instruction