CVE-2025-64755
CVE-2025-64755 · @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Claude Code is an agentic coding tool. Prior to version 2.0.31, due to an error in sed command parsing, it was possible to bypass the Claude Code read-only validation and write to arbitrary files on the host system. This issue has been patched in version 2.0.31.
CVSS 8.7 · High · EPSS 0.6% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
claude-code
- Versions
- < 2.0.31: Affected
No fix published
@anthropic-ai/claude-code npm
- Affected ranges
- SEMVER: < 2.0.31
Update to 2.0.31