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

CVE-2026-75857: CodeWhale: exec_shell_interact sends LLM-controlled input to a running shell without an approval prompt (privilege escalation)

September 4, 2026

exec_shell is correctly approval-gated. Its sibling exec_shell_interact returns ApprovalRequirement::Auto, so when the model writes input into a shell the user already approved (a python3 -i REPL, mysql, ssh, sudo -i, etc.), no prompt fires. Inside those processes, “stdin” is the command surface, so the model gets to run commands at whatever privilege that process holds. The user approved opening the shell once, for a stated purpose; the input that then runs in it is chosen by the model, and can be steered by any prompt injection the agent ingests afterward.

References

  • github.com/Hmbown/CodeWhale/commit/57f3c89471e27ac4032d9791f6885e5d4408c381
  • github.com/Hmbown/CodeWhale/security/advisories/GHSA-g29h-pfmp-qp9r
  • github.com/advisories/GHSA-g29h-pfmp-qp9r
  • nvd.nist.gov/vuln/detail/CVE-2026-75857
  • www.vulncheck.com/advisories/codewhale-before-privilege-escalation-via-exec-shell-interact

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.3.10 up to 0.8.41

Solution

Unfortunately, there is no solution available yet.

Impact 7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:20:24 +0000.