@anthropic-ai/claude-code
Affected
- introduced
0, fixed2.0.31(semver)
Fixed versions
2.0.31
Fix
- Fixed version
2.0.31npm install @anthropic-ai/[email protected]
Advisory
Also known as: CVE-2025-64755
@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes
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.
Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version.
Thank you to Adam Chester - SpecterOps for reporting this issue!
High Basis: The source's own band: HIGH
0, fixed 2.0.31 (semver)2.0.31
2.0.31npm install @anthropic-ai/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0