Skip to main content

CodeWhale CVE-2026-75914

| EUVDEUVD-2026-60972 HIGH
Path Traversal (CWE-22)
2026-08-18 VulnCheck GHSA-w7wx-5q49-r59w
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Publish repo with image-extension symlink
  2. Delivery
    Victim clones malicious repository
  3. Exploit
    Victim opens project in CodeWhale
  4. Install
    image_analyze tool invoked on symlink
  5. C2
    OS resolves symlink to target file
  6. Execute
    Target file bytes transmitted to vision endpoint
  7. Impact
    Sensitive file contents exfiltrated

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a malicious symbolic link - with an image-compatible file extension - exist within the CodeWhale workspace directory at the time image_analyze is invoked. The most realistic delivery mechanism is a crafted repository (cloned or copied from an attacker-controlled source). The victim must be running CodeWhale in a session where image_analyze is active and processes the symlink-named file. Exploitation is limited by: (1) the attacker must be able to place or cause placement of the symlink in the workspace before analysis occurs; (2) the target file must be readable by the OS user running CodeWhale; (3) the file's bytes must be interpretable or useful after transmission to the vision endpoint. Non-default configurations are not required - this affects standard CodeWhale deployments. The CVSS 4.0 vector's PR:N and UI:N ratings reflect that no credentials on the victim system are needed and no additional interaction beyond opening the project is required at exploit time.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N) assigns network vector and no user interaction, which warrants scrutiny: placing a symlink in the workspace requires delivering a crafted repository to the victim (e.g., via git clone), implying some user action. A strict reading of the attack chain would likely set UI:A (active interaction) rather than UI:N, moderating the effective risk. No EPSS score was provided in the intelligence data, so probabilistic exploitation rate cannot be assessed quantitatively. The vulnerability is absent from CISA KEV and no public proof-of-concept has been identified at time of analysis - both signals reduce urgency relative to the raw CVSS score. Confidentiality impact is genuinely high: any file readable by the CodeWhale process can be silently exfiltrated through the vision endpoint. Integrity and availability are unaffected. The realistic threat actor is one who distributes malicious repositories targeting CodeWhale users - a supply-chain or social-engineering scenario - rather than opportunistic mass exploitation.

Exploit ScenarioDerived

An attacker publishes a git repository containing a file named screenshot.png that is actually a symbolic link targeting /etc/passwd or a user's SSH private key. A developer clones the repository and opens it in a vulnerable version of CodeWhale; the AI assistant's image_analyze tool processes the apparent image file, follows the symlink, reads the sensitive target file's bytes, and transmits them to the vision endpoint - all without any explicit user approval prompt. No public proof-of-concept code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 18, 2026

Unauthenticated file disclosure in CodeWhale before 0.8.64 allows arbitrary local file reads via the image_analyze tool's failure to resolve symbolic links before enforcing workspace boundaries. An attacker who can place a crafted symlink (named with an image extension) inside a victim's workspace - for example via a malicious git repository - can cause CodeWhale's vision endpoint to read and transmit the symlink target's bytes without user approval. No CISA KEV listing or public exploit has been identified, but the CVSS 4.0 score of 8.7 and high confidentiality impact make this a meaningful risk for developers who open untrusted projects in CodeWhale.

RemediationAI

Upgrade to CodeWhale 0.8.64 or later, which incorporates the fix from commit 26de44a8bd5051f8f944ea60b2c37ae1d2b7d25e (https://github.com/Hmbown/CodeWhale/commit/26de44a8bd5051f8f944ea60b2c37ae1d2b7d25e). The patch is confirmed available per vendor advisory at https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-w7wx-5q49-r59w. If immediate upgrade is not possible, the most effective compensating control is to avoid opening untrusted or externally sourced repositories in CodeWhale until patched; organizations can enforce this via policy restricting CodeWhale use to internally audited codebases. Disabling the image_analyze tool at the configuration level, if supported, would also eliminate the vulnerable code path without affecting other functionality - verify whether CodeWhale's tool permissions allow this. Note that simply auditing workspace contents for symlinks before use is operationally fragile and should not be relied upon as a sole control.

Affected VersionsENISA

CodeWhale 0.8.41 <0.8.64
CodeWhale 0.8.32 <0.8.41

Affected Packages

cargo codewhale fix: 0.8.64
cargo codewhale-tui fix: 0.8.64
cargo deepseek-tui fix: 0.8.41
npm codewhale fix: 0.8.64
npm codewhale-tui fix: 0.8.64
npm deepseek-tui fix: 0.8.41
euvd codewhale fix: 0.8.41, 0.8.64

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in cargo, npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CodeWhale (CPE: cpe:2.3:a:hmbown:codewhale:*:*:*:*:*:*:*:*) is a Rust-based TUI AI coding assistant. The vulnerable component is the image_analyze tool in crates/tui/src/vision/tools.rs. Prior to 0.8.64, path validation checked for explicit traversal components (RootDir, ParentDir, Prefix) using Path::components() but then joined the user-supplied path directly to the workspace root without calling canonicalize() - meaning symbolic links inside the workspace were followed by the OS after the boundary check passed. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) precisely describes this class: syntactic path validation is insufficient when the filesystem resolves indirection at read time. The fix in commit 26de44a8 introduces a resolve_image_path() helper that canonicalizes both the workspace root and the joined candidate path, then asserts the fully resolved path still falls under the workspace prefix - correctly defeating symlink escapes.

Know when Codewhale gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network delivery via crafted repo, but user must open project (UI:R); no privileges on victim system needed; confidentiality only.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

CodeWhale versions before 0.8.64 contain a path traversal vulnerability in the image_analyze tool that fails to canonicalize symlinks before reading files. Attackers can create workspace symlinks pointing to external files with image extensions to leak file bytes to the vision endpoint without user approval.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CodeWhale IDE extension versions before 0.8.64 contain an unauthenticated file disclosure vulnerability that allows attackers to extract sensitive files from developer computers through malicious code placed in git repositories. Development teams opening untrusted or external code face immediate risk of data exfiltration including proprietary source code, API credentials, and configuration secrets. Organizations must patch this widely-used extension across all developer workstations to eliminate this confidentiality exposure.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to CodeWhale 0.8.64 or later.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Prevalence
Rare
niche open-source TUI coding assistant, minimal enterprise footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2026-75856 CRITICAL POC
9.2 Aug 18

Server-side request forgery in CodeWhale before 0.8.64 lets remote attackers reach internal-only IP addresses through th

CVE-2026-75915 HIGH POC
8.7 Aug 18

Environment variable inheritance in CodeWhale's js_execution tool prior to version 0.8.64 allows crafted JavaScript payl

CVE-2026-75859 HIGH POC
8.7 Aug 18

Arbitrary file read in CodeWhale before version 0.8.64 allows an attacker to exfiltrate files from a developer's worksta

CVE-2026-75913 HIGH POC
8.5 Aug 18

Argument injection in CodeWhale's git_show tool (versions 0.8.41-0.8.63) allows an attacker to cause arbitrary file writ

CVE-2026-75858 HIGH POC
8.5 Aug 18

Remote code execution in CodeWhale (packages codewhale and codewhale-tui) versions 0.8.41 through 0.8.63 allows an attac

CVE-2026-75911 HIGH POC
8.5 Aug 18

Shell command injection in CodeWhale before version 0.8.64 enables arbitrary code execution on a victim developer's mach

CVE-2026-75912 HIGH POC
8.3 Aug 18

Argument injection in CodeWhale versions before 0.8.64 exposes arbitrary files on the host system by accepting unsanitiz

CVE-2026-75857 HIGH POC
7.3 Aug 18

Prompt-injection-driven privilege escalation in CodeWhale 0.8.41-0.8.63 allows an attacker who can place malicious instr

CVE-2026-83816 HIGH
8.1 Nov 16

Arbitrary external program execution on the developer host is achievable through CodeWhale (DeepSeek/MiMo terminal codin

CVE-2026-83817 HIGH
7.5 Nov 16

CodeWhale's automation subsystem resolves an omitted auto_approve setting to true, so a single approved automation_creat

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy