Summary
CVE-2026-109861 is a use of hard-coded credentials vulnerability (CWE-798) in CAST Imaging by CAST Software. A hardcoded authentication token in the KeyCloakController class of auth-service.jar can be reused to bypass authentication. The CVE record rates it High (CVSS 8.7).
Technical details
- Root cause: The
KeyCloakControllerclass inauth-service.jarcontains a hardcoded authentication token. - Trigger conditions: An attacker who gains access to the source code, application package, logs, or configuration files can obtain the token and reuse it.
- Attack vector: Network. The CVSS vector indicates low complexity, with no privileges and no user interaction required.
- Impact: Authentication bypass, enumeration of users across Keycloak realms, and retrieval of API token hashes that can be used in further attacks. The CVSS vector rates confidentiality impact as high, with no integrity or availability impact.
- The issue was reported by Jarosław Węgrzynowicz and Maciej Włodarczyk (STM Cyber) and coordinated by CERT Polska as part of a batch of CAST Imaging vulnerabilities (CVE-2026-109857 to CVE-2026-109864).
Affected software
- CAST Imaging 3.6.2 (confirmed affected).
- Other versions may also be affected. The vendor has not published a full affected range.
Severity
- CVSS v4.0 base score 8.7 (High):
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 - The CNA published a CVSS v4.0 score, not a v3.1 score.
Mitigation and recommended actions
- Immediate: Upgrade to a newer CAST Imaging version. The vendor confirmed the issue is fixed in newer versions, but no specific fixed version number was published in the sources reviewed.
- Restrict access to the application package, source code, logs, and configuration files, since the token can be recovered from them.
- Limit network exposure of CAST Imaging and its Keycloak-based authentication endpoints to trusted users where possible.
- Review Keycloak realms for unexpected user enumeration or API token activity.

