anthropic
Affected
- introduced
0.86.0, fixed0.87.0(ecosystem)
Fixed versions
0.87.0
Fix
- Fixed version
0.87.0pip install --upgrade anthropic==0.87.0
Advisory
Also known as: CVE-2026-34450, PYSEC-2026-2114
Claude SDK for Python has Insecure Default File Permissions in Local Filesystem Memory Tool
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.
Users on the affected versions are advised to update to the latest version.
Claude SDK for Python thanks `lucasfutures` on HackerOne for the report.
Medium Basis: The source's own band: MODERATE
0.86.0, fixed 0.87.0 (ecosystem)0.87.0
0.87.0pip install --upgrade anthropic==0.87.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0