Skip to content
codewhale-hq/Codewhale·Indexed by this site · Originally published· Event →SelectedAttention39

CodeWhale fixes approval bypass vulnerability caused by read-only classification

AI summary

CodeWhale (DeepSeek-TUI) released security advisory GHSA-3mgh-93r5-r7jf (CVE-2026-83816): versions 0.8.67 and earlier, under the default interactive agent configuration, can be induced to execute arbitrary programs without approval, fixed in 0.9.0. The product documentation promises that every shell command requires approval, but a parallel read-only classifier downgrades fd, rg, and git grep commands to automatic approval, and these tools can execute arbitrary external programs through their own parameters such as fd -x, rg --pre, and git grep --open-files-in-pager, without shell metacharacters, and without prompting even if the user has not enabled YOLO. An attacker using indirect prompt injection in repository files, issues, or web pages to induce the model to issue such commands can silently execute arbitrary programs on the developer's host; the advisory states that this belongs to the same silent RCE category as CVE-2026-45311, but via another unpatched tool and code path.

Why it was selected

The advisory breaks down the bypass chain item by item, from prompt injection to approval-free execution of arbitrary programs; agent projects that likewise use read-only classification to automatically allow commands can check their own allowlists against it.

Read originalgithub.com