Claude SDK for TypeScript: Memory Tool Path Validation Allows Sandbox Escape to Sibling Directories
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| anthropics | anthropic-sdk-typescript | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Anthropics | Anthropic-sdk-typescript |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5474-4w2j-mq4c | Claude SDK for TypeScript: Memory Tool Path Validation Allows Sandbox Escape to Sibling Directories |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.362% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anthropic
Anthropic claude Sdk For Typescript |
|
| CPEs | cpe:2.3:a:anthropic:claude_sdk_for_typescript:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Anthropic
Anthropic claude Sdk For Typescript |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anthropics
Anthropics anthropic-sdk-typescript |
|
| Vendors & Products |
Anthropics
Anthropics anthropic-sdk-typescript |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Claude SDK for TypeScript: Memory Tool Path Validation Allows Sandbox Escape to Sibling Directories | |
| Weaknesses | CWE-22 CWE-41 |
|
| References |
| |
| Metrics |
cvssV4_0
|