RCE in Anthropic Claude Code
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.55.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.005 (39.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 39th percentile — 39.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.005 · change: +0.002
Affected products
- Anthropic Claude Code
- Anthropics Claude-Code — versions < 2.0.55
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-25723?
- CVE-2026-25723 is a medium-severity vulnerability in Anthropic Claude Code, classified under Improper Input Validation. CVSS score: 6.5/10. Published 2026-02-06.
- How severe is CVE-2026-25723?
- Medium severity. CVSS v3 base score is 6.5 out of 10.