Cluade Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes
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 | claude-code | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Anthropics | Claude Code | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-q728-gf8j-w49r | Claude Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.514% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anthropic
Anthropic claude Code |
|
| CPEs | cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Anthropic
Anthropic claude Code |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anthropics
Anthropics claude Code |
|
| Vendors & Products |
Anthropics
Anthropics claude Code |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Claude Code is an agentic coding tool. Prior to version 2.0.74, due to a Bash command validation flaw in parsing ZSH clobber syntax, it was possible to bypass directory restrictions and write files outside the current working directory without user permission prompts. Exploiting this required the user to use ZSH and the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.74. | |
| Title | Cluade Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes | |
| Weaknesses | CWE-22 CWE-79 |
|
| References |
| |
| Metrics |
cvssV4_0
|