Live threats

All CVEs / Anthropic

CVE-2026-34451Anthropic Claude Sdk For Typescript

Medium 6.3 No auth needed

Priority
53
CVSS 4.0
6.3
EPSS
—
Auth required
No
Published
Mar 31, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-41
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Claude Sdk For Typescript.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @anthropic-ai/sdk ≥ 0.79.0 < 0.81.0 0.81.0 npm install @anthropic-ai/sdk@0.81.0

Per OSV / GitHub Advisories (GHSA-5474-4w2j-mq4c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
anthropicclaude_sdk_for_typescript≥ 0.79.0 < 0.81.0

Official sources

References

Links published by the sources. Open them with care.