SCA: security update for @anthropic-ai/sdk (GHSA-5474-4w2j-mq4c)

medium Tenable Cloud Security Plugin ID 439667

Description

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

- Claude SDK for TypeScript provides access to the Claude API from server-side TypeScript or JavaScript
applications. From version 0.79.0 to before version 0.81.0, the local filesystem memory tool in the
Anthropic TypeScript SDK validated model-supplied paths using a string prefix check that did not append a
trailing path separator. A model steered by prompt injection could supply a crafted path that resolved to
a sibling directory sharing the memory root's name as a prefix, allowing reads and writes outside the
sandboxed memory directory. This issue has been patched in version 0.81.0. (CVE-2026-34451)

Solution

Update the @anthropic-ai/sdk library and its related packages to version 0.81.0 or later.

See Also

https://github.com/advisories/GHSA-5474-4w2j-mq4c

Plugin Details

Severity: Medium

ID: 439667

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 4/2/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2026-34451

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 1.7

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/1/2026

Vulnerability Publication Date: 3/31/2026

Reference Information

CVE: CVE-2026-34451