Covert Storage Channel Affecting @anthropic-ai/claude-code package, versions >=0.2.54 <2.1.163


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (15th 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-JS-ANTHROPICAICLAUDECODE-17391874
  • published21 Jun 2026
  • disclosed17 Jun 2026
  • credithackerone.com/novee

Introduced: 17 Jun 2026

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

How to fix?

Upgrade @anthropic-ai/claude-code to version 2.1.163 or higher.

Overview

@anthropic-ai/claude-code is an Use Claude, Anthropic's AI assistant, right from your terminal. Claude can understand your codebase, edit files, run terminal commands, and handle entire workflows for you.

Affected versions of this package are vulnerable to Covert Storage Channel via the WebFetch tool. An attacker can access sensitive data by injecting untrusted content that triggers requests to attacker-controlled paths on a pre-approved domain, enabling covert exfiltration of files, environment variables, or command output.

Note: This is only exploitable if an attacker can add untrusted content into the context window.

References

CVSS Base Scores

version 4.0
version 3.1