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

CVE-2026-75859: CodeWhale: Project config `instructions` override enables arbitrary file read into AI system prompt via cloned repository

September 4, 2026

A malicious .codewhale/config.toml or .deepseek/config.toml committed to a repository can set instructions to an array of arbitrary file paths (including paths outside the workspace like ~/.ssh/id_rsa or ~/.aws/credentials) that are read from disk and injected into the AI model’s system prompt. There is no path validation, workspace boundary check, or tightening guard on the instructions field. This enables a malicious repository to exfiltrate the contents of sensitive files on the victim’s machine through the AI conversation.

References

  • github.com/Hmbown/CodeWhale/commit/43563356b98c6b993085554da82e77370160a31c
  • github.com/Hmbown/CodeWhale/security/advisories/GHSA-62f5-cp2p-vq95
  • github.com/advisories/GHSA-62f5-cp2p-vq95
  • nvd.nist.gov/vuln/detail/CVE-2026-75859
  • www.vulncheck.com/advisories/codewhale-before-arbitrary-file-read-via-instructions

Code Behaviors & Features

Detect and mitigate CVE-2026-75859 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 starting from 0.8.8 before 0.8.41

Fixed versions

  • 0.8.41

Solution

Upgrade to version 0.8.41 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/deepseek-tui/CVE-2026-75859.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:10 +0000.