{"id":"CVE-2025-54795","aliases":["CVE-2025-54795","GHSA-x56v-x2h6-7j34"],"related":[],"kind":"vulnerability","state":"published","title":"Claude Code echo command allowed bypass of user approval prompt for command execution","summary":"Claude Code is an agentic coding tool. In versions below 1.0.20, an error in command parsing makes it possible to bypass the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. This is fixed in version 1.0.20.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Claude Code is an agentic coding tool. In versions below 1.0.20, an error in command parsing makes it possible to bypass the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. This is fixed in version 1.0.20.","source":"cvelist"},{"lang":"en","text":"Due to an error in command parsing, it was possible to bypass the Claude Code confirmation prompt to trigger execution of an untrusted command. Reliably exploiting this requires the ability to add untrusted content into a Claude Code context window. \n\nUsers on standard Claude Code auto-update received this fix automatically after release. Current users of Claude Code are unaffected, as versions prior to 1.0.24 are deprecated and have been forced to update.\n\nThank you to Elad Beber (Cymulate) for reporting this issue!","format":"markdown","source":"ghsa"},{"lang":"es","text":"Claude Code es una herramienta de codificación agentica. En versiones anteriores a la 1.0.20, un error en el análisis de comandos permite omitir la solicitud de confirmación de Claude Code para activar la ejecución de un comando no confiable. Para aprovechar esto de forma fiable, es necesario poder añadir contenido no confiable a una ventana de contexto de Claude Code. Esto se ha corregido en la versión 1.0.20.","source":"nvd"}],"published":"2025-08-04T15:18:03.000Z","modified":"2026-06-17T09:40:43.173Z","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":"< 1.0.20","status":"affected"}],"vendor":"anthropics","product":"claude-code","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.0.20"}],"ecosystem":"npm","package":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.20"}],"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-x56v-x2h6-7j34","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54795","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":"no","technicalImpact":"total","date":"2025-08-05T14:21:40.269Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54795","url":"https://www.cve.org/CVERecord?id=CVE-2025-54795","licence":"CVE Terms of Use","modified":"2025-08-05T14:21:47.500Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x56v-x2h6-7j34","url":"https://github.com/advisories/GHSA-x56v-x2h6-7j34","licence":"CC-BY-4.0","modified":"2025-08-05T17:10:38.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54795","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54795","licence":"Public domain","modified":"2026-06-17T09:40:43.173Z"}],"updatedAt":"2026-11-25T22:59:02.042Z","epss":{"score":0.01092,"percentile":0.66382,"date":"2026-12-01T12:00:22.000Z"}}