CVE-2026-47751: anthropics claude-code-action · OS Command Injection
Affects anthropics claude-code-actionSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.0.74 when convenient.
Data as of 29 Nov 2026, 18:37 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.0.74
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Upgrade claude-code-action and anthropics/claude-code-action to 1.0.74.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| anthropicsclaude-code-action | Affected
| Fixed in
|
| GitHub Actionsanthropics/claude-code-action | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to version 1.0.74 or later, which fixes the vulnerability by restoring .claude/ and .mcp.json files from the pull request base branch before running the CLI. No other mitigation or temporary fix is documented. Patch status is not explicitly confirmed as 'official-fix' in the advisory, but the version 1.0.74 update addresses the issue.
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.
References
- github.com/anthropics/claude-code-action/security/advisories/GHSA-8q5r-mmjf-575q (opens in a new tab)
- github.com/anthropics/claude-code-action/pull/1066 (opens in a new tab)
- github.com/anthropics/claude-code-action/commit/9ddce40de8c1ab71fb6303a125fdad0968dc1312 (opens in a new tab)
- github.com/anthropics/claude-code-action/releases/tag/v1.0.74 (opens in a new tab)