CVE-2026-34450 json
Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool
published 2026-03-31 7 mo ago modified 2026-09-10 1 mo ago also GHSA-q5f5-3gjm-7mfm , PYSEC-2026-2114 , EUVD-2026-17677
- cvss
- 4.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi anthropic 0.87.0
- anthropic claude_sdk_for_python 0.87.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | anthropic | >=0.86.0, <0.87.0 |
0.87.0 |
Affected products
- anthropics anthropic-sdk-python
Classification
References
-
github.com
/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255
web, patch
-
github.com
/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm
web, vendor-advisory, advisory
-
github.com
/anthropics/anthropic-sdk-python/releases/tag/v0.87.0
web, release-notes, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-34450
advisory
-
github.com
/anthropics/anthropic-sdk-python
package
Sources
- CVE List CVE-2026-34450
- GitHub Advisory GHSA-q5f5-3gjm-7mfm
- NVD CVE-2026-34450
- OSV PYSEC-2026-2114
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.