PT-2026-50594 · Anthropic · Claude-Code

·

CVE-2026-54316

·

Published

2026-06-17

·

Updated

2026-07-22

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions Claude Code versions 0.2.54 through 2.1.162
Description The WebFetch tool pre-approved the hostname 'huggingface.co' as a bare hostname, allowing any path on that domain to be auto-approved without a permission prompt or restrictions from --allowedTools. An attacker capable of injecting untrusted content into the context window could direct the tool to make requests to attacker-controlled repository files, such as '/resolve/main/config.json'. Since HuggingFace records these as server-side downloads, this creates a covert out-of-band channel to exfiltrate sensitive data, including files, environment variables, or command output.
Recommendations Update to version 2.1.163.

Exploit

Fix

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54316
GHSA-FG94-H982-F3MM

Affected Products

Claude-Code