SecurityContext

CVE-2026-34451: Anthropic Claude SDK for TypeScript - Path Traversal

  • Cve: CVE-2026-34451
  • Name: Anthropic Claude SDK for TypeScript - Path Traversal
  • 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.
  • Impact: Attackers can read and write files outside the intended sandbox, potentially leading to data tampering and information disclosure.
  • Remediation: Upgrade to version 0.81.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.4
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Epss score: 0.0037
  • Epss percentile: 0.31629
  • Assignee: [email protected]
  • Published at: 2026-03-31T22:16:20Z
  • Age in days: 238
  • Modified at: 2026-07-24T21:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-34451
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Hackerone

  • Reports: 10
  • Rank: 40

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/anthropics/anthropic-sdk-typescript/commit/0ac69b3438ee9c96b21a7d3c39c07b7cdb6995d9Patch
https://github.com/anthropics/anthropic-sdk-typescript/security/advisories/GHSA-5474-4w2j-mq4cVendor Advisory
https://github.com/anthropics/anthropic-sdk-typescript/releases/tag/sdk-v0.81.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
anthropic:claude_sdk_for_typescript>= 0.79.0, < 0.81.0nonvd/v1/products/anthropic/claude_sdk_for_typescript

Projects

RepositoryLink kindsIndexedUrl
anthropics/anthropic-sdk-typescriptcommit, fix, package, releases, security_advisoryyes/v1/repositories/anthropics/anthropic-sdk-typescript

Index

  • Repositories: 4
  • Repositories high signal: 3
  • Packages: 1

Exploitation

  • Remote: yes
  • Hackerone reports: 10
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts