Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconPublish repo with image-extension symlink
-
DeliveryVictim clones malicious repository
-
ExploitVictim opens project in CodeWhale
-
Installimage_analyze tool invoked on symlink
-
C2OS resolves symlink to target file
-
ExecuteTarget file bytes transmitted to vision endpoint
-
ImpactSensitive 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Network delivery via crafted repo, but user must open project (UI:R); no privileges on victim system needed; confidentiality only.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Apply vendor patch: upgrade to CodeWhale 0.8.64 or later.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Server-side request forgery in CodeWhale before 0.8.64 lets remote attackers reach internal-only IP addresses through th
Environment variable inheritance in CodeWhale's js_execution tool prior to version 0.8.64 allows crafted JavaScript payl
Arbitrary file read in CodeWhale before version 0.8.64 allows an attacker to exfiltrate files from a developer's worksta
Argument injection in CodeWhale's git_show tool (versions 0.8.41-0.8.63) allows an attacker to cause arbitrary file writ
Remote code execution in CodeWhale (packages codewhale and codewhale-tui) versions 0.8.41 through 0.8.63 allows an attac
Shell command injection in CodeWhale before version 0.8.64 enables arbitrary code execution on a victim developer's mach
Argument injection in CodeWhale versions before 0.8.64 exposes arbitrary files on the host system by accepting unsanitiz
Prompt-injection-driven privilege escalation in CodeWhale 0.8.41-0.8.63 allows an attacker who can place malicious instr
Arbitrary external program execution on the developer host is achievable through CodeWhale (DeepSeek/MiMo terminal codin
CodeWhale's automation subsystem resolves an omitted auto_approve setting to true, so a single approved automation_creat
EUVD-2026-60972
GHSA-w7wx-5q49-r59w
NVD
CVE.org
EPSS
Exploit-DB