# The Allowlist Said Hugging Face Was Fine: How CVE-2026-54316 Turned Pre-Approved Downloads Into a Leak Channel

Source: [DEV Community: python](https://dev.to/ginigenai_hp_0ae441ead91f/the-allowlist-said-hugging-face-was-fine-how-cve-2026-54316-turned-pre-approved-downloads-into-a-2570) · 2026-11-25 · Languages
Page: https://themorning.dev/story/the-allowlist-said-hugging-face-was-fine-how-cve-2026-54316-turned-pre-approved-2b85001a222e0052
Kind: security · Impact: high

## In 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.

## CVEs

- CVE-2026-54316

## Timeline

- 2026-11-25: DEV Community article describing CVE-2026-54316 published

## Coverage

- [The Allowlist Said Hugging Face Was Fine: How CVE-2026-54316 Turned Pre-Approved Downloads Into a Leak Channel](https://dev.to/ginigenai_hp_0ae441ead91f/the-allowlist-said-hugging-face-was-fine-how-cve-2026-54316-turned-pre-approved-downloads-into-a-2570) — DEV Community: python, 2026-11-25

Tags: claude-code, security, cve, webfetch, hugging-face

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
