Skip to main content
VulnerabilityPublished Updated

CVE-2026-47751: anthropics claude-code-action · OS Command Injection

Affects anthropics claude-code-actionSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
anthropicsclaude-code-actionAffected
  • <1.0.74
Fixed in
  • 1.0.74
GitHub Actionsanthropics/claude-code-actionAffected
  • <1.0.74
Fixed in
  • 1.0.74

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

Community reviews

Loading reviews…