Description
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.
Published: 2026-08-18
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

CodeWhale versions before 0.8.64 contain a path traversal flaw in the image_analyze tool that allows an attacker to create a symbolic link inside the workspace pointing to any file with an image extension. When the tool processes the link, it reads the target file without canonicalizing symlinks, causing the file contents to be transmitted to the vision endpoint. This can leak arbitrary file bytes without user consent.

Affected Systems

The vulnerability affects all releases of Hmbown’s CodeWhale prior to version 0.8.64. The issue is limited to the image_analyze component and does not depend on other product modules.

Risk and Exploitability

With a CVSS score of 8.7 the flaw is considered a high‑severity vulnerability. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalogue. The attack requires that the attacker be able to create or manipulate symlinks within a CodeWhale workspace, which may be achieved by an authenticated user or by compromising the workspace environment. If exploited, the attacker can read sensitive files and exfiltrate data through the vision API.

Generated by OpenCVE AI on August 18, 2026 at 16:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade CodeWhale to version 0.8.64 or later, which removes the path traversal handling flaw.
  • If an upgrade cannot be performed immediately, disable or remove symbolic links from CodeWhale workspaces and restrict the use of the image_analyze service until the patch is applied.
  • Verify that workspace directories do not contain external symlinks pointing to confidential files and enforce appropriate file system permissions to limit read access.

Generated by OpenCVE AI on August 18, 2026 at 16:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w7wx-5q49-r59w CodeWhale: image_analyze follows workspace symlinks, leaking external file bytes
History

Tue, 18 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Hmbown
Hmbown codewhale
Vendors & Products Hmbown
Hmbown codewhale

Tue, 18 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title CodeWhale before 0.8.64 Path Traversal via image_analyze symlink
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Hmbown Codewhale
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-20T15:24:01.425Z

Reserved: 2026-08-18T15:05:54.225Z

Link: CVE-2026-75914

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-18T16:18:23.840

Modified: 2026-08-20T16:18:04.770

Link: CVE-2026-75914

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T17:30:15Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')