Skip to content

An editorial team and a community building with AI

← All articles

News · GitHub Security Advisories / CodeWhale · 2 min read

Event date: · Published:

Two CodeWhale auto-approve flaws enabled unattended remote code execution

GitHub Security Advisories disclosed two CodeWhale vulnerabilities on November 19, 2026, showing how prompt injection could trigger silent remote code execution through auto-approved shell commands and automation defaults.

GitHub Security Advisories disclosed two vulnerabilities in the CodeWhale AI coding agent CLI/TUI tool on November 19, 2026, detailed in the GHSA-3mgh-93r5-r7jf advisory. Together, the two flaws let prompt injection trigger arbitrary command execution without any approval prompt, enabling silent, unattended remote code execution on machines running the agent.

The two flaws

  • GHSA-3mgh-93r5-r7jf (CVE-2026-83816) has a CVSS score of 8.1 (High)
  • GHSA-8hp3-xxrg-v9c8 (CVE-2026-83817) has a CVSS score of 7.5 (High)
  • Both affect the codewhale npm package and the codewhale-tui Rust crate in versions up to 0.8.67, fixed in version 0.9.0
  • CVE-2026-83816: commands such as fd -x, rg --pre, and git grep --open-files-in-pager are misclassified as parallel-readonly and auto-approved, letting prompt injection trigger silent arbitrary command execution
  • CVE-2026-83817: an omitted auto_approve setting resolves to true instead of false, re-enabling unattended remote code execution on scheduled automation runs
  • CVE-2026-83817 is noted as bypassing an earlier fix tracked as CVE-2026-45374

What it means for people who build with AI

The flaws show how permission-classification bugs in an AI coding agent can turn routine automation into unattended remote code execution, a recurring risk pattern for anyone running autonomous coding agents with shell access. A builder who lets CodeWhale auto-approve commands it labels read-only, or who schedules it for unattended automation runs, could have arbitrary commands executed on their system through nothing more than a crafted prompt, with no approval step ever shown.

Fix availability

Both issues are fixed in CodeWhale version 0.9.0. The advisories were published to the GitHub Advisory Database on November 19, 2026, with the automation default covered separately in the GHSA-8hp3-xxrg-v9c8 advisory.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Two CodeWhale auto-approve flaws enabled unattended remote code execution | vibecoding.inc