---
id: CVE-2026-75859
title: >-
  CodeWhale versions before 0.8.64 fail to validate file paths in the project
  config instructions field, allowing attackers to read arbitrary files on the
  victim's system
summary: >-
  CodeWhale versions before 0.8.64 fail to validate file paths in the project
  config instructions field, allowing attackers to read arbitrary files on the
  victim's system. A malicious .codewhale/config.toml file in a cloned
  repository can …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
  - CWE-200
vendor: deepseek-tui
product: deepseek-tui
affected:
  - 'deepseek-tui >= 0.8.8, < 0.8.41'
  - 'deepseek-tui >= 0.8.8, < 0.8.41'
  - 'codewhale-tui >= 0.8.41, < 0.8.64'
  - 'codewhale >= 0.8.41, < 0.8.64'
patched:
  - deepseek-tui 0.8.41
  - codewhale-tui 0.8.64
  - codewhale 0.8.64
published: '2026-08-18'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:32:39.347'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75859'
references:
  - url: >-
      https://github.com/Hmbown/CodeWhale/commit/43563356b98c6b993085554da82e77370160a31c
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-62f5-cp2p-vq95
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/codewhale-before-arbitrary-file-read-via-instructions
    label: disclosure@vulncheck.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75859'
  - url: 'https://github.com/advisories/GHSA-62f5-cp2p-vq95'
tags:
  - nvd
  - ghsa
  - rust
epss: 0.0053
epssPercentile: 0.42296
aliases:
  - GHSA-62f5-cp2p-vq95
ecosystem: rust
ingestedAt: '2026-09-04T18:25:57.262Z'
---

## Overview

CodeWhale versions before 0.8.64 fail to validate file paths in the project config instructions field, allowing attackers to read arbitrary files on the victim's system. A malicious .codewhale/config.toml file in a cloned repository can specify paths outside the workspace that are read and injected into the AI system prompt for exfiltration.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-75859)

Affected packages:

- `deepseek-tui >= 0.8.8, < 0.8.41`
- `deepseek-tui >= 0.8.8, < 0.8.41`
- `codewhale-tui >= 0.8.41, < 0.8.64`
- `codewhale >= 0.8.41, < 0.8.64`

Patched in:

- `deepseek-tui 0.8.41`
- `codewhale-tui 0.8.64`
- `codewhale 0.8.64`

Source: https://github.com/advisories/GHSA-62f5-cp2p-vq95
