CVE-2026-34450

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

Configuration 1 (hide)

cpe:2.3:a:anthropic:claude_sdk_for_python:*:*:*:*:*:python:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) El SDK de Claude para Python proporciona acceso a la API de Claude desde aplicaciones Python. Desde la versión 0.86.0 hasta antes de la versión 0.87.0, la herramienta de memoria del sistema de archivos local en el SDK de Python de Anthropic creaba archivos de memoria con el modo 0o666, dejándolos legibles para todos en sistemas con un umask estándar y escribibles para todos en entornos con un umask permisivo, como muchas imágenes base de Docker. Un atacante local en un host compartido podría leer el estado persistido del agente, y en despliegues contenerizados podría modificar archivos de memoria para influir en el comportamiento posterior del modelo. Ambas implementaciones de la herramienta de memoria, tanto síncronas como asíncronas, se vieron afectadas. Este problema ha sido parcheado en la versión 0.87.0.

13 Apr 2026, 15:10

Type Values Removed Values Added
First Time Anthropic
Anthropic claude Sdk For Python
CPE cpe:2.3:a:anthropic:claude_sdk_for_python:*:*:*:*:*:python:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.4
References () https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255 - () https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255 - Patch
References () https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0 - () https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0 - Release Notes
References () https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm - () https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm - Vendor Advisory

31 Mar 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 22:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34450

Mitre link : CVE-2026-34450

CVE.ORG link : CVE-2026-34450


JSON object : View

Products Affected

anthropic

  • claude_sdk_for_python
CWE
CWE-276

Incorrect Default Permissions

CWE-732

Incorrect Permission Assignment for Critical Resource