{"id":"CVE-2025-64755","aliases":["CVE-2025-64755","GHSA-7mv8-j34q-vp7q"],"related":[],"kind":"vulnerability","state":"published","title":"@anthropic-ai/claude-code has Sed Command Validation Bypass that Allows Arbitrary File Writes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"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. \n\nUsers on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to the latest version.\n\nThank you to Adam Chester - SpecterOps for reporting this issue!","format":"markdown","source":"ghsa"},{"lang":"es","text":"Claude Code es una herramienta de codificación agéntica. Versiones anteriores a la versión 2.0.31, debido a un error en el análisis de comandos sed, era posible eludir la validación de solo lectura de Claude Code y escribir en archivos arbitrarios en el sistema anfitrión. Este problema ha sido parcheado en la versión 2.0.31.","source":"nvd"}],"published":"2025-11-20T21:28:08.000Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 2.0.31","status":"affected"}],"vendor":"anthropics","product":"claude-code","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.31"}],"ecosystem":"npm","package":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.0.31"}],"vendor":"anthropic","product":"claude_code","cpe":"cpe:2.3:a:anthropic:claude_code:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/anthropics/claude-code/security/advisories/GHSA-7mv8-j34q-vp7q","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64755","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/anthropics/claude-code","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-11-24T17:16:40.918Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-64755","url":"https://www.cve.org/CVERecord?id=CVE-2025-64755","licence":"CVE Terms of Use","modified":"2025-11-24T18:13:06.459Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7mv8-j34q-vp7q","url":"https://github.com/advisories/GHSA-7mv8-j34q-vp7q","licence":"CC-BY-4.0","modified":"2025-11-21T15:32:13.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-64755","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64755","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:07.887Z","epss":{"score":0.0062,"percentile":0.51023,"date":"2026-12-01T12:00:22.000Z"}}