Security · High impactFan score 21 · Tier C
The Allowlist Said Hugging Face Was Fine: How CVE-2026-54316 Turned Pre-Approved Downloads Into a Leak Channel
DEV · By hugginf_expert ·
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.
Who’s affected
- Claude Code users
- CVE-2026-54316
- #claude-code
- #security
- #cve
- #webfetch
- #hugging-face
TL;DR CVE-2026-54316 (GHSA-fg94-h982-f3mm): in Claude Code, the bare hostname huggingface.co was pre-approved for the WebFetch tool. Any path on that domain, including attacker-controlled repositories, ran with no permission prompt and outside --allowedTools checks. Hugging Face…