{"id":"GHSA-5474-4w2j-mq4c","revision":"2604fe9d6f8647d8b2d98825dbc1b0ae","records":[{"revision":"2604fe9d6f8647d8b2d98825dbc1b0ae","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-5474-4w2j-mq4c","aliases":["CVE-2026-34451"],"title":"Claude SDK for TypeScript: Memory Tool Path Validation Allows Sandbox Escape to Sibling Directories","description":"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.\n\nUsers on the affected versions are advised to update to the latest version.\n\nClaude SDK for TypeScript thanks [hackerone.com/nicksim](https://hackerone.com/nicksim) for reporting this issue!","state":0,"publishedAt":"2026-04-01T21:16:49+00:00","modifiedAt":"2026-05-05T16:01:30.184364+00:00","affected":[{"ecosystem":"npm","name":"@anthropic-ai/sdk","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.79.0"},{"kind":"fixed","version":"0.81.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/anthropics/anthropic-sdk-typescript/security/advisories/GHSA-5474-4w2j-mq4c","https://nvd.nist.gov/vuln/detail/CVE-2026-34451","https://github.com/anthropics/anthropic-sdk-typescript/commit/0ac69b3438ee9c96b21a7d3c39c07b7cdb6995d9","https://github.com/anthropics/anthropic-sdk-typescript","https://github.com/anthropics/anthropic-sdk-typescript/releases/tag/sdk-v0.81.0"],"sourceUrl":"https://github.com/advisories/GHSA-5474-4w2j-mq4c","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5474-4w2j-mq4c","identifiers":["GHSA-5474-4w2j-mq4c","CVE-2026-34451"]},"retained":false,"historicalAffected":[]}],"coverage":[]}