{"id":"CVE-2025-64755","published":"2025-11-21T01:13:05Z","modified":"2025-11-24T18:13:06Z","title":"@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes","vendor":"anthropics","product":"claude-code","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0062,"percentile":0.50617,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-7mv8-j34q-vp7q","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.12},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"anthropics","affectedVersions":[{"vendor":"anthropics","product":"claude-code","versions":["< 2.0.31"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-11-24T17:16:40.918376Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@anthropic-ai/claude-code","vulnerableRanges":["<2.0.31"],"patched":["2.0.31"],"from":["GHSA-7mv8-j34q-vp7q"],"provenance":"source"}],"summary":{"text":"The flaw is a sed command parsing error in Anthropic's Claude Code, an agentic coding tool, which allowed bypassing its read-only command validation in versions prior to 2.0.31. An attacker who can get the tool to run a crafted sed command, which requires user interaction, can write to arbitrary files on the host system, with no authentication or network access needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:51Z"},"euvd":{"id":"EUVD-2025-198355","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-59536","published":"2025-10-03","fixed":"1.0.111","kev":false},{"cve":"CVE-2026-24052","published":"2026-02-03","fixed":"1.0.111","kev":false},{"cve":"CVE-2025-59829","published":"2025-10-03","fixed":"1.0.120","kev":false},{"cve":"CVE-2025-64755","published":"2025-11-21","fixed":"2.0.31","kev":false},{"cve":"CVE-2026-25723","published":"2026-02-06","fixed":"2.0.55","kev":false,"link":{"from":"CVE-2025-64755","to":"CVE-2026-25723","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@anthropic-ai/claude-code","fromFixed":"2.0.31","toFixed":"2.0.55","daysApart":77}]}},{"cve":"CVE-2026-25722","published":"2026-02-06","fixed":"2.0.57","kev":false},{"cve":"CVE-2026-21852","published":"2026-01-21","fixed":"2.0.65","kev":false}],"package":"npm:@anthropic-ai/claude-code"}}