CVE-2026-54316
Last modified
CVE-2026-54316 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
Description
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 against attacker-controlled repository files (e.g. /resolve/main/config.json), which HuggingFace counts as downloads server-side, creating a covert out-of-band channel for encoding and exfiltrating data Claude can access such as files, environment variables, or command output. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This vulnerability is fixed in 2.1.163.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Anthropic | Claude Code | >= 0.2.54, < 2.1.163 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-54316?
How severe is CVE-2026-54316?
How do I fix CVE-2026-54316?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54309n8n is an open source workflow automation platform. Prior to…10
- CVE-2026-54310n8n is an open source workflow automation platform. Prior to…9.9
- CVE-2026-54311n8n is an open source workflow automation platform. Prior to…7.7
- CVE-2026-54312n8n is an open source workflow automation platform. Prior to…8.5
- CVE-2026-54313n8n is an open source workflow automation platform. Prior to…7.7
- CVE-2026-54314n8n is an open source workflow automation platform. Prior to…7.5
- CVE-2026-54317Home Assistant is open source home automation software that …7.6
- CVE-2026-54318Home Assistant is open source home automation software that …7.1
- CVE-2026-54319Daytona is a secure and elastic infrastructure runtime for A…4.2
- CVE-2026-54320Daytona is a secure and elastic infrastructure runtime for A…8.4
- CVE-2026-54321Daytona is a secure and elastic infrastructure runtime for A…7
- CVE-2026-54322Daytona is a secure and elastic infrastructure runtime for A…7.7
Are you affected by CVE-2026-54316?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
