CVE-2025-64755

CRITICAL

Claude Code < 2.0.31 - Arbitrary File Write via sed Command Parsing Bypass

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References

Scores

CVSS v3 9.8
EPSS 0.0038
EPSS Percentile 29.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-78
Status published
Products (2)
anthropic/claude_code < 2.0.31
anthropic-ai/claude-code 0 - 2.0.31npm
Published Nov 21, 2025
Tracked Since Feb 18, 2026