Read the docs
TI-2026-26717 Aliases CVE-2026-34452GHSA-w828-4qhx-vxx3

Claude SDK for Python: Memory Tool Path Validation Race Condition Allows Sandbox Escape

Priority LOW 25CWE-367Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00143 3rd percentileScored 2026-11-07
Fix Fixed anthropic-sdk-python (anthropics): 0.87.0anthropic (PyPI): 0.87.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
anthropicsanthropic-sdk-python0.86.0 to before 0.87.00.87.0Patch availableCNA
—anthropic (PyPI)0.86.0 to before 0.87.00.87.0Patch availableGHSA-w828-4qhx-vxx3
  • anthropic-sdk-python Vendoranthropics Affected 0.86.0 to before 0.87.0 Fixed in 0.87.0 Patch available CNA
  • anthropic (PyPI) Vendor— Affected 0.86.0 to before 0.87.0 Fixed in 0.87.0 Patch available GHSA-w828-4qhx-vxx3

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:anthropic:claude_sdk_for_python:*:*:*:*:*:python:*:*0.86.0 to before 0.87.0Vulnerableanthropics
  • cpe:2.3:a:anthropic:claude_sdk_for_python:*:*:*:*:*:python:*:* Versions 0.86.0 to before 0.87.0 Vulnerable ·anthropics

Remediation

  • Fix · CNA anthropic-sdk-python (anthropics) Fixed in 0.87.0
  • Fix · GHSA-w828-4qhx-vxx3 anthropic (PyPI) Fixed in 0.87.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34452
  2. 2026-10-03 Alias added: GHSA-w828-4qhx-vxx3

References

  • TI-2026-26715 Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool CVSS 4.0MEDIUM 4.8

Sources