# CVE-2025-54795: Claude Code echo command 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): 1.09%, higher than 66% of CVEs (2026-12-01)
- Published: 2025-08-04T15:18:03.000Z
- Modified: 2026-06-17T09:40:43.173Z
- Also known as: GHSA-x56v-x2h6-7j34
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

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

## 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-x56v-x2h6-7j34> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54795> (advisory)
- <https://github.com/anthropics/claude-code> (package)

## Sources

- CVE List: [CVE-2025-54795](https://www.cve.org/CVERecord?id=CVE-2025-54795), CVE Terms of Use, modified 2025-08-05
- GitHub Advisory Database: [GHSA-x56v-x2h6-7j34](https://github.com/advisories/GHSA-x56v-x2h6-7j34), CC-BY-4.0, modified 2025-08-05
- NVD: [CVE-2025-54795](https://nvd.nist.gov/vuln/detail/CVE-2025-54795), Public domain, modified 2026-06-17

---

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