CVE-2026-34450 Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Docker
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Anthropic claude sdk for python | >= 0.86.0, < 0.87.0 | 0.87.0 | Fixed |
| pypi anthropic(PyPI) | = 0.86.0; >= 0.86.0, < 0.87.0 | 0.87.0 | Fixed |
| anthropics anthropic-sdk-python | = >= 0.86.0, < 0.87.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi anthropic(PyPI) | >= 0.86.0, < 0.87.0 | 0.87.0 |
| pypi anthropic(PyPI) | = 0.86.0 | No fix listed |
| anthropics anthropic-sdk-python | = >= 0.86.0, < 0.87.0 | No fix listed |
| Anthropic claude sdk for python | >= 0.86.0, < 0.87.0 | 0.87.0 |
References
- https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255 patch
- github.com product
- https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0 release-notes vendor-advisory
- github.com