MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-25723GHSA-mhg7-666j-cqg4

Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions

Not on CISA KEVCVSS 7.7 (v4.0)
  • Overview

Summary

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

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)