CVE-2026-34450
MEDIUMClaude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool
Title source: cnaDescription
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.
Scores
CVSS v3
4.4
EPSS
0.0001
EPSS Percentile
0.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-276
CWE-732
Status
published
Products (3)
anthropic/claude_sdk_for_python
0.86.0 - 0.87.0
anthropics/anthropic-sdk-python
>= 0.86.0, < 0.87.0
pypi/anthropic
0.86.0 - 0.87.0PyPI
Published
Mar 31, 2026
Tracked Since
Apr 01, 2026