What’s Vulnerable › Vulnerabilities
CVE-2025-64755: @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-21 · updated 2026-10-18
- Weakness: CWE-78
Description
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.
Affected products
- anthropics claude-code: before 2.0.31 — fixed in 2.0.31
How to fix
Upgrade to a fixed version: anthropics claude-code 2.0.31. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-64755 or the next vulnerability affects your stack