# CVE-2025-64755: @anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Published: 2025-11-20T21:28:08.000Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: GHSA-7mv8-j34q-vp7q
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- anthropics claude-code: < 2.0.31
- @anthropic-ai/claude-code (npm): before 2.0.31
- anthropic claude_code: before 2.0.31

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## 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)

## Sources

- CVE List: [CVE-2025-64755](https://www.cve.org/CVERecord?id=CVE-2025-64755), CVE Terms of Use, modified 2025-11-24
- GitHub Advisory Database: [GHSA-7mv8-j34q-vp7q](https://github.com/advisories/GHSA-7mv8-j34q-vp7q), CC-BY-4.0, modified 2025-11-21
- NVD: [CVE-2025-64755](https://nvd.nist.gov/vuln/detail/CVE-2025-64755), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-64755 · Whole record: https://cve.day/CVE-2025-64755.json · Rebuilt by cve.day 2026-11-25T22:59:07.887Z
