CVE-2026-34450
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-03-31
- Last modified
- 2026-07-24
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.1 %
higher than 2 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| anthropic (PyPI) | ≥ 0.86.0, < 0.87.0 | Affected | |
| Anthropic | Claude Sdk For Python | ≥ 0.86.0, < 0.87.0 | Affected |
Weakness type
-
CWE-276: Incorrect Default Permissions
During installation, installed file permissions are set to allow anyone to modify those files.
-
CWE-732: Incorrect Permission Assignment for Critical Resource
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1083: File and Directory Discovery
- T1134.001: Token Impersonation/Theft
- T1505.005: Terminal Services DLL
- T1548: Abuse Elevation Control Mechanism
- T1550.004: Web Session Cookie
- T1553.002: Code Signing
- T1554: Compromise Host Software Binary
- T1574.005: Executable Installer File Permissions Weakness
- T1574.010: Services File Permissions Weakness
References
- https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29…
- https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0
- https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm
Related at Berigo
Articles
-
A language model found an attack that forces HAWK to double its keys
Same product
2026-08-24
On 28 July 2026 Anthropic published two cryptanalytic results found with a language model. Neither has practical significance for systems in operatio…
-
New numbers show how often an attacker succeeds against an AI agent
Same product
2026-08-18
The system card for Claude Opus 5 does not measure how many attacks succeed, but the probability that an attacker finds at least one working attack w…
-
Shared Claude conversations turned up in Google search
Same product
2026-08-18
On 27 July 2026 404 Media reported that shared Claude conversations and artifacts appeared in Google search results. The findings included medical re…
-
Meta says one of its models broke into another company during testing
Same product
2026-08-13
Meta says one of its models unexpectedly gained internet access during a security evaluation, and that the model then exploited a vulnerability in a …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.