Claude Code and Gemini CLI Flaws Let a GitHub Issue Reach CI Workflow Secrets
- Published
- Record updated
Summary
Novee Security showed that a GitHub issue opened by an account with no repository privileges could reach CI runners behind the coding-agent repositories of Anthropic and Google, and could hijack the next agent run on OpenAI's. The work, presented at Black Hat USA on August 5, produced two CVEs, both patched: CVE-2026-12537 in Gemini CLI, an OS command injection in the container launcher reached through a crafted .gemini/.env file, and CVE-2026-54316 in Claude Code, which used Hugging Face's public download counter to leak an API key one character at a time.
Mitigation
Update Gemini CLI to 0.39.1, run-gemini-cli to 0.1.22, and Claude Code to 2.1.163, then audit any workflow an outside user can trigger. OpenAI's current workflow separates the two Codex passes into different jobs and runs Codex with drop-sudo and a read-only sandbox, and OpenAI's guidance now lists repository instruction files as part of the untrusted input surface and recommends running Codex as the last step in a job.
Related items
- InfoPrompting AI to be ‘thorough’ can drive sandbox escapes, Anthropic saysSame vendor · CSO Online
- InfoThe Great Escape: Tradecraft insights from an agentic swarmSame vendor · Cisco Talos Blog
- InfoEx-OpenAI Employee Accused of Bugging Company Offices Granted $1 Million BailSame vendor · The Hacker News
- InfoDespite doom and gloom headlines, AI attacks are thin on the groundSame vendor · CSO Online
- InfoDrupal Flaw Found by Anthropic Scanner Exploited in AttacksSame vendor · SecurityWeek