Claude SDK for Python has Insecure Default File Permissions in Local Filesystem Memory Tool
CVE-2026-34450 · GHSA-q5f5-3gjm-7mfm · published 2026-04-01 · updated 2026-04-03
- Severity
- Medium
- CVSS score
- 4.8
- Chance of exploitation (EPSS)
- 0.13%
- Fixed in
- 0.87.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Partial
- CISA SSVC
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.
Upgrade anthropic to 0.87.0 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| anthropic | PyPI | >= 0.86.0, < 0.87.0 | 0.87.0 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.