Live threats

All CVEs / Anthropic

CVE-2026-54316Anthropic Claude Code

Medium 6.0 No auth needed

Priority
51
CVSS 4.0
6.0
EPSS
—
Auth required
No
Published
Jun 23, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-183, CWE-200, CWE-515
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Claude Code.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @anthropic-ai/claude-code ≥ 0.2.54 < 2.1.163 2.1.163 npm install @anthropic-ai/claude-code@2.1.163

Per OSV / GitHub Advisories (GHSA-fg94-h982-f3mm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
anthropicclaude_code≥ 0.2.54 < 2.1.163

Official sources

References

Links published by the sources. Open them with care.