CVE-2026-34450
MEDIUM 4.8CVSS 4.0Claude SDK for Python has Insecure Default File Permissions in Local Filesystem Memory Tool
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
- 31 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-276CWE-732
- Also known as
- GHSA-q5f5-3gjm-7mfmPYSEC-2026-2114
- Sources
- NVDJSONOSV GHSA-q5f5-3gjm-7mfmJSONOSV PYSEC-2026-2114JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 4.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | anthropic | claude_sdk_for_pythoncpe:2.3:a:anthropic:claude_sdk_for_python:*:*:*:*:*:python:*:* |
>= 0.86.0, < 0.87.0 | 0.87.0 |
| OSV | PyPI | anthropic | >= 0.86.0, < 0.87.0 | 0.87.0 |
References
- https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255 · Patch, WEB, FIX
- https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0 · Release Notes, WEB, ADVISORY
- https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34450 · ADVISORY
- https://github.com/anthropics/anthropic-sdk-python · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Apr 2026)