# CVE-2026-45374: CodeWhale: task_create Insecure Defaults Enable RCE via Prompt Injection in Project Files

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-14T20:29:52.000Z
- Modified: 2026-10-26T13:10:00.140Z
- Also known as: GHSA-72w5-pf8h-xfp4
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Hmbown CodeWhale: < 0.8.26
- deepseek-tui (crates.io): before 0.8.26

## Every score

- GitHub_M: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-72w5-pf8h-xfp4> (exploit, web)
- <https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.26> (web)
- <https://github.com/Hmbown/DeepSeek-TUI/security/advisories/GHSA-72w5-pf8h-xfp4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45374> (advisory)
- <https://github.com/Hmbown/DeepSeek-TUI> (package)

## Sources

- CVE List: [CVE-2026-45374](https://www.cve.org/CVERecord?id=CVE-2026-45374), CVE Terms of Use, modified 2026-05-30
- GitHub Advisory Database: [GHSA-72w5-pf8h-xfp4](https://github.com/advisories/GHSA-72w5-pf8h-xfp4), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2026-45374](https://nvd.nist.gov/vuln/detail/CVE-2026-45374), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-45374 · Whole record: https://cve.day/CVE-2026-45374.json · Rebuilt by cve.day 2026-11-25T22:59:22.994Z
