CVE-2026-109858: Multiple Path Traversal vulnerabilities in CAST Imaging
CAST Imaging has multiple path traversal vulnerabilities in various endpoints. The application does not properly validate the path parameters, allowing an authenticated attacker to use "../" sequences to escape the intended directory and read arbitrary files.
Critically, by reading "/proc/self/environ", the attacker can obtain environment variables containing sensitive credentials such as Keycloak and PostgreSQL passwords, leading to full server compromise and administrative access.
The vulnerability has only been confirmed in version 3.6.2 but may also affect other versions. The vendor did not provide the affected version range, but assured that the vulnerability is fixed "in newer versions".
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be authenticated to the CAST Imaging application and able to reach vulnerable endpoints that accept path parameters. The provided information does not indicate that unauthenticated attackers can exploit it.
What is the practical impact after successful file disclosure?
Reading /proc/self/environ can expose environment variables containing sensitive credentials, including Keycloak and PostgreSQL passwords. Those credentials may enable administrative access and full server compromise.
Which versions should be treated as potentially affected?
The issue is confirmed in CAST Imaging version 3.6.2. The vendor did not provide a complete affected-version range, so other versions cannot be ruled out; the vendor states that newer versions contain a fix.
How can I determine whether my deployment is exposed?
Confirm whether the deployed CAST Imaging version is 3.6.2 or another version without confirmation that it is among the vendor's newer fixed releases. Also review whether authenticated users can access endpoints with path parameters, since those endpoints are described as vulnerable.