# CVE-2026-34450: Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool

- Severity: Medium 4.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-03-31T21:32:53.617Z
- Modified: 2026-09-10T03:51:02.766Z
- Also known as: GHSA-q5f5-3gjm-7mfm, PYSEC-2026-2114
- Weaknesses: CWE-276, CWE-732
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- anthropics anthropic-sdk-python: >= 0.86.0, < 0.87.0
- anthropic (PyPI): from 0.86.0 before 0.87.0
- anthropic claude_sdk_for_python: from 0.86.0 before 0.87.0

## Every score

- GitHub_M: CVSS:4.0 4.8 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm> (advisory, vendor-advisory, web)
- <https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255> (fix, patch, web)
- <https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0> (advisory, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34450> (advisory)
- <https://github.com/anthropics/anthropic-sdk-python> (package)

## Sources

- CVE List: [CVE-2026-34450](https://www.cve.org/CVERecord?id=CVE-2026-34450), CVE Terms of Use, modified 2026-04-01
- GitHub Advisory Database: [GHSA-q5f5-3gjm-7mfm](https://github.com/advisories/GHSA-q5f5-3gjm-7mfm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-34450](https://nvd.nist.gov/vuln/detail/CVE-2026-34450), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2114](https://osv.dev/vulnerability/PYSEC-2026-2114), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-34450 · Whole record: https://cve.day/CVE-2026-34450.json · Rebuilt by cve.day 2026-11-25T22:59:17.646Z
