CVE-2026-54316: Vulnerability in Anthropic Claude Code
Critical. 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...
npm, CWE-183, CWE-200
- Exploitation
- None confirmed
- Severity
- 9.1 of 10
- Attack likelihood
- 0.5 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-fg94-h982-f3mm
- EU ID
- EUVD-2026-38538
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weakness
- CWE-183, CWE-200, CWE-515
- Published
- 17 Jun 2026
- Last change
- 25 Oct 2026
- Likelihood rank
- Higher than 38 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- npm
Affected products
Affected versions and the first fixed release
- Anthropic Claude Code From 0.2.54 before 2.1.163. Fixed in 2.1.163
Affected packages
Vulnerable version ranges and fixed releases
- @anthropic-ai/claude-code npm, Affected from 0.2.54 before 2.1.163. Fixed in 2.1.163
Advisories
Vendor and security advisories
Related
- Claude Code vulnerabilities Recent advisories, watch this product