Permissive Whitelist Affecting claude-cli package, versions <2.1.206-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.52% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-MINIMOSLATEST-CLAUDECLI-17957069
  • published13 Jul 2026
  • disclosed23 Jun 2026

Introduced: 23 Jun 2026

CVE-2026-54316  (opens in a new tab)
CWE-183  (opens in a new tab)
CWE-200  (opens in a new tab)
CWE-515  (opens in a new tab)

How to fix?

Upgrade Minimos:latest claude-cli to version 2.1.206-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream claude-cli package and not the claude-cli package as distributed by Minimos. See How to fix? for Minimos:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1