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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Hmbown | CodeWhale | 0.8.32 – < 0.8.41, 0.8.41 – < 0.8.64 | 0.8.41 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | codewhale-tui | >= 0.8.41, < 0.8.64 | 0.8.64 | GHSA-w7wx-5q49-r59w |
| crates.io | deepseek-tui | >= 0.8.32, <= 0.8.41 | — | GHSA-w7wx-5q49-r59w |
| npm | codewhale | >= 0.8.41, < 0.8.64 | 0.8.64 | GHSA-w7wx-5q49-r59w |
| npm | deepseek-tui | >= 0.8.32, < 0.8.41 | 0.8.41 | GHSA-w7wx-5q49-r59w |
References
- GitHub Security Advisory (GHSA-w7wx-5q49-r59w) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: CodeWhale before 0.8.64 Path Traversal via image_analyze symlink third-party-advisory