Skip to main content
Mallory
← Back to News
ai-platform-securitybuild-pipeline-compromisewidely-deployed-product-advisoryleaked-secret-api-key

GitHub Issue Injection Flaws Exposed in AI Coding Agents

Emerging Technology Risk · 4 sources · Updated 4mo ago · First seen Aug 6, 2026

GitHub Issue Injection Flaws Exposed in AI Coding Agents

Novee Security disclosed at Black Hat USA 2026 that AI coding agents tied to GitHub workflows can be manipulated through untrusted issue, pull request, and workflow-generated content to execute malicious actions inside repositories they are meant to maintain. Testing of Anthropic Claude Code, Google Gemini CLI, and OpenAI Codex against the vendors’ own public repositories and default setups showed paths to remote code execution, credential theft, repository tampering, and software supply-chain compromise without requiring privileged access.

Researchers said the weakness lies primarily in the surrounding agent harnesses—tool permissions, execution controls, and sandboxing—rather than the underlying models. Reported exploitation paths included command-validation bypasses, unenforced shell restrictions, secret exposure through /proc, and persistent instruction poisoning across multi-pass workflows. Anthropic remediated CVE-2026-54316 in Claude Code versions 0.2.54 through 2.1.162; Google patched Gemini CLI versions before 0.39.1, preview versions before 0.40.0-preview.3, and run-gemini-cli GitHub Action versions before 0.1.22; OpenAI mitigated Codex workflow risk by isolating agent runs and using read-only environments. The researchers said they found similar insecure patterns in more than 100 public repositories and reported no evidence of malicious exploitation in the wild.

Why it matters

Impact assessment

AI coding agents integrated into GitHub workflows are affected when they process untrusted issue, pull request, or workflow-generated content with excessive tool access, writable shared state, or exposed credentials. The primary at-risk population is software organizations using Anthropic Claude Code, Google Gemini CLI, OpenAI Codex, or copied workflow patterns in CI/CD pipelines, especially public repositories that accept low-privilege community input.

Impact severity is high because successful exploitation can lead to remote code execution on CI runners, theft of GitHub and API tokens, repository tampering, malicious package publication, and downstream software supply-chain compromise. The exposure appears broader than the three vendor repositories tested: researchers reported similar insecure patterns in more than 100 public repositories, but the reporting states there is no evidence of exploitation in the wild and neither cited CVE is listed in CISA KEV.

Supporting facts

  • Affected entities: Anthropic Claude Code, Google Gemini CLI, OpenAI Codex, and repositories using similar GitHub workflow patterns.
  • Affected environments: CI/CD pipelines, GitHub Actions runners, headless agent workflows, multi-pass agent jobs, and repositories processing public issues or pull requests.
  • Attack precondition: low-privilege or zero-privilege GitHub interaction was sufficient in reported scenarios.
  • Potential business outcomes:
    • Remote code execution on CI runners
    • Credential theft, including GitHub tokens, Anthropic API keys, Gemini API keys, and other workflow secrets
    • Repository modification and workflow tampering
    • Malicious code insertion into main branches
    • Package publication under trusted namespaces
    • Software supply-chain compromise
  • Scope indicator: similar vulnerable defaults reportedly existed in more than 100 public repositories.
  • Exploitation status: reviewed sources reported controlled proof-of-concept research and no confirmed malicious exploitation in the wild.
  • CISA status: neither CVE-2026-12537 nor CVE-2026-54316 was reported in CISA KEV as of 2026-08-07.
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

8 events · 2026
  1. Reported Aug 7, 20264mo ago

    Gemini CLI issue assigned CVE-2026-12537

    The critical Gemini CLI compromise path was assigned CVE-2026-12537. Novee Security described it as an OS command injection in the container launcher reachable through a crafted .gemini/.env file, enabling host-level code execution on headless CI runners before sandboxing begins.

    Claude Code and Gemini CLI Flaws Let a GitHub Issue Reach CI Workflow Secrets
  2. Reported Aug 6, 20264mo ago

    OpenAI fixes Codex workflow by isolating agent runs

    OpenAI corrected its Codex repository workflow within three days by separating agent runs into isolated jobs and checkouts and moving them into read-only environments. The change mitigated persistence of attacker-written AGENTS.md instructions across multi-pass runs.

    Black Hat USA 2026: One GitHub Issue Could Compromise Major AI Coding Workflows
  3. Reported Aug 6, 20264mo ago

    Google rates Gemini CLI issue critical and patches affected versions

    Google rated the Gemini CLI compromise path as critical with a CVSS score of 10.0 and patched affected versions before 0.39.1, preview versions before 0.40.0-preview.3, and run-gemini-cli GitHub Action versions before 0.1.22. The issue involved unenforced shell restrictions and exposure of secrets from the parent process via /proc.

    Black Hat USA 2026: One GitHub Issue Could Compromise Major AI Coding Workflows
  4. Reported Aug 6, 20264mo ago

    Anthropic fixes Claude Code flaw in version 2.1.163

    Anthropic fixed the Claude Code flaw affecting versions 0.2.54 through 2.1.162 in version 2.1.163. The remediation addressed the final issue tracked as CVE-2026-54316.

    Black Hat USA 2026: One GitHub Issue Could Compromise Major AI Coding Workflows
  5. Reported Aug 6, 20264mo ago

    Claude Code issue assigned CVE-2026-54316

    A later Claude Code exfiltration method abusing pre-approved Hugging Face access was tracked as CVE-2026-54316. The issue enabled stolen information to be encoded into requests to an attacker-controlled Hugging Face repository and reconstructed via download counts.

    Black Hat USA 2026: One GitHub Issue Could Compromise Major AI Coding Workflows
  6. Reported Aug 6, 20264mo ago

    Anthropic patches initial Claude Code exploit path

    After Novee Security demonstrated an initial Claude Code exploit path involving a malicious git push command that bypassed validation and executed code on a GitHub Actions runner, Anthropic blocked that route. Researchers then continued to find additional Claude Code bypass methods.

    Black Hat USA 2026: One GitHub Issue Could Compromise Major AI Coding Workflows
  7. Reported Aug 6, 20264mo ago

    Novee Security finds exploitable AI agent workflow pattern

    Novee Security researcher Elad Meged identified a repeatable vulnerability pattern in AI coding agents from Anthropic, Google, and OpenAI by testing the vendors’ default configurations on their own public repositories. The research showed paths from untrusted GitHub issue or pull request content to remote code execution, credential theft, and supply-chain compromise.

    Black Hat USA 2026: One GitHub Issue Could Compromise Major AI Coding Workflows
  8. 2026

    Novee Security presents findings at Black Hat USA 2026

    At Black Hat USA 2026, Novee Security disclosed its research on AI coding agents integrated with GitHub workflows, covering Anthropic Claude Code, Google Gemini CLI, and OpenAI Codex. The presentation reported controlled proof-of-concept research and said no malicious exploitation in the wild had been identified.

    Black Hat USA 2026: One GitHub Issue Could Compromise Major AI Coding Workflows
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

4 linked
Claude CodeCodexGemini-CliRun-Gemini-Cli

Organizations

3 linked
AnthropicOpenaiGoogle
Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.