{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54316","published":"2026-06-23T18:18:08.623000Z","last_modified":"2026-10-25T23:10:00.167000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.0,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-183","CWE-200","CWE-515"],"cpes":[{"criteria":"cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*","part":"a","vendor":"anthropic","product":"claude_code","version_start_including":"0.2.54","version_end_excluding":"2.1.163"}],"cpes_truncated":false,"vendors":["anthropic"],"products":["anthropic/claude_code"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-fg94-h982-f3mm","ecosystem":"npm","name":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","ranges":[{"introduced":"0.2.54","fixed":"2.1.163"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":51,"links":{"html_es":"/es/cve/CVE-2026-54316/","html_en":"/en/cve/CVE-2026-54316/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54316","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54316"},"untrusted":{"vendor_name":"Anthropic","product_name":"Claude Code","desc_en":"Claude Code is an agentic coding tool.  From 0.2.54 until 2.1.163, because the hostname huggingface.co was pre-approved as a bare hostname for the WebFetch tool, any path on that domain—including attacker-controlled model repositories—was auto-approved without a permission prompt or being subject to --allowedTools restrictions. An attacker able to inject untrusted content into a Claude Code context could direct it to issue WebFetch requests against attacker-controlled repository files (e.g. /resolve/main/config.json), which HuggingFace counts as downloads server-side, creating a covert out-of-band channel for encoding and exfiltrating data Claude can access such as files, environment variables, or command output. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This vulnerability is fixed in 2.1.163.","affected":[{"untrusted_vendor":"anthropics","untrusted_product":"claude-code","versions":[]}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-fg94-h982-f3mm","tags":["Third Party Advisory"]}]}}