Skip to content
HighVulnerabilityLLM-specific

GHSA-3mgh-93r5-r7jf: CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

Published
Record updated
View JSON
Affected
  • codewhale <= 0.8.67
  • codewhale-tui <= 0.8.67
Fixed in
0.9.0
  • codewhale 0.9.0 released July 16, 2026, 126 days before disclosure
  • codewhale-tui 0.9.0 released July 16, 2026, 126 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

CodeWhale 0.8.67 and earlier auto-approve certain exec_shell commands because the parallel-readonly classifier allowlists fd, rg and git grep, whose exec-style flags (fd -x, rg --pre, git grep --open-files-in-pager) run arbitrary external programs without shell metacharacters. The flaw bypasses the approval prompt in the default interactive Agent profile, enabling silent arbitrary program execution on the developer host, reachable via indirect prompt injection.

Mitigation

Fixed in 0.9.0 (commit 208421b9d23d81cea3311a1eeb2a2ea81d637686). Users should upgrade to 0.9.0 or later.