GitHub Issue Exploited Claude Code, Gemini CLI, Codex CI

The 30-Second Skim
- What happened: Novee Security demonstrated that a GitHub issue from an unprivileged account was enough to execute code on the CI workflows behind Anthropic's Claude Code, Google's Gemini CLI, and OpenAI's Codex — findings presented at Black Hat USA on August 5.
- Key facts & numbers: Novee Security showed that a GitHub issue opened by an account with no repository privileges was enough to execute code on CI runners behind Anthropic's and Google's coding-agent repositories, and hijack the next agent run on OpenAI's — work presented at Black Hat USA on August 5 that produced two CVEs, both now patched. Gemini CLI carried the worst of the two: CVE-2026-12537, an OS command injection in the container launcher with a CVSS 4.0 score of 10.0, reachable through a crafted .gemini/.env file that runs code on the host before the sandbox starts; fixed in Gemini CLI 0.39.1 and run-gemini-cli 0.1.22. Claude Code's CVE-2026-54316 turned Hugging Face's public download counter into an exfiltration channel that leaked an API key one character at a time, affecting every release from 0.2.54 through 2.1.163; patched in 2.1.163, with Anthropic rating the flaw Moderate at CVSS v4 6.0 while NVD gave CVSS v3.1 a 9.1.
- What happens next: OpenAI: 'works as documented.' Gemini CLI: CVSS 10.0. The attack surface isn't the AI — it's the plumbing around it.
- Novee Security showed that a GitHub issue opened by an account with no repository privileges was enough to execute code on CI runners behind Anthropic's and Google's coding-agent repositories, and hijack the next agent run on OpenAI's — work presented at Black Hat USA on August 5 that produced two CVEs, both now patched.
- Gemini CLI carried the worst of the two: CVE-2026-12537, an OS command injection in the container launcher with a CVSS 4.0 score of 10.0, reachable through a crafted .gemini/.env file that runs code on the host before the sandbox starts; fixed in Gemini CLI 0.39.1 and run-gemini-cli 0.1.22.
- Claude Code's CVE-2026-54316 turned Hugging Face's public download counter into an exfiltration channel that leaked an API key one character at a time, affecting every release from 0.2.54 through 2.1.163; patched in 2.1.163, with Anthropic rating the flaw Moderate at CVSS v4 6.0 while NVD gave CVSS v3.1 a 9.1.
- OpenAI's Codex received no CVE and no product fix — Novee reports OpenAI's position is that the sandbox behaved exactly as documented; OpenAI instead separated its two Codex passes into different jobs, added a read-only sandbox, and updated guidance to list repository instruction files among content that "should be considered part of the untrusted input surface."
Why It Matters
All three major AI coding agents — Claude Code, Gemini CLI, and Codex — were reachable via a routine GitHub issue to their own CI workflows, with Gemini CLI scoring a CVSS 4.0 of 10.0 and every Claude Code release from 0.2.54 onward affected. CISA lists no exploitation and a public reproduction lab has been live since June 18, but OpenAI declined to patch or issue a CVE, leaving the fix to workflow changes — a split response that puts the burden on the developer to know which vendor's "agent layer" they can trust.
Background & Timeline
Sources Cited
- The Hacker News — Claude Code and Gemini CLI Flaws Let a GitHub Issue Reach CI Workflow Secrets
- gbhackers.com — Critical Flaws in Claude Code, Gemini CLI, and OpenAI Codex Enable RCE and Supply Chain Attacks
- cyberpress.org — Anthropic, Google, and OpenAI Coding Agents Exposed to Zero-Privilege RCE
- SecurityWeek — Claude Code, Gemini CLI, GitHub Copilot Agents Vulnerable to Prompt Injection via Comments
- CyberSecurityNews — Critical Flaws in Anthropic, Google, and OpenAI's Coding Agents Enable RCE and Supply Chain Attacks