SCA: security update for @anthropic-ai/claude-code (GHSA-pq7j-f95f-qfcv)

high Tenable Cloud Security Plugin ID 474675

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 2.1.179, the Claude Code and Claude Desktop plugin
installation flow runs git checkout for a marketplace-pinned commit without verifying that the resulting
HEAD equals the pinned 40-character SHA. An attacker who controls a plugin repository on a Git host that
permits SHA-shaped branch names can create a branch named after the reviewed commit, causing checkout to
select the branch tip and install attacker-controlled plugin code. Exploitation requires a user to install
the malicious plugin and pin it to the ostensibly safe hash. This issue is fixed in version 2.1.179.
(CVE-2026-86063)

Solution

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

See Also

https://github.com/advisories/GHSA-pq7j-f95f-qfcv

Plugin Details

Severity: High

ID: 474675

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/16/2026

Updated: 10/16/2026

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.44

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2026-86063

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/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.5

Threat Score: 4.8

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/15/2026

Vulnerability Publication Date: 10/13/2026

Reference Information

CVE: CVE-2026-86063