Live threats

All CVEs / Anthropic

CVE-2026-34452Anthropic Claude Sdk For Python

Medium 5.8

Priority
35
CVSS 4.0
5.8
EPSS
—
Auth required
Yes
Published
Mar 31, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59, CWE-367
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Claude Sdk For Python.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI anthropic ≥ 0.86.0 < 0.87.0 0.87.0 pip install "anthropic>=0.87.0"
PyPI anthropic ≥ 0.86.0 < 0.87.0 0.87.0 pip install "anthropic>=0.87.0"

Per OSV / GitHub Advisories (GHSA-w828-4qhx-vxx3, PYSEC-2026-2115). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
anthropicclaude_sdk_for_python≥ 0.86.0 < 0.87.0

Official sources

References

Links published by the sources. Open them with care.