Vulnerabilities · 2026 · Anthropic
CVE-2026-25723
Anthropic Claude Code vulnerability
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.
Affected products
Claude Code. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Anthropic Claude Code runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Anthropic products
CVE-2026-25725CVE-2026-25724CVE-2026-25722CVE-2026-24887CVE-2026-24053CVE-2026-24052CVE-2026-21852CVE-2025-66032All 19
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.