SCA: security update for @anthropic-ai/claude-code (GHSA-7835-87q9-rgvv)

high Tenable Self-Hosted Container Security Plugin ID 445264

Description

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

- Claude Code is an agentic coding tool. From 2.1.38 until 2.1.163, Claude Code's worktree handling allowed
creation of worktrees named ".git" and navigation to worktrees outside the sandbox context, enabling git
directory confusion attacks. By exploiting symlink manipulation and git fsmonitor execution during
worktree operations, an attacker could overwrite files in the user's home directory (such as .zshenv),
leading to code execution outside of seatbelt sandbox restrictions. Reliably exploiting this required the
user to clone a malicious repository containing prompt injection content and run Claude Code against it.
This vulnerability is fixed in 2.1.163. (CVE-2026-55607)

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-7835-87q9-rgvv

Plugin Details

Severity: High

ID: 445264

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/24/2026

Updated: 7/24/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.03

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-55607

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/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: 7/24/2026

Vulnerability Publication Date: 6/29/2026

Reference Information

CVE: CVE-2026-55607