CVE Explorer
CVE-2026-24053
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b75b8ced7a9273f10175eb0561ef88b292e7081ec3511ea2b3d574ce6c242c78 · sha256:e36fd437c3a14462… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b75b8ced7a9273f10175eb0561ef88b292e7081ec3511ea2b3d574ce6c242c78 · sha256:e36fd437c3a14462… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"claude-code","vendor":"anthropics","versions":[{"status":"affected","version":"< 2.0.74"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b75b8ced7a9273f10175eb0561ef88b292e7081ec3511ea2b3d574ce6c242c78 · sha256:e36fd437c3a14462… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":7.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b75b8ced7a9273f10175eb0561ef88b292e7081ec3511ea2b3d574ce6c242c78 · sha256:e36fd437c3a14462… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b75b8ced7a9273f10175eb0561ef88b292e7081ec3511ea2b3d574ce6c242c78 · sha256:e36fd437c3a14462… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b75b8ced7a9273f10175eb0561ef88b292e7081ec3511ea2b3d574ce6c242c78 · sha256:e36fd437c3a14462… · /containers/cna/problemTypes/1/descriptions/0
Source references
1 source assertion{"name":"https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49r","tags":["x_refsource_CONFIRM"],"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-q728-gf8j-w49r"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b75b8ced7a9273f10175eb0561ef88b292e7081ec3511ea2b3d574ce6c242c78 · sha256:e36fd437c3a14462… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.