A security vulnerability has been discovered in the Claude Code GitHub Action that could allow attackers to hijack entire repositories by submitting a single malicious issue. The flaw, which affects users of Anthropic's AI coding assistant, could enable unauthorized code execution and data exfiltration.
According to researchers, the issue stems from improper input validation, allowing specially crafted issue comments to execute arbitrary commands within the GitHub Actions environment.
This vulnerability is particularly dangerous because it can be triggered without any authentication—an attacker only needs to open an issue on a public repository that has the Claude Code Action enabled. Once exploited, the attacker gains control over the CI/CD pipeline, potentially injecting malicious code or stealing secrets.
Users are urged to review their GitHub Actions configurations and update to the latest patched version of Claude Code Action immediately. This incident highlights the growing security challenges as AI tools become integrated into development workflows.