Vulnerability · medium · CVSS 6
CVE-2026-54316 in Claude Code exposes Hugging Face allowlist as leak channel
Tier C · Keep an eye on it – Check if you’re affected
Who’s exposed: Claude Code users whose WebFetch allowlist includes huggingface.co
Tier C because: Hits tech teams
Reach
Attack
Damage
Fix
Popular tool
The Brief
- CVE-2026-54316 (GHSA-fg94-h982-f3mm) affects Claude Code.
- The bare hostname huggingface.co was pre-approved for the WebFetch tool, so any path on that domain ran with no permission prompt and outside --allowedTools checks.
- Attacker-controlled repositories on Hugging Face could therefore be fetched without user approval, creating a leak channel.
Why it matters
Developers using Claude Code may have had data exfiltration paths open without any prompt, because the allowlist treated all of huggingface.co as trusted, including attacker-controlled repositories.
The checklist behind the tier
Checklist · 2 of 10 yes
| Yes | Hits tech teams | Claude Code is a developer tool used by engineering teams, so it counts as developer software. |
| No | Core infrastructure | The flaw is in one AI coding product, not shared infrastructure like OpenSSH or the Linux kernel. |
| Yes | Popular tool | Claude Code is a mainstream developer tool used by many teams. |
| No | Exploited in the wild | DEV Community describes the flaw and its risk; it does not report observed attacks in the wild. |
| No | Public exploit | DEV Community gives a technical summary but the excerpt does not say exploit code or a PoC is published. |
| No | Remote, no login | CVSSCVSS: CVE-2026-54316 AV:N/PR:N/UI:P |
| No | Full takeover | CVSSCVSS: no CVE has both high confidentiality and integrity impact |
| No | Secrets exposed | DEV Community calls it a leak channel but the excerpt does not report data actually stolen or exposed. |
| No | Supply chain | DEV Community reports a permission-bypass flaw in Claude Code, not malicious code shipped through a trusted channel. |
| No | No fix yet | DEV Community cites advisory GHSA-fg94-h982-f3mm but the excerpt does not say whether a patched version exists. |
The official record
From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.
CVE-2026-54316 ↗CVSS 6 medium AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetch
- Exploited
- Not in CISA’s exploited catalog
- EPSS
- <1% chance of exploitation in the next 30 days · higher than 37% of all CVEs
- Weakness
- CWE-183, CWE-200, CWE-515
Timeline
Source
The Allowlist Said Hugging Face Was Fine: How CVE-2026-54316 Turned Pre-Approved Downloads Into a Leak Channel ↗ DEV Community: python · 3h ago
First seen · 1 source · Full story page · How tiers are decided