# CVE-2025-58764: Claude Code rg command had Command Injection that allowed bypass of user approval prompt for command execution

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- 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.63%, higher than 51% of CVEs (2026-12-02)
- Published: 2025-09-10T15:06:30.163Z
- Modified: 2026-06-17T09:44:53.880Z
- Also known as: GHSA-qxfv-fcpc-w36x
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Claude Code is an agentic coding tool. Due to an error in command parsing, versions prior to 1.0.105 were vulnerable to a bypass of 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. Users on standard Claude Code auto-update will have received this fix automatically. Users performing manual updates are advised to update to version 1.0.105 or the latest version.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/anthropics/claude-code/security/advisories/GHSA-qxfv-fcpc-w36x> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58764> (advisory)
- <https://github.com/anthropics/claude-code> (package)

## Sources

- CVE List: [CVE-2025-58764](https://www.cve.org/CVERecord?id=CVE-2025-58764), CVE Terms of Use, modified 2025-09-11
- GitHub Advisory Database: [GHSA-qxfv-fcpc-w36x](https://github.com/advisories/GHSA-qxfv-fcpc-w36x), CC-BY-4.0, modified 2025-09-10
- NVD: [CVE-2025-58764](https://nvd.nist.gov/vuln/detail/CVE-2025-58764), Public domain, modified 2026-06-17

---

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