跳到正文
DEV Community · LLM· hugginf_expert·· 7 天前AI 评分65

Claude Code 的 Hugging Face 预授权为何会造成数据泄露风险:CVE-2026-54316 解读

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

AI 导读

Claude Code 的 CVE-2026-54316 源于 WebFetch 对 Hugging Face 整个域名的预授权,使提示词注入可能导致智能体可读取的数据泄露。受影响版本为 0.2.54 至 2.1.162,2.1.163 已修复,CVSS v4.0 评分为 6.0(中危)。作者的示例模型显示,缩小预授权范围后,50 个正常文档请求仍全部获准。

来源:DEV Community · LLM · dev.to