CVE-2026-34452: anthropic claude_sdk_for_python Link Following
Vulnerability summary
CVE-2026-34452 is a medium (CVSS 5.8) Link Following vulnerability in anthropic claude_sdk_for_python. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 2.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 31-03-2026PublishedVulnerability first disclosed.
- 03-04-2026Last modifiedVulnerability information updated.
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 metrics
6 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated5.8MediumCVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated5.8MediumCVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
- NVDNIST5.8MediumCVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/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
- NVDNIST5.3MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
0.00 pp
From 0.14% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-59Improper Link Resolution Before File Access ('Link Following')The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
- CWE-367Time-of-check Time-of-use (TOCTOU) Race ConditionThe product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Affected systems
Chainguard3 products
- open-webui< 0.8.12-r3
- py3.10-vllm-cuda-12.4< 0.18.1-r1
- py3.12-vllm-cuda-12.4< 0.18.1-r1
Anthropic1 product
- claude_sdk_for_python≥ 0.86.0, < 0.87.0
Anthropics1 product
- anthropic-sdk-python≥ 0.86.0, < 0.87.0
PyPI1 product
- anthropic≥ 0.86.0, < 0.87.0
Wolfi1 product
- open-webui< 0.8.12-r3
5 vendors · 7 products
References
6 links- github.com/anthropics/anthropic-sdk-python/security/advisories/GHSA-w828-4qhx-vxx3X Refsource CONFIRMWEBAdvisoryVendor Advisory
- github.com/anthropics/anthropic-sdk-python/commit/6599043eee6e86dce16953fcd1fd828052052be6X Refsource MISCWEBFIXPatch
- github.com/anthropics/anthropic-sdk-python/releases/tag/v0.87.0X Refsource MISCWEBAdvisoryRelease Notes