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.
Severity (CVSS)
| Base score | 8.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-22 — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Hmbown | CodeWhale | 0.8.32 to <0.8.41; 0.8.41 |
| Hmbown | CodeWhale | 0.8.32 to <0.8.41; 0.8.41 |
| Hmbown | CodeWhale | 0.8.41 to <0.8.64; 0.8.64 |
| Hmbown | CodeWhale | 0.8.41 to <0.8.64; 0.8.64 |
References
- https://github.com/Hmbown/CodeWhale/security/advisories/GHSA-w7wx-5q49-r59w (vendor-advisory)
- https://github.com/Hmbown/CodeWhale/commit/26de44a8bd5051f8f944ea60b2c37ae1d2b7d25e (patch)
- https://www.vulncheck.com/advisories/codewhale-before-path-traversal-via-image-analyze-symlink (third-party-advisory)
Generated from the official CVE List on 19 Aug 2026 07:05 UTC.