Home

Description

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.

PUBLISHED Reserved 2026-03-27 | Published 2026-03-31 | Updated 2026-04-01 | Assigner GitHub_M




MEDIUM: 4.8CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-276: Incorrect Default Permissions

CWE-732: Incorrect Permission Assignment for Critical Resource

Product status

>= 0.86.0, < 0.87.0
affected

References

github.com/...python/security/advisories/GHSA-q5f5-3gjm-7mfm

github.com/...ommit/715030ceb4d6dd8d3546e999c680e29532bf1255

github.com/...pics/anthropic-sdk-python/releases/tag/v0.87.0

cve.org (CVE-2026-34450)

nvd.nist.gov (CVE-2026-34450)

Download JSON