Claude SDK for Python: Memory Tool Path Validation Race Condition Allows Sandbox Escape
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| anthropics | anthropic-sdk-python | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Anthropics | Anthropic-sdk-python |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-w828-4qhx-vxx3 | Claude SDK for Python: Memory Tool Path Validation Race Condition Allows Sandbox Escape |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.143% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anthropic
Anthropic claude Sdk For Python |
|
| CPEs | cpe:2.3:a:anthropic:claude_sdk_for_python:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Anthropic
Anthropic claude Sdk For Python |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anthropics
Anthropics anthropic-sdk-python |
|
| Vendors & Products |
Anthropics
Anthropics anthropic-sdk-python |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Claude SDK for Python: Memory Tool Path Validation Race Condition Allows Sandbox Escape | |
| Weaknesses | CWE-367 CWE-59 |
|
| References |
| |
| Metrics |
cvssV4_0
|