Advisory

GHSA-7mv8-j34q-vp7q

Also known as: CVE-2025-64755

Summary

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

Details

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!

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-11-20 21:28 UTC
Modified
2025-11-21 15:32 UTC

Affected packages and fixes

@anthropic-ai/claude-code

npm · All systems

Affected

  • introduced 0, fixed 2.0.31 (semver)

Fixed versions

2.0.31

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences