CVE-2026-34450CWE-276CWE-732

Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool

Medium · published March 31, 2026

CVSS v4.0
4.8
EPSS
0%
Percentile
6.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
4.8 · MEDIUM
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
EPSS
0.00173 · 6.4th percentile
Weaknesses
CWE-276 · Incorrect Default Permissions; CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2026-03-31T21:32Z
EPSS history
Timeline
  • 31 MAR 21:32Z
    Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool
    cvelistv5