CVE-2026-54316: Claude Code is an agentic coding tool
CVE-2026-54316 is a critical-severity flaw (CVSS 9.1) affecting claude code. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Claude Code is an agentic coding tool. From 0.2.54 until 2.1.163, because the hostname huggingface.co was pre-approved as a bare hostname for the WebFetch tool, any path on that domain—including attacker-controlled model repositories—was auto-approved without a permission prompt or being subject to --allowedTools restrictions. An attacker able to inject untrusted content into a Claude Code context could direct it to issue WebFetch requests again
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-54316?
claude code: upgrade to 2.1.163. Exact commands for each OS are on this page.
Is CVE-2026-54316 being exploited?
CVE-2026-54316 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-54316 affect?
CVE-2026-54316 affects claude code. Severity is critical (CVSS 9.1). Claude Code is an agentic coding tool. From 0.2.54 until 2.1.163, because the hostname huggingface.co was pre-approved as a bare hostname for the WebFetch tool, any path on that domain—including attacker-controlled model repositories—was a
How urgent is CVE-2026-54316?
Priority 48/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-55607 HIGH 8.8 UPGRADE Claude Code is an agentic coding tool
- CVE-2026-46406 MEDIUM 6.1 UPGRADE Claude Code is an agentic coding tool