{"id":78976,"date":"2026-05-28T21:46:35","date_gmt":"2026-05-28T18:16:35","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-45374-codewhale-task_create-insecure-defaults-enable-rce-via-prompt-injection-in-project-files\/"},"modified":"2026-05-28T21:46:35","modified_gmt":"2026-05-28T18:16:35","slug":"cve-2026-45374-codewhale-task_create-insecure-defaults-enable-rce-via-prompt-injection-in-project-files","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-45374-codewhale-task_create-insecure-defaults-enable-rce-via-prompt-injection-in-project-files\/","title":{"rendered":"CVE-2026-45374 &#8211; CodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files"},"content":{"rendered":"<p>CVE ID :CVE-2026-45374<\/p>\n<p>  Published : May 28, 2026, 6:16 p.m. | 15\u00a0minutes ago<\/p>\n<p>  Description :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.<\/p>\n<p>  Severity: 9.6 | CRITICAL<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-45374 Published : May 28, 2026, 6:16 p.m. | 15\u00a0minutes ago Description :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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78976","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78976"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78976\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}