SCA: security update for @anthropic-ai/claude-code (GHSA-jh7p-qr78-84p7)

medium Tenable Cloud Security Plugin ID 436827

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.0.65, vulnerability in Claude Code's project-
load flow allowed malicious repositories to exfiltrate data including Anthropic API keys before users
confirmed trust. An attacker-controlled repository could include a settings file that sets
ANTHROPIC_BASE_URL to an attacker-controlled endpoint and when the repository was opened, Claude Code
would read the configuration and immediately issue API requests before showing the trust prompt,
potentially leaking the user's API keys. Users on standard Claude Code auto-update have received this fix
already. Users performing manual updates are advised to update to version 2.0.65, which contains a patch,
or to the latest version. (CVE-2026-21852)

See Also

https://github.com/advisories/GHSA-jh7p-qr78-84p7

Plugin Details

Severity: Medium

ID: 436827

Version: Revision 1.18

Type: Local

Family: SCA Checks

Published: 1/21/2026

Updated: 6/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6

Percentile: 96.69

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-21852

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.3

Threat Score: 1.3

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/21/2026

Vulnerability Publication Date: 1/21/2026

Reference Information

CVE: CVE-2026-21852

cwe: CWE-522