BreachSpiderVerified, not vibes

CVE-2026-34451 in Anthropic Claude Sdk For Typescript

Medium 5.4

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.4
CVSS v46.3
EPSS0.5%
EPSS percentile32th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Anthropic Claude Sdk For Typescript ≥ 0.79.0, < 0.81.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-34451
BreachSpider IDBS-2026-GLOBAL-151206-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Published2026-03-31
Last modified2026-07-24
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

CWE-41: CWE-41

Related attack patterns (CAPEC)

CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-41

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

Show all 6

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in the Claude SDK for TypeScript from version 0.79.0 to before version 0.81.0 allows a model steered by prompt injection to supply a crafted path, potentially leading to unauthorized access to the local filesystem.

The vulnerability arises from the local filesystem memory tool in the Anthropic TypeScript SDK not appending a trailing path separator when validating model-supplied paths. This allows an attacker to craft a path that bypasses the intended validation, leading to potential unauthorized access.

Questions

What is CVE-2026-34451?

A vulnerability in the Claude SDK for TypeScript from version 0.79.0 to before version 0.81.0 allows a model steered by prompt injection to supply a crafted path, potentially leading to unauthorized access to the local filesystem.

What is the CVSS score for CVE-2026-34451?

CVE-2026-34451 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N. EPSS: 0.5%.

Is CVE-2026-34451 actively exploited?

No confirmed active exploitation of CVE-2026-34451 as of 2026-07-25.

How do I remediate CVE-2026-34451?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-34451?

CVE-2026-34451 affects Anthropic Claude Sdk For Typescript.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Anthropic","product":"Claude Sdk For Typescript","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.