{"id":"CVE-2026-83817","kind":"vulnerability","aliases":["CVE-2026-83817"],"related":[],"title":"CodeWhale: omitted automation setting silently approves mutating tools","description":"CodeWhale is a DeepSeek and MiMo coding agent for the terminal. Prior to 0.9.0, DEFAULT_AUTOMATION_AUTO_APPROVE caused AutomationRecord::task_auto_approve to resolve an omitted setting to true, and the automation_create schema advertised the same insecure default. enqueue_run_task converted that omission into an explicit true value, bypassing the safer task-path fallback and selecting ApprovalMode::Bypass for each scheduled run. After a user approved creation of an apparently benign recurring automation, subsequent executions could silently authorize mutating tools without a human present, and an automation created with shell access could repeatedly execute commands. This issue is fixed in version 0.9.0.","summary":"CodeWhale is a terminal coding agent for DeepSeek and MiMo models. Before 0.9.0, recurring automations created without an explicit setting defaulted to auto-approving every run, so later scheduled runs could execute mutating and shell tools without a human approving them.","severity":"high","cvss":7.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["ai-tooling","codewhale","coding-agent","deepseek","mimo","terminal"],"not_affected_if":["no-automations","version-0.9.0-or-later"],"how_to_check":"- Check the installed CodeWhale version with the tool's version command; anything below `0.9.0` is affected.\n- Review existing automations created before the upgrade for any that have shell or mutating tool access.","fix":"- CodeWhale: move to `0.9.0` or later.","status":"open","published_at":"2026-11-16T19:17:53+00:00","first_seen_at":"2026-11-16T19:38:24+00:00","triaged_at":"2026-11-16T19:39:26+00:00","updated_at":"2026-11-16T19:39:26+00:00","category":"ai-tooling","confidence":0.7,"triage":{"at":"2026-11-16T19:39:26Z","model":"claude-haiku-5-5","output":{"fix":"- CodeWhale: move to `0.9.0` or later.","reach":"local","title":"CodeWhale: omitted automation setting silently approves mutating tools","impact":"high","summary":"CodeWhale is a terminal coding agent for DeepSeek and MiMo models. Before 0.9.0, recurring automations created without an explicit setting defaulted to auto-approving every run, so later scheduled runs could execute mutating and shell tools without a human approving them.","audience":"developers","category":"ai-tooling","nicknames":[],"who_cares":["codewhale","coding-agent","deepseek","mimo","terminal"],"confidence":0.7,"fix_status":"available","needs_auth":"no","worst_case":"Scheduled runs execute shell commands and mutating tools without human approval.","analyst_note":"","how_to_check":"- Check the installed CodeWhale version with the tool's version command; anything below `0.9.0` is affected.\n- Review existing automations created before the upgrade for any that have shell or mutating tool access.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["version-0.9.0-or-later","no-automations"],"who_is_affected":"Teams that run CodeWhale to create scheduled or recurring automations, especially ones given shell or mutating tool access. Interactive use without automations is not described as affected by the sources.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000725,"input_tokens":4734,"output_tokens":504,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-2026':10A,13A '-83817':11A,14A '0.9.0':37B,79C,171C 'access':160C 'advertis':101C 'agent':21B,30B,73C 'ai':16B 'ai-tool':15B 'appar':139C 'approv':6A,49B,65B,83C,88C,135C 'approvalmod':126C 'author':147C 'auto':48B,82C,87C 'auto-approv':47B 'autom':3A,39B,81C,98C,142C,156C 'automationrecord':85C 'benign':140C 'bypass':117C,127C 'caus':84C 'code':20B,29B,72C 'codewhal':1A,18B,25B,66C 'coding-ag':19B 'command':164C 'convert':109C 'could':56B,145C,161C 'creat':40B,99C,157C 'creation':136C 'cve':9A,12A 'deepseek':22B,32B,69C 'default':45B,80C,105C 'enqueu':106C 'everi':50B 'execut':57B,144C,163C 'explicit':43B,114C 'fallback':123C 'fix':168C 'human':64B,152C 'insecur':104C 'issu':166C 'later':53B 'mimo':23B,34B,71C 'model':35B 'mutat':7A,58B,148C 'omiss':111C 'omit':2A,92C 'path':122C 'present':153C 'prior':77C 'recur':38B,141C 'repeat':162C 'resolv':90C 'run':51B,55B,107C,131C 'safer':119C 'schedul':54B,130C 'schema':100C 'select':125C 'set':4A,44B,93C 'shell':60B,159C 'silent':5A,146C 'subsequ':143C 'task':86C,108C,121C 'task-path':120C 'termin':24B,28B,76C 'tool':8A,17B,61B,149C 'true':95C,115C 'user':134C 'valu':116C 'version':170C 'without':41B,62B,150C","nicknames":[],"mitigations":[],"who_affected":"Teams that run CodeWhale to create scheduled or recurring automations, especially ones given shell or mutating tool access. Interactive use without automations is not described as affected by the sources.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["aitooling","codewhale","codingagent","deepseek","high","mimo","terminal"],"campaign_type":null,"search_a":"'-2026':10A,13A '-83817':11A,14A 'approv':6A 'autom':3A 'codewhal':1A 'cve':9A,12A 'mutat':7A 'omit':2A 'set':4A 'silent':5A 'tool':8A","search_b":"'0.9.0':37B 'agent':21B,30B 'ai':16B 'ai-tool':15B 'approv':49B,65B 'auto':48B 'auto-approv':47B 'autom':39B 'code':20B,29B 'codewhal':18B,25B 'coding-ag':19B 'could':56B 'creat':40B 'deepseek':22B,32B 'default':45B 'everi':50B 'execut':57B 'explicit':43B 'human':64B 'later':53B 'mimo':23B,34B 'model':35B 'mutat':58B 'recur':38B 'run':51B,55B 'schedul':54B 'set':44B 'shell':60B 'termin':24B,28B 'tool':17B,61B 'without':41B,62B","search_c":"'0.9.0':79C,171C 'access':160C 'advertis':101C 'agent':73C 'appar':139C 'approv':83C,88C,135C 'approvalmod':126C 'author':147C 'auto':82C,87C 'autom':81C,98C,142C,156C 'automationrecord':85C 'benign':140C 'bypass':117C,127C 'caus':84C 'code':72C 'codewhal':66C 'command':164C 'convert':109C 'could':145C,161C 'creat':99C,157C 'creation':136C 'deepseek':69C 'default':80C,105C 'enqueu':106C 'execut':144C,163C 'explicit':114C 'fallback':123C 'fix':168C 'human':152C 'insecur':104C 'issu':166C 'mimo':71C 'mutat':148C 'omiss':111C 'omit':92C 'path':122C 'present':153C 'prior':77C 'recur':141C 'repeat':162C 'resolv':90C 'run':107C,131C 'safer':119C 'schedul':130C 'schema':100C 'select':125C 'set':93C 'shell':159C 'silent':146C 'subsequ':143C 'task':86C,108C,121C 'task-path':120C 'termin':76C 'tool':149C 'true':95C,115C 'user':134C 'valu':116C 'version':170C 'without':150C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-12T12:23:33+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-83817","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-83817","severity":null,"published_at":"2026-11-16T19:17:53+00:00","modified_at":"2026-11-16T19:17:53+00:00","first_seen_at":"2026-11-16T19:38:24+00:00","fetched_at":"2026-11-16T19:38:24+00:00","note":null}],"documents":[{"id":172015,"url":"https://github.com/codewhale-hq/Codewhale/commit/208421b9d23d81cea3311a1eeb2a2ea81d637686","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":172016,"url":"https://github.com/codewhale-hq/Codewhale/releases/tag/v0.9.0","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":172020,"url":"https://github.com/codewhale-hq/Codewhale/security/advisories/GHSA-8hp3-xxrg-v9c8","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-12T12:23:33+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}