News · DiggingBeagle record

A scheduled CodeWhale task could regain auto-approval after a safer default

CVE-2026-83817 followed an omitted setting through persisted automation state and showed how future mutating tool calls could run without renewed consent after a schedule was approved once.

Published
Nov 20, 2026

The report

A user might approve the creation of a recurring maintenance task while expecting later code changes to request authorization. In affected CodeWhale releases, that expectation could fail because the scheduler interpreted an omitted auto_approve value differently from the ordinary task-creation path. The maintainer advisory traces this mismatch through stored automation settings and task replay.

The default changed when the job resumed

The direct task API had been hardened to treat a missing approval setting as false. The automation layer retained a true default, however, and passed that value into later task executions. As a result, some file and repository mutations could proceed without an additional interactive decision. More sensitive destructive and secret-related operations still faced separate restrictions, and shell execution required its own permission setting.

The prerequisite is important: the scenario assumes a person had approved creation of the scheduled task. It does not demonstrate an agent silently creating arbitrary scheduled jobs or bypassing every runtime safeguard. Affected CodeWhale versions run through 0.8.67, with the reported fix in 0.9.0.

The other November CodeWhale finding concerns executable search flags inside a single command; it is not this scheduler persistence error. For a defensible approval model, the saved record needs to preserve exact future authority, and resumption must not broaden it through a convenience default. Upgrade behavior for previously saved jobs remains a separate verification question.

Research behind this