Arbitrary Code Injection Affecting deepseek-tui package, versions <0.8.26


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-DEEPSEEKTUI-16726227
  • published17 May 2026
  • disclosed14 May 2026
  • credit47Cid

Introduced: 14 May 2026

NewCVE-2026-45374  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade deepseek-tui to version 0.8.26 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection in the task_create process, where sub-agents inherit insecure default settings for shell access and auto-approval. An attacker can execute arbitrary shell commands by crafting malicious instructions in project files that are followed without explicit user approval.

CVSS Base Scores

version 4.0
version 3.1