{"id":"CVE-2026-34450","aliases":["GHSA-q5f5-3gjm-7mfm","PYSEC-2026-2114"],"title":"Claude SDK for Python has Insecure Default File Permissions in Local Filesystem Memory Tool","summary":"Claude SDK for Python has Insecure Default File Permissions in Local Filesystem Memory Tool","severity":"medium","vendor":"anthropic","product":"anthropic","ecosystem":"pip","affected":["anthropic >= 0.86.0, < 0.87.0"],"patched":["anthropic 0.87.0"],"published":"2026-04-01","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:51:02.766471330Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-q5f5-3gjm-7mfm","references":[{"url":"https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34450"},{"url":"https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255"},{"url":"https://github.com/anthropics/anthropic-sdk-python"},{"url":"https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0"}],"tags":["osv","pip"],"epss":0.00173,"epssPercentile":0.05881,"ingestedAt":"2026-07-13T18:58:01.812Z","slug":"CVE-2026-34450","body":"## Overview\n\nThe 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.\n\nUsers on the affected versions are advised to update to the latest version.\n\nClaude SDK for Python thanks [`lucasfutures`](https://hackerone.com/lucasfutures) on HackerOne for the report.\n\n## Affected packages\n\n- `anthropic >= 0.86.0, < 0.87.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `anthropic 0.87.0`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}