CVE-2026-24887
JSON

7.7high

Claude Code has a Command Injection in find Command Bypasses User Approval Prompt

Severity
7.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.64% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-qgqw-h4xq-7w8w

Description

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.

Affected

Product or packageVersionsReported by
anthropics claude-code< 2.0.72CVE List
@anthropic-ai/claude-code (npm)before 2.0.72GitHub Advisory Database
anthropic claude_codebefore 2.0.72NVD

All scores

GitHub_M7.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

Users on standard Claude Code auto-update have received this fix already. Users performing manual updates are advised to update to the latest version.

Claude Code thanks https://hackerone.com/alexbernier for reporting this issue!

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-24887 changed 2026-02-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-qgqw-h4xq-7w8w changed 2026-02-03CC-BY-4.0
NVDCVE-2026-24887 changed 2026-06-17Public domain