BreachSpiderVerified, not vibes

CVE-2026-34452 in Anthropic Claude Sdk For Python

Medium 5.3

The Claude SDK for Python provides access to the Claude API from Python applications. From version 0.86.0 to before version 0.87.0, the async local filesystem memory tool in the Anthropic Python SDK validated that model-supplied paths resolved inside the sandboxed memory directory, but then returned the unresolved p...

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

CVSS 3.15.3
CVSS v45.8
EPSS0.2%
EPSS percentile2th
FixUnknown

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Anthropic Claude Sdk For Python ≥ 0.86.0, < 0.87.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

The Claude SDK for Python provides access to the Claude API from Python applications. From version 0.86.0 to before version 0.87.0, the async local filesystem memory tool in the Anthropic Python SDK validated that model-supplied paths resolved inside the sandboxed memory directory, but then returned the unresolved path for subsequent file operations. A local attacker able to write to the memory directory could retarget a symlink between validation and use, causing reads or writes to escape the sandbox. The synchronous memory tool implementation was not affected. This issue has been patched in version 0.87.0.

Source: NIST NVD / MITRE CVE.

Record details

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

Weakness definitions

CWE-59: Improper Link Resolution Before File Access

Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.

CWE-367: CWE-367

Related attack patterns (CAPEC)

CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-367

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59

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

CAPEC-132 Symlink Attack via CWE-59

CAPEC-17 Using Malicious Files via CWE-59

Show all 6

CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions via CWE-367

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A vulnerability in the Claude SDK for Python versions 0.86.0 to 0.86.9 allows a local attacker to perform path traversal attacks by exploiting the async local filesystem memory tool, which does not properly resolve paths.

The vulnerability arises from the async local filesystem memory tool in the Claude SDK for Python. The tool validates that model-supplied paths are inside a sandboxed memory directory but then returns the unresolved path for subsequent file operations, allowing a local attacker to manipulate file paths.

Questions

What is CVE-2026-34452?

A vulnerability in the Claude SDK for Python versions 0.86.0 to 0.86.9 allows a local attacker to perform path traversal attacks by exploiting the async local filesystem memory tool, which does not properly resolve paths.

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

CVE-2026-34452 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N. EPSS: 0.2%.

Is CVE-2026-34452 actively exploited?

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

How do I remediate CVE-2026-34452?

Priority: MEDIUM. PSIRT: [email protected]

What systems are affected by CVE-2026-34452?

CVE-2026-34452 affects Anthropic Claude Sdk For Python.

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 Python","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.