id: PYSEC-2026-2114 published: "2026-03-31T22:16:19.987Z" modified: "2026-07-13T05:47:45.561657Z" aliases: - CVE-2026-34450 - GHSA-q5f5-3gjm-7mfm details: 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. affected: - package: name: anthropic ecosystem: PyPI purl: pkg:pypi/anthropic ranges: - type: ECOSYSTEM events: - introduced: 0.86.0 - fixed: 0.87.0 versions: - 0.86.0 ecosystem_specific: {} references: - type: ADVISORY url: https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0 - type: ADVISORY url: https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm - type: FIX url: https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255 severity: - type: CVSS_V3 score: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N