Advisory

PYSEC-2026-2114

Also known as: CVE-2026-34450, GHSA-q5f5-3gjm-7mfm

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.4, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Dates

Published
2026-03-31 22:16 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

anthropic

PyPI · All systems

Affected

  • introduced 0.86.0, fixed 0.87.0 (ecosystem)

Fixed versions

0.87.0

Fix

  • Fixed version 0.87.0
    pip install --upgrade anthropic==0.87.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences