SCA: security update for @anthropic-ai/claude-code (GHSA-vp62-r36r-9xqp)

high Tenable Self-Hosted Container Security Plugin ID 440685

Description

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

- Claude Code is an agentic coding tool. Prior to version 2.1.64, Claude Code's sandbox did not prevent
sandboxed processes from creating symlinks pointing to locations outside the workspace. When Claude Code
subsequently wrote to a path within such a symlink, its unsandboxed process followed the symlink and wrote
to the target location outside the workspace without prompting the user for confirmation. This allowed a
sandbox escape where neither the sandboxed command nor the unsandboxed app could independently write
outside the workspace, but their combination could write to arbitrary locations, potentially leading to
code execution outside the sandbox. Reliably exploiting this required the ability to add untrusted content
into a Claude Code context window to trigger sandboxed code execution via prompt injection. Users on
standard Claude Code auto-update have received this fix automatically. Users performing manual updates are
advised to update to version 2.1.64 or later. (CVE-2026-39861)

Solution

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

See Also

https://github.com/advisories/GHSA-vp62-r36r-9xqp

Plugin Details

Severity: High

ID: 440685

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 4/21/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-39861

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

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

CVSS v4

Risk Factor: High

Base Score: 7.7

Threat Score: 5.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/21/2026

Vulnerability Publication Date: 4/21/2026

Reference Information

CVE: CVE-2026-39861