{"id":"CVE-2026-24887","aliases":["CVE-2026-24887","GHSA-qgqw-h4xq-7w8w"],"related":[],"kind":"vulnerability","state":"published","title":"Claude Code has a Command Injection in find Command Bypasses User Approval Prompt","summary":"Claude Code is an agentic coding tool. Prior to version 2.0.72, due to an error in command parsing, it was possible to bypass the Claude Code confirmation prompt to trigger execution of untrusted commands through the find command. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.72.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Claude Code is an agentic coding tool. Prior to version 2.0.72, due to an error in command parsing, it was possible to bypass the Claude Code confirmation prompt to trigger execution of untrusted commands through the find command. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. This issue has been patched in version 2.0.72.","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 untrusted commands through the find command. Reliably exploiting this required the ability to add untrusted content into a Claude Code context window. \n\nUsers on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.\n\nClaude Code thanks https://hackerone.com/alexbernier for reporting this issue!","format":"markdown","source":"ghsa"},{"lang":"es","text":"Claude Code es una herramienta de codificación agéntica. Antes de la versión 2.0.72, debido a un error en el análisis de comandos, era posible eludir la solicitud de confirmación de Claude Code para desencadenar la ejecución de comandos no confiables a través del comando find. Explotar esto de forma fiable requería la capacidad de añadir contenido no confiable en una ventana de contexto de Claude Code. Este problema ha sido parcheado en la versión 2.0.72.","source":"nvd"}],"published":"2026-02-03T19:33:32.000Z","modified":"2026-06-17T10:23:45.063Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/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:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-78","CWE-94"],"affected":[{"ranges":[{"version":"< 2.0.72","status":"affected"}],"vendor":"anthropics","product":"claude-code","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.72"}],"ecosystem":"npm","package":"@anthropic-ai/claude-code","purl":"pkg:npm/%40anthropic-ai/claude-code","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.0.72"}],"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-qgqw-h4xq-7w8w","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24887","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":"2026-02-03T21:19:31.142Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-24887","url":"https://www.cve.org/CVERecord?id=CVE-2026-24887","licence":"CVE Terms of Use","modified":"2026-02-03T21:19:42.986Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qgqw-h4xq-7w8w","url":"https://github.com/advisories/GHSA-qgqw-h4xq-7w8w","licence":"CC-BY-4.0","modified":"2026-02-03T22:34:25.261Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-24887","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-24887","licence":"Public domain","modified":"2026-06-17T10:23:45.063Z"}],"updatedAt":"2026-11-25T22:59:13.426Z","epss":{"score":0.00642,"percentile":0.52116,"date":"2026-12-01T12:00:22.000Z"}}