ghsa-x56v-x2h6-7j34
Vulnerability from github
Published
2025-08-04 15:18
Modified
2025-08-05 17:10
Severity ?
VLAI Severity ?
Summary
Claude Code echo command allowed bypass of user approval prompt for command execution
Details
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!
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@anthropic-ai/claude-code" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.0.20" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-54795" ], "database_specific": { "cwe_ids": [ "CWE-78" ], "github_reviewed": true, "github_reviewed_at": "2025-08-04T15:18:03Z", "nvd_published_at": "2025-08-05T01:15:42Z", "severity": "HIGH" }, "details": "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. \n\nUsers 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.\n\nThank you to Elad Beber (Cymulate) for reporting this issue!", "id": "GHSA-x56v-x2h6-7j34", "modified": "2025-08-05T17:10:38Z", "published": "2025-08-04T15:18:03Z", "references": [ { "type": "WEB", "url": "https://github.com/anthropics/claude-code/security/advisories/GHSA-x56v-x2h6-7j34" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54795" }, { "type": "PACKAGE", "url": "https://github.com/anthropics/claude-code" } ], "schema_version": "1.4.0", "severity": [ { "score": "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", "type": "CVSS_V4" } ], "summary": "Claude Code echo command allowed bypass of user approval prompt for command execution" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…