CVE-2026-34450Anthropic Claude Sdk For Python
Medium 4.8
Follow: this CVE · Anthropic · Anthropic Claude Sdk For Python We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 4.8
- EPSS
- —
- Auth required
- Yes
- Published
- Mar 31, 2026
- Updated
- Jul 24, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/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 local filesystem memory tool in the Anthropic Python SDK created memory files with mode 0o666, leaving them world-readable on systems with a standard umask and world-writable in environments with a permissive umask such as many Docker base images. A local attacker on a shared host could read persisted agent state, and in containerized deployments could modify memory files to influence subsequent model behavior. Both the synchronous and asynchronous memory tool implementations were affected. This issue has been patched in version 0.87.0.
What to do
- Apply the vendor's security update for Claude Sdk For Python.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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-q5f5-3gjm-7mfm, PYSEC-2026-2114). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| anthropic | claude_sdk_for_python | ≥ 0.86.0 < 0.87.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory