HighVulnerabilityLLM-specific
CVE-2026-34451: Claude SDK for TypeScript path traversal in local filesystem memory tool
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-34451
- Published
- Record updated
- Affected
- @anthropic-ai/sdk >= 0.79.0, < 0.81.0
- Fixed in
- 0.81.0
- released March 31, 2026, on the day of disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
The Anthropic TypeScript SDK's local filesystem memory tool, from version 0.79.0 before 0.81.0, validated model-supplied paths with a string prefix check that did not append a trailing path separator. A model steered by prompt injection could supply a crafted path resolving to a sibling directory whose name shares the memory root as a prefix, enabling reads and writes outside the sandboxed memory directory.
Mitigation
This issue has been patched in version 0.81.0.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- @anthropic-ai/sdknpmLLM dependency since 2023-01-31 · 3 tracked dependents
Related items
- HighGHSA-qx49-fqc8-xw99: Model Context Protocol Python SDK: OAuth client could send credentials to an authorization server chosen by the MCP serverSame vendor · GitHub Advisory Database
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSame vendor · NVD/CVE Database
- HighCVE-2026-88066: Claude Desktop on Windows git.exe execution via search pathSame vendor · NVD/CVE Database
- HighCVE-2026-62331: praktor path traversal via Telegram document upload filenamesSame vendor · NVD/CVE Database
- MediumGHSA-w4fh-qvv9-3v23: Model Context Protocol Python SDK: Server bearer-token authentication accepts tokens issued for a different resource serverSame vendor · GitHub Advisory Database