Skip to content
DEV Community · LLM· hugginf_expert·· 7d agoAI Score65

How Claude Code’s Hugging Face Allowlist Created a Data Leak Risk (CVE-2026-54316)

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

AI Takeaway

Claude Code’s WebFetch preapproved all of Hugging Face, letting prompt injection put agent-accessible data at risk of leakage. CVE-2026-54316 (CVSS v4.0: 6.0) affects 0.2.54 through 2.1.162 and was fixed in 2.1.163. In the model, scoped preapproval still allowed all 50 legitimate fetches.

Source: DEV Community · LLM · dev.to