# CVE-2026-24887: Claude Code has a Command Injection in find Command Bypasses User Approval Prompt

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-02-03T19:33:32.000Z
- Modified: 2026-06-17T10:23:45.063Z
- Also known as: GHSA-qgqw-h4xq-7w8w
- Weaknesses: CWE-78, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- anthropics claude-code: < 2.0.72
- @anthropic-ai/claude-code (npm): before 2.0.72
- anthropic claude_code: before 2.0.72

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/anthropics/claude-code/security/advisories/GHSA-qgqw-h4xq-7w8w> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24887> (advisory)
- <https://github.com/anthropics/claude-code> (package)

## Sources

- CVE List: [CVE-2026-24887](https://www.cve.org/CVERecord?id=CVE-2026-24887), CVE Terms of Use, modified 2026-02-03
- GitHub Advisory Database: [GHSA-qgqw-h4xq-7w8w](https://github.com/advisories/GHSA-qgqw-h4xq-7w8w), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-24887](https://nvd.nist.gov/vuln/detail/CVE-2026-24887), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24887 · Whole record: https://cve.day/CVE-2026-24887.json · Rebuilt by cve.day 2026-11-25T22:59:13.426Z
