Medium severity6.5NVD Advisory· Published Feb 6, 2026· Updated Jun 17, 2026
CVE-2026-25723
CVE-2026-25723
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@anthropic-ai/claude-codenpm | < 2.0.55 | 2.0.55 |
Affected products
3cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*+ 1 more
- cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*range: <2.0.55
- (no CPE)range: < 2.0.55
Patches
Vulnerability mechanics
References
3- github.com/advisories/GHSA-mhg7-666j-cqg4ghsaADVISORY
- github.com/anthropics/claude-code/security/advisories/GHSA-mhg7-666j-cqg4nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-25723ghsaADVISORY
News mentions
0No linked articles in our index yet.