Home / anthropics / claude-code-action / CVE-2026-47751
CVE-2026-47751: is it exploited, and which versions of anthropics claude-code-action are affected and fixed?
CVE-2026-47751 is an OS command injection vulnerability in anthropics claude-code-action. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:08 UTC). Affected: anthropics/claude-code-action before 1.0.74 (GitHub advisory GHSA-8q5r-mmjf-575q). Fixed in 1.0.74 (GitHub advisory GHSA-8q5r-mmjf-575q). Severity: Medium (5.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-47751?
Claude Code Action: Malicious MCP Server Configuration in PRs Enables Remote Code Execution and Secret Exfiltration
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.
From the CVE record by GitHub_M, last updated July 18, 2026, 02:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| anthropics | claude-code-action | < 1.0.74 |
As the CVE record by GitHub_M states it, last updated July 18, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| GitHub Actions | anthropics/claude-code-action | < 1.0.74 | 1.0.74 | GHSA-8q5r-mmjf-575q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 1, 2026. Summary: Claude Code Action: Malicious MCP Server Configuration in PRs Enables Remote Code Execution and Secret Exfiltration.
How severe is CVE-2026-47751?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-47751 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, July 18, 2026)
- EPSS
- 0.57% probability of exploitation activity in the next 30 days, percentile 48.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/anthropics/claude-code-action/security/advisories/GHSA-8q5r-mmjf-575q x_refsource_CONFIRM
- https://github.com/anthropics/claude-code-action/pull/1066 x_refsource_MISC
- https://github.com/anthropics/claude-code-action/commit/9ddce40de8c1ab71fb6303a125fdad0968dc1312 x_refsource_MISC
- https://github.com/anthropics/claude-code-action/releases/tag/v1.0.74 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 19, 2026
- Published
- July 16, 2026, 15:59 UTC
- CVE record updated
- July 18, 2026, 02:55 UTC by GitHub_M
- NVD
- Awaiting Analysis, last modified October 24, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 09:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-47751
Is CVE-2026-47751 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:08 UTC. FIRST's EPSS gives it a 0.57% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of anthropics claude-code-action are affected by CVE-2026-47751?
anthropics/claude-code-action before 1.0.74, per the GitHub advisory GHSA-8q5r-mmjf-575q. The tables above give every range the sources list.
Which version fixes CVE-2026-47751?
1.0.74, per the GitHub advisory GHSA-8q5r-mmjf-575q. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-47751?
Medium (5.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-47751?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.