International
The Morning Dev

Only the news worth knowing

‹
 

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 Allowlist Said Hugging Face Was Fine: How CVE-2026-54316 Turned Pre-Approved Downloads Into a Leak Channel

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

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…

Timeline

  1. DEV Community article describing CVE-2026-54316 published

  2. DEV Community: python

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

How do you feel about this?

0 Comments