CVE-2026-109857: Authentication Bypass in CAST Imaging
CAST Imaging is vulnerable to authentication bypass in the TenantFilter class. The TenantFilter processes the X-ISSUER-LOCATION HTTP header and dynamically registers an OpenID Connect issuer based on its value. An unauthenticated remote attacker can register a malicious identity provider, create users matching existing administrative usernames, and obtain valid JWTs which will be accepted by the application. This results in complete authentication bypass and privilege escalation to 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
What does an attacker need to exploit this issue?
An attacker only needs remote, unauthenticated access to the application and the ability to supply the X-ISSUER-LOCATION HTTP header. They can point this header to a malicious OpenID Connect issuer, obtain JWTs for usernames matching administrative accounts, and have those tokens accepted by the application.
What level of access can exploitation provide?
Successful exploitation can result in complete authentication bypass and privilege escalation to administrative access. The attacker can create users whose names match existing administrative usernames and authenticate with valid JWTs from the malicious identity provider.
Which versions are known to be affected?
The issue has been confirmed in CAST Imaging 3.6.2. Other versions may also be affected; the vendor did not provide an affected-version range, but stated that newer versions contain a fix.