Skip to content
OpenAdvisories
High · 8.7 CVE-2025-64755 EUVD-2025-198355GHSA-7mv8-j34q-vp7q

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

Published Nov 21, 2025 · Updated Nov 24, 2025 · Assigned by GitHub_M

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

VendorProductAffectedFixed
anthropics claude-code < 2.0.31 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @anthropic-ai/claude-code < 2.0.31 2.0.31 GHSA-7mv8-j34q-vp7q

References