CVE-2025-54795
CRITICALClaude Code < 1.0.20 - OS Command Injection via Confirmation Prompt Bypass
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2025-54795. PoCs published by dial481, alonisser.
AI-analyzed exploit summary This repository provides a functional reimplementation of the Ralph Wiggum autonomous loop technique for Claude Code, bypassing security restrictions introduced in CVE-2025-54795 by avoiding direct bash execution in command files and instead using a separate stop hook script.
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.
Exploits (2)
This repository provides a functional reimplementation of the Ralph Wiggum autonomous loop technique for Claude Code, bypassing security restrictions introduced in CVE-2025-54795 by avoiding direct bash execution in command files and instead using a separate stop hook script.
This repository provides a functional reimplementation of the Ralph Wiggum autonomous loop technique for Claude Code, bypassing security restrictions introduced in CVE-2025-54795 by avoiding direct bash execution in command files and instead using a separate stop hook script.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H