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

CVE-2026-75911: CodeWhale: Project config `allow_shell` override enables arbitrary shell command execution via cloned repository

September 4, 2026

A malicious .codewhale/config.toml or .deepseek/config.toml committed to a repository can silently set allow_shell = true for any user who clones and opens the repository in CodeWhale. This enables the AI model’s exec_shell tool, granting arbitrary shell command execution on the victim’s machine without the user’s explicit opt-in. The approval_policy and sandbox_mode fields correctly enforce tightening-only semantics from project config, but allow_shell has no such guard, contradicting the intent of GHSA-72w5-pf8h-xfp4 which established allow_shell as an opt-in security boundary.

References

  • github.com/Hmbown/CodeWhale/commit/43563356b98c6b993085554da82e77370160a31c
  • github.com/Hmbown/CodeWhale/security/advisories/GHSA-gx45-xrj5-g6c4
  • github.com/advisories/GHSA-gx45-xrj5-g6c4
  • nvd.nist.gov/vuln/detail/CVE-2026-75911
  • www.vulncheck.com/advisories/codewhale-before-remote-code-execution-via-allow-shell

Code Behaviors & Features

Detect and mitigate CVE-2026-75911 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.8.6 up to 0.8.41

Solution

Unfortunately, there is no solution available yet.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/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-75911.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:21:45 +0000.