CVE-2026-24053
mediumpriority · track · 26EPSS 0.005 · 44 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.2–7.7
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-q728-gf8j-w49rClaude Code has a Path Restriction Bypass via ZSH Clobber which Allows Arbitrary File Writes2026-02-03ghsa · osvUS
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. Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version. Claude Code thanks https://hackerone.com/alexbernier for reporting this issue!
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4)
External citations — patches, advisories, analysis.
- https://github.com/anthropics/claude-code/releasesPatchcnnvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49rcnnvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49renisa_euvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49rVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan