{"id":"CVE-2026-45374","published":"2026-05-28T17:26:42Z","modified":"2026-05-30T02:04:52Z","title":"CodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files","vendor":"Hmbown","product":"CodeWhale","tier":"tail","description":{"text":"CodeWhale is a DeepSeek + MiMo coding agent in terminal. Prior to 0.8.26, the task_create tool spawns durable sub-agents that inherit two insecure defaults, allow_shell defaults to true (config.rs:1499: self.allow_shell.unwrap_or(true)) and auto_approve defaults to true (task_manager.rs:297: auto_approve: Some(true)). When a user approves a task_create call (which requires ApprovalRequirement::Required), they approve what appears to be a benign work prompt. However, the spawned sub-agent silently receives unrestricted, unapproved shell access. This vulnerability is fixed in 0.8.26.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00387,"percentile":0.33709,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-72w5-pf8h-xfp4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.26","tags":["x_refsource_MISC"]}],"priority":{"score":13.5,"factors":[{"name":"EPSS percentile","points":6.74},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"hmbown","affectedVersions":[{"vendor":"Hmbown","product":"CodeWhale","versions":["< 0.8.26"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-30T02:04:28.787540Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deepseek-tui","vulnerableRanges":["<0.8.26"],"patched":["0.8.26"],"from":["GHSA-72w5-pf8h-xfp4"],"provenance":"source"}],"summary":{"text":"CodeWhale, a DeepSeek and MiMo coding agent that runs in the terminal, has a flaw in its task_create tool, which spawns durable sub-agents that inherit insecure defaults that enable shell access and automatic approval. An attacker who can get content into the agent's context, such as through prompt injection in project files, can cause a sub-agent to run shell commands with unrestricted access, provided the user approves the task_create call, which appears to be a benign work prompt.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:28Z"},"euvd":{"id":"EUVD-2026-32962","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-45310","published":"2026-05-28","fixed":"0.8.22","kev":false},{"cve":"CVE-2026-45311","published":"2026-05-28","fixed":"0.8.23","kev":false,"link":{"from":"CVE-2026-45311","to":"CVE-2026-45374","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deepseek-tui","fromFixed":"0.8.23","toFixed":"0.8.26","daysApart":0}]}},{"cve":"CVE-2026-45373","published":"2026-05-28","fixed":"0.8.26","kev":false},{"cve":"CVE-2026-45374","published":"2026-05-28","fixed":"0.8.26","kev":false},{"cve":"CVE-2026-75859","published":"2026-08-18","fixed":"0.8.41","kev":false}],"package":"crates.io:deepseek-tui"}}