CVE-2026-45311: Vulnerability in deepseek-tui

Critical. CodeWhale is a DeepSeek + MiMo coding agent in terminal. From 0.3.0 to 0.8.23, the run_tests tool executes cargo test in the workspace with ApprovalRequirement::Auto, meaning it runs without any user approval prompt. cargo test compiles and executes arbitrary code: test binaries, build.rs build scripts, and proc macros. While auto-approving test execution is a deliberate design choice, it creates an inconsistency...

crates.io, npm, CWE-94

Exploitation
None confirmed
Severity
9.6 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-wx44-2q6h-j6p8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-94
Published
14 May 2026
Last change
26 Oct 2026
Ecosystem
crates.io, npm

Affected packages

Vulnerable version ranges and fixed releases

  • deepseek-tui crates.io, Affected from 0.3.0 before 0.8.23. Fixed in 0.8.23
  • deepseek-tui-cli crates.io, Affected from 0.3.0 before 0.8.23. Fixed in 0.8.23
  • deepseek-tui npm, Affected from 0.3.0 before 0.8.23. Fixed in 0.8.23

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes