Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. deepseek-tui
  4. ›
  5. CVE-2026-45374

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

May 14, 2026 (updated June 9, 2026)

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))
  • 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 (e.g., “fix TODOs and write a README”). However, the spawned sub-agent silently receives unrestricted, unapproved shell access. Neither allow_shell nor auto_approve need to be explicitly specified by the model and both default to true.

References

  • github.com/Hmbown/CodeWhale/security/advisories/GHSA-72w5-pf8h-xfp4
  • github.com/Hmbown/DeepSeek-TUI/releases/tag/v0.8.26
  • github.com/Hmbown/DeepSeek-TUI/security/advisories/GHSA-72w5-pf8h-xfp4
  • github.com/advisories/GHSA-72w5-pf8h-xfp4
  • nvd.nist.gov/vuln/detail/CVE-2026-45374

Code Behaviors & Features

Detect and mitigate CVE-2026-45374 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.8.26

Fixed versions

  • 0.8.26

Solution

Upgrade to version 0.8.26 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

cargo/deepseek-tui/CVE-2026-45374.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.