CVE-2025-64755
HIGH 8.7CVSS 4.0@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes
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.
- Published
- 21 Nov 2025
- Last modified
- 18 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-78
- Also known as
- GHSA-7mv8-j34q-vp7q
- Sources
- NVDJSONOSV GHSA-7mv8-j34q-vp7qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | anthropic | claude_codecpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:* |
< 2.0.31 | 2.0.31 |
| OSV | npm | @anthropic-ai/claude-code | < 2.0.31 | 2.0.31 |
References
- https://github.com/anthropics/claude-code/security/advisories/GHSA-7mv8-j34q-vp7q · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-64755 · ADVISORY
- https://github.com/anthropics/claude-code · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 21 Nov 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Nov 2025)