{"schemaVersion":3,"id":"CVE-2026-34450","aliases":["GHSA-q5f5-3gjm-7mfm","PYSEC-2026-2114","CGA-mchq-cpjr-6h3v","CGA-ww6h-mqrw-939w","CGA-74m4-4f95-9vcq","CGA-wh4q-7h2q-9r88"],"status":"published","duplicateOf":null,"title":"Claude SDK for Python: Insecure Default File Permissions in Local Filesystem Memory Tool","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.","dates":{"published":"2026-03-31T21:32:53.617Z","modified":"2026-04-01T13:35:18.879Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.8,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":4.6,"impact":4.2,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":4.8,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00173,"percentile":0.064,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0.051000000000000004,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00122},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00173,"percentile":0.064}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00122,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00173,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00173,"percentile":0.064}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-276","name":"Incorrect Default Permissions","description":"During installation, installed file permissions are set to allow anyone to modify those files.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/276.html"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"anthropic","product":"claude_sdk_for_python","name":"claude sdk for python","label":"claude_sdk_for_python","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.86.0, < 0.87.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.86.0, < 0.87.0","eol":null,"hubHref":"/vendor/anthropic/claude_sdk_for_python"},{"vendor":"anthropics","product":"anthropic-sdk-python","name":"anthropic-sdk-python","label":"anthropic-sdk-python","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.86.0, < 0.87.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.86.0, < 0.87.0","eol":null,"hubHref":"/vendor/anthropics/anthropic-sdk-python"},{"vendor":"chainguard","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/open-webui","purlType":"apk","versions":[{"text":"< 0.8.12-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.12-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.10-vllm-cuda-12.4","name":"py3.10-vllm-cuda-12.4","label":"py3.10-vllm-cuda-12.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.10-vllm-cuda-12.4","purlType":"apk","versions":[{"text":"< 0.18.1-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.18.1-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"py3.12-vllm-cuda-12.4","name":"py3.12-vllm-cuda-12.4","label":"py3.12-vllm-cuda-12.4","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/py3.12-vllm-cuda-12.4","purlType":"apk","versions":[{"text":"< 0.18.1-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.18.1-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/open-webui","purlType":"apk","versions":[{"text":"< 0.8.12-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.12-r3","eol":null,"hubHref":null},{"vendor":"PyPI","product":"anthropic","name":"anthropic","label":"anthropic","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/anthropic","purlType":"pypi","versions":[{"text":"≥ 0.86.0, < 0.87.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.86.0, < 0.87.0","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm","label":"github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-q5f5-3gjm-7mfm","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255","label":"github.com/anthropics/anthropic-sdk-python/commit/715030ceb4d6dd8d3546e999c680e29532bf1255","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0","label":"github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0","hostname":"github.com","tags":["X Refsource MISC","WEB","Advisory","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34450","label":"nvd.nist.gov/vuln/detail/CVE-2026-34450","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/anthropics/anthropic-sdk-python","label":"github.com/anthropics/anthropic-sdk-python","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34450.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34450.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-28GR-Q28X-4J89"]},"timeline":[{"kind":"published","date":"2026-03-31T21:32:53.617Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-01T13:35:18.879Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":19,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T21:13:23.000Z","stale":false,"partial":false}}