{"id":"CVE-2026-34450","published":"2026-03-31T21:32:53Z","modified":"2026-04-01T13:35:18Z","title":"Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool","vendor":"anthropics","product":"anthropic-sdk-python","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.04638,"provenance":"source"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255","tags":["x_refsource_MISC"]},{"url":"https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0","tags":["x_refsource_MISC"]}],"priority":{"score":4.3,"factors":[{"name":"EPSS percentile","points":0.93},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"anthropic-sdk-python","versions":[">= 0.86.0, < 0.87.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-01T13:35:12.188726Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"anthropic","vulnerableRanges":[">=0.86.0, <0.87.0"],"patched":["0.87.0"],"from":["GHSA-q5f5-3gjm-7mfm","PYSEC-2026-2114"],"provenance":"source"}],"summary":{"text":"The Anthropic Python SDK (anthropic-sdk-python), in its local filesystem memory tool across both the synchronous and asynchronous implementations, created memory files with insecure default permissions that left them readable by other users and, under a permissive umask such as those common in Docker base images, writable as well. An attacker with local access to a shared host can read persisted agent state, and in containerized deployments can modify memory files to influence subsequent model behavior, with the affected range being versions from 0.86.0 up to but not including 0.87.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:19Z"},"euvd":{"id":"EUVD-2026-17677","exploited":false,"provenance":"source"}}