{"cve":"CVE-2026-34452","nvd":{"published":"2026-03-31T22:16:20.320","modified":"2026-07-24T21:10:00.143","status":"Analyzed","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 async local filesystem memory tool in the Anthropic Python SDK validated that model-supplied paths resolved inside the sandboxed memory directory, but then returned the unresolved path for subsequent file operations. A local attacker able to write to the memory directory could retarget a symlink between validation and use, causing reads or writes to escape the sandbox. The synchronous memory tool implementation was not affected. This issue has been patched in version 0.87.0.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":5.8},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N","score":5.3},"cwes":["CWE-59","CWE-367"],"references":["https://github.com/anthropics/anthropic-sdk-python/commit/6599043eee6e86dce16953fcd1fd828052052be6","https://github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0","https://github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-w828-4qhx-vxx3"],"products":["anthropic:claude_sdk_for_python"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-34452","score":0.00143,"percentile":0.03641,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w828-4qhx-vxx3","url":"https://osv.dev/vulnerability/GHSA-w828-4qhx-vxx3","summary":"Claude SDK for Python: Memory Tool Path Validation Race Condition Allows Sandbox Escape","modified":"2026-09-10T03:51:03.761941935Z","packages":[{"ecosystem":"PyPI","name":"anthropic","purl":"pkg:pypi/anthropic","ranges":[">=0.86.0 <0.87.0"],"fixed":["0.87.0"]}]},{"id":"PYSEC-2026-2115","url":"https://osv.dev/vulnerability/PYSEC-2026-2115","summary":"","modified":"2026-07-13T07:15:14.109557346Z","packages":[{"ecosystem":"PyPI","name":"anthropic","purl":"pkg:pypi/anthropic","ranges":[">=0.86.0 <0.87.0"],"fixed":["0.87.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}