What’s Vulnerable › Vulnerabilities

CVE-2025-64755: @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes

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

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