Skip to content
HighVulnerabilityLLM-specific

CVE-2026-34451: Claude SDK for TypeScript path traversal in local filesystem memory tool

Identifier
CVE-2026-34451
Published
Record updated
View JSON
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.