{"id":"CVE-2026-54316","revision":"8d2d9c9e07dc4ab18a0b7d1386463274","records":[{"revision":"8d2d9c9e07dc4ab18a0b7d1386463274","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-54316","aliases":[],"title":"Claude Code: Out-of-Band Data Exfiltration via Pre-Approved HuggingFace Domain in WebFetch","description":"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.","state":0,"publishedAt":"2026-06-23T17:06:16.184+00:00","modifiedAt":"2026-06-23T17:37:38.468+00:00","affected":[{"ecosystem":"Vendor product","name":"claude-code","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"anthropics\",\n                    \"product\": \"claude-code\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 0.2.54, < 2.1.163\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":6,"severity":"MEDIUM"}],"references":["https://github.com/anthropics/claude-code/security/advisories/GHSA-fg94-h982-f3mm"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54316","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-54316","identifiers":["CVE-2026-54316"]},"retained":false,"historicalAffected":[]}],"coverage":[]}