CVE-2026-47751
Description
Claude Code Action is a general-purpose GitHub action that runs Claude Code on GitHub pull requests and issues. Prior to 1.0.74, because the action checked out attacker-controlled pull request head branches, read .mcp.json from the working directory via default setting sources, and unconditionally enabled all project MCP servers via enableAllProjectMcpServers, an attacker who opened a pull request containing a malicious .mcp.json file could achieve arbitrary code execution on the GitHub Actions runner and exfiltrate secrets available to the workflow (such as API keys and tokens) when a privileged user or an automatic trigger invoked the Claude action on the pull request. This issue is fixed in version 1.0.74, which restores .claude/ and .mcp.json from the pull request base branch before the CLI runs.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
anthropics/claude-code-actionGitHub Actions | < 1.0.74 | 1.0.74 |
Affected products
1- Range: <1.0.74
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-8q5r-mmjf-575qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-47751ghsaADVISORY
- github.com/anthropics/claude-code-action/commit/9ddce40de8c1ab71fb6303a125fdad0968dc1312nvdWEB
- github.com/anthropics/claude-code-action/pull/1066nvdWEB
- github.com/anthropics/claude-code-action/releases/tag/v1.0.74nvdWEB
- github.com/anthropics/claude-code-action/security/advisories/GHSA-8q5r-mmjf-575qnvdWEB
News mentions
0No linked articles in our index yet.