CVE Explorer
CVE-2026-25723
Claude Code is an agentic coding tool. Prior to version 2.0.55, Claude Code failed to properly validate commands using piped sed operations with the echo command, allowing attackers to bypass file write restrictions. This vulnerability enabled writing to sensitive directories like the .claude folder and paths outside the project scope. Exploiting this required the ability to execute commands through Claude Code with the "accept edits" feature enabled. This issue has been patched in version 2.0.5
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-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1634c9d32deb90ed7e7b7c73f5957fb0c27531aece664a44cb01511544420165 · sha256:8284e2d1545ad2db… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1634c9d32deb90ed7e7b7c73f5957fb0c27531aece664a44cb01511544420165 · sha256:8284e2d1545ad2db… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"claude-code","vendor":"anthropics","versions":[{"status":"affected","version":"< 2.0.55"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1634c9d32deb90ed7e7b7c73f5957fb0c27531aece664a44cb01511544420165 · sha256:8284e2d1545ad2db… · /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:1634c9d32deb90ed7e7b7c73f5957fb0c27531aece664a44cb01511544420165 · sha256:8284e2d1545ad2db… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
2 source assertions{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1634c9d32deb90ed7e7b7c73f5957fb0c27531aece664a44cb01511544420165 · sha256:8284e2d1545ad2db… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1634c9d32deb90ed7e7b7c73f5957fb0c27531aece664a44cb01511544420165 · sha256:8284e2d1545ad2db… · /containers/cna/problemTypes/1/descriptions/0
Source references
1 source assertion{"name":"https://github.com/anthropics/claude-code/security/advisories/GHSA-mhg7-666j-cqg4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-mhg7-666j-cqg4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1634c9d32deb90ed7e7b7c73f5957fb0c27531aece664a44cb01511544420165 · sha256:8284e2d1545ad2db… · /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.