CVE-2025-54795
criticalpriority · attend · 49EPSS 0.010 · 64 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.4–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (4)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-x56v-x2h6-7j34Claude Code echo command allowed bypass of user approval prompt for command execution2025-08-04ghsa · osvUS
Due to an error in command parsing, it was 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. Users on standard Claude Code auto-update received this fix automatically after release. Current users of Claude Code are unaffected, as versions prior to 1.0.24 are deprecated and have been forced to update. Thank you to Elad Beber (Cymulate) for reporting this issue!
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-54795cnnvd
- https://github.com/anthropics/claude-codePatchcnnvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-x56v-x2h6-7j34cnnvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-x56v-x2h6-7j34enisa_euvd
- https://github.com/anthropics/claude-code/security/advisories/GHSA-x56v-x2h6-7j34Vendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan