CVE-2025-64755
criticalpriority · track · 39EPSS 0.006 · 49 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.3–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-7mv8-j34q-vp7q@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes2025-11-20ghsa · osvUS
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!
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-64755cnnvd
- https://code.claude.com/docs/en/overviewPatchcnnvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-7mv8-j34q-vp7qcnnvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-7mv8-j34q-vp7qenisa_euvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-7mv8-j34q-vp7qVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan