Technical impact
The vulnerability arises from the /api/server-folders and /api/server-folders/download endpoints in CAST Imaging, which accept user‑supplied filesystem paths without proper sanitization or boundary checks. An authenticated attacker can supply crafted paths to traverse the server file system, use the exposed “ls” command to enumerate directories, and retrieve files outside the intended workspace, such as /etc/passwd. Additionally, certain system commands can be executed at the specified location, effectively providing remote code execution capabilities.
Affected Systems
The issue has been confirmed in version 3.6.2 of CAST Imaging; the vendor indicates that the flaw is fixed in newer releases but does not publish a precise affected‑version range. Therefore, any installation of CAST Imaging 3.6.2 or earlier that still exposes the vulnerable endpoints is susceptible.
Risk and Exploitability
With a CVSS score of 8.3, the vulnerability is classified as high severity. The EPSS score is unavailable, and the vulnerability is not listed in CISA’s KEV catalog, indicating no widely known public exploits at this time. However, because the flaw requires only an authenticated session and the endpoints are typically accessible over a network, an attacker with valid credentials can launch the path traversal and RCE attack remotely.