Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Anthropic | Claude Sdk For Typescript | >= 0.79.0, < 0.81.0 |
Related Weaknesses (CWE)
References
- https://github.com/anthropics/anthropic-sdk-typescript/commit/0ac69b3438ee9c96b2Patch
- https://github.com/anthropics/anthropic-sdk-typescript/releases/tag/sdk-v0.81.0Release Notes
- https://github.com/anthropics/anthropic-sdk-typescript/security/advisories/GHSA-Vendor Advisory
FAQ
What is CVE-2026-34451?
CVE-2026-34451 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 th...
How severe is CVE-2026-34451?
CVE-2026-34451 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-34451?
Check the references section above for vendor advisories and patch information. Affected products include: Anthropic Claude Sdk For Typescript.