CVE-2026-34452

CVE-2026-34452 is a medium-severity vulnerability in Anthropic Claude Sdk For Python with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-59.

Key facts

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.

Frequently asked questions

What is CVE-2026-34452?
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.
How severe is CVE-2026-34452?
CVE-2026-34452 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over local access with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity low, and availability none.
Is CVE-2026-34452 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (4th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2026-34452?
CVE-2026-34452 affects Anthropic Claude Sdk For Python. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2026-34452?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2026-34452 have an EU (EUVD) identifier?
Yes. CVE-2026-34452 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-17681.
When was CVE-2026-34452 published?
CVE-2026-34452 was published on 2026-03-31 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Anthropic Claude Sdk For Python

All CVEs affecting Anthropic Claude Sdk For Python →

Other CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities

Browse all CWE-59 (Improper Link Resolution Before File Access (Link Following)) vulnerabilities →