CVE-2026-25723: anthropics claude-code · Improper Input Validation
Affects anthropics claude-codeSource CVE Database V5
Not known to be exploited · CVSS 7.7 High : upgrade to 2.0.55 soon.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.0.55
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade claude-code and anthropics/claude-code to 2.0.55.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| anthropicsclaude-code | Affected
| Fixed in
|
GitHubanthropics/claude-codepkg:github/anthropics/claude-codeOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, European organizations should immediately upgrade all instances of Claude Code to version 2.0.55 or later, where the input validation flaw has been patched. Additionally, organizations should restrict the use of the "accept edits" feature to trusted users only and implement strict access controls to limit who can execute commands through Claude Code. Monitoring and logging command execution activities within the tool can help detect suspicious behavior early. Employing application whitelisting and sandboxing techniques around the development environment can reduce the risk of unauthorized file writes affecting critical system areas. Regularly auditing the .claude folder and other sensitive directories for unauthorized changes can help identify exploitation attempts. Finally, integrating secure coding and code review practices to detect anomalous code changes introduced via automated tools will further reduce risk.
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.