# CVE-2026-24053: Cluade Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-02-03T19:32:01.000Z
- Modified: 2026-06-17T10:22:31.733Z
- Also known as: GHSA-q728-gf8j-w49r
- Weaknesses: CWE-22, CWE-78, CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- anthropics claude-code: < 2.0.74
- @anthropic-ai/claude-code (npm): before 2.0.74
- anthropic claude_code: before 2.0.74

## Every score

- GitHub_M: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49r> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24053> (advisory)
- <https://github.com/anthropics/claude-code> (package)

## Sources

- CVE List: [CVE-2026-24053](https://www.cve.org/CVERecord?id=CVE-2026-24053), CVE Terms of Use, modified 2026-02-03
- GitHub Advisory Database: [GHSA-q728-gf8j-w49r](https://github.com/advisories/GHSA-q728-gf8j-w49r), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2026-24053](https://nvd.nist.gov/vuln/detail/CVE-2026-24053), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24053 · Whole record: https://cve.day/CVE-2026-24053.json · Rebuilt by cve.day 2026-11-25T22:59:13.426Z
