Skip to main content
VulnerabilityPublished

CVE-2026-54316: anthropics claude-code · Permissive List of Allowed Inputs

Affects anthropics claude-codeSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.0 Medium : upgrade to 2.1.163 when convenient.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 4.0 base score
6.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.1.163
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Upgrade claude-code and anthropics/claude-code to 2.1.163.

Affected software

ProductAffectedFixed in
anthropicsclaude-codeAffected
  • >=0.2.54 <2.1.163
Fixed in
  • 2.1.163
GitHubanthropics/claude-codepkg:github/anthropics/claude-codeOther threatsAffected
  • <2.1.163 >=0.2.54
Fixed in
  • 2.1.163

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

This vulnerability is fixed in anthropics claude-code version 2.1.163. Users should upgrade to version 2.1.163 or later to remediate this issue. Patch status is confirmed by the vendor advisory stating the fix is included in 2.1.163. Until upgrading, restrict the ability to inject untrusted content into Claude Code contexts to prevent exploitation.

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.

References

Community reviews

Loading reviews…