SCA: security update for @anthropic-ai/claude-code (GHSA-fg94-h982-f3mm)

medium Tenable Self-Hosted Container Security Plugin ID 443352

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-54316)

Solution

Update the @anthropic-ai/claude-code library and its related packages to version 2.1.163 or later.

See Also

https://github.com/advisories/GHSA-fg94-h982-f3mm

Plugin Details

Severity: Medium

ID: 443352

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 6/17/2026

Updated: 7/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.64

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2026-54316

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6

Threat Score: 6

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/17/2026

Vulnerability Publication Date: 6/17/2026

Reference Information

CVE: CVE-2026-54316