Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-34451— Claude SDK for TypeScript: Memory Tool Path Validation Allows Sandbox Escape to Sibling Directories

Quick assessment

Affected
anthropics anthropic-sdk-typescript
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Claude SDK for TypeScript是Anthropic开源的一个用于调用Claude API的TypeScript软件开发工具包。 Claude SDK for TypeScript 0.81.0之前版本存在安全漏洞,该漏洞源于本地文件系统内存工具对模型提供路径的验证不足,可能导致路径遍历攻击。

AI Predicted 8.8 Difficulty: Easy EPSS 0.39% · P31

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-34451

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Claude SDK for TypeScript: Memory Tool Path Validation Allows Sandbox Escape to Sibling Directories
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Claude SDK for TypeScript 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Claude SDK for TypeScript是Anthropic开源的一个用于调用Claude API的TypeScript软件开发工具包。 Claude SDK for TypeScript 0.81.0之前版本存在安全漏洞,该漏洞源于本地文件系统内存工具对模型提供路径的验证不足,可能导致路径遍历攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
anthropics anthropic-sdk-typescript >= 0.79.0, < 0.81.0 -

II. Public POCs for CVE-2026-34451

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34451

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-34451 (1)

Vendor Advisories for CVE-2026-34451 (1)

Same Patch Batch · anthropics · 2026-03-31 · 3 CVEs total

CVE-2026-34452 Claude SDK for Python: Memory Tool Path Validation Race Condition Allows Sandbox Escape
CVE-2026-34450 Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool

IV. Related Vulnerabilities

V. Comments for CVE-2026-34451

No comments yet


Leave a comment