GHSA-mhg7-666j-cqg4 · Severity: high · Ecosystem: npm — Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions
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.55.
Conclusion & alert: CVE-2026-25723 is rated Low Risk (37.1/100): CVSS High severity, with low exploitation likelihood (EPSS 0.26%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.12% | 0.26% | +0.14% |
| 2 | 2026-02-07 | — | 0.12% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
GHSA-mhg7-666j-cqg4 · Severity: high · Ecosystem: npm — Claude Code Vulnerable to Command Injection via Piped sed Command Bypasses File Write Restrictions
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| anthropic | claude_code | < 2.0.55 | cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/anthropics/claude-code/security/advisories/GHSA-mhg7-666j-cqg4 | Vendor Advisory |