{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45374","id":"CVE-2026-45374","title":"CodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files","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::Req","descriptionLong":"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.","published":"2026-05-28T17:26:42.979Z","updated":"2026-10-28T02:30:23.361108127Z","reserved":"2026-05-12T00:51:29.086Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Hmbown CodeWhale"],"affectedProducts":[{"vendor":"Hmbown","product":"CodeWhale","defaultStatus":null,"versions":[{"version":"< 0.8.26","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"deepseek-tui","purl":"pkg:cargo/deepseek-tui","ranges":["<0.8.26"],"fixed":["0.8.26"],"advisory":"GHSA-72w5-pf8h-xfp4"}],"cwes":["CWE-94"],"aliases":["GHSA-72w5-pf8h-xfp4"],"references":[{"url":"https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-72w5-pf8h-xfp4","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.26","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45374.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45374","tags":["advisory"]},{"url":"https://github.com/Hmbown/DeepSeek-TUI/security/advisories/GHSA-72w5-pf8h-xfp4","tags":["web"]},{"url":"https://github.com/Hmbown/DeepSeek-TUI","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00387,"epssPercentile":0.33575,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45374","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45374","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45374","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-72w5-pf8h-xfp4","ok":true,"note":"GHSA-72w5-pf8h-xfp4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45374","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}