CVE-2026-34450
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 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.
Weakness
- CWE-276: Incorrect Default Permissions
- CWE-732: Incorrect Permission Assignment for Critical Resource
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-04-01 |
Timeline
- 2026-03-31Published by the CNA21:32 UTC
- 2026-04-01GitHub advisory published (GHSA-q5f5-3gjm-7mfm)1 day after publication
- 2026-04-01CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-q5f5-3gjm-7mfm, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI anthropic | from 0.86.0 before 0.87.0 | 0.87.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| anthropic claude_sdk_for_python | from 0.86.0 before 0.87.0fixed in 0.87.0 | 0.87.0 |
References
- https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255
- https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm
- https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-34450'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-34450'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-34450'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-34450'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).