{"id":"CVE-2026-25723","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-25723","summary":"Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions","details":"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. \n\nUsers on standard Claude Code auto-update received this fix automatically. Users performing manual updates are advised to update to the latest version.\n\nClaude Code thanks hackerone.com/nil221 for reporting this issue!","published":"2026-02-06T19:04:51Z","modified":"2026-02-06T20:11:41.330395Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"@anthropic-ai/claude-code","fixedVersion":"2.0.55"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-mhg7-666j-cqg4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25723"},{"type":"PACKAGE","url":"https://github.com/anthropics/claude-code"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-02-06T20:11:41.330395Z"}}