CVE-2026-34452
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
anthropicPyPI | >= 0.86.0, < 0.87.0 | 0.87.0 |
Affected products
6- cpe:2.3:a:anthropic:claude_sdk_for_python:*:*:*:*:*:python:*:*Range: >=0.86.0,<0.87.0
- osv-coords5 versionspkg:apk/chainguard/open-webuipkg:apk/chainguard/py3.10-vllm-cuda-12.4pkg:apk/chainguard/py3.12-vllm-cuda-12.4pkg:apk/wolfi/open-webuipkg:pypi/anthropic
< 0.8.12-r3+ 4 more
- (no CPE)range: < 0.8.12-r3
- (no CPE)range: < 0.18.1-r1
- (no CPE)range: < 0.18.1-r1
- (no CPE)range: < 0.8.12-r3
- (no CPE)range: >= 0.86.0, < 0.87.0
Patches
Vulnerability mechanics
References
5- github.com/anthropics/anthropic-sdk-python/commit/6599043eee6e86dce16953fcd1fd828052052be6nvdPatchWEB
- github.com/advisories/GHSA-w828-4qhx-vxx3ghsaADVISORY
- github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-w828-4qhx-vxx3nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-34452ghsaADVISORY
- github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.