GitHub Advisory Database
GHSA-fqjh-8322-vgrv
Keycloak Generates an Error Message Containing Sensitive Information
Details
A flaw was found in Keycloak. A remote, unauthenticated attacker can exploit this vulnerability by sending specially crafted SOAP requests to the SAML ECP (Security Assertion Markup Language Enhanced Client or Proxy) endpoint with varying client IDs. By observing distinct faultstrings in the responses, the attacker can determine the client's protocol type, leading to information disclosure.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | All versions up to and including 26.4.7 |
| Maven | org.keycloak:keycloak-services | From 26.5.0 before 26.6.3 (fixed in 26.6.3) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-9794
- https://github.com/keycloak/keycloak/issues/49428
- https://github.com/keycloak/keycloak/pull/49684
- https://github.com/keycloak/keycloak/pull/49686
- https://github.com/keycloak/keycloak/commit/05e98366773eec60878bb2a6d5da6bc7048ac3c8
- https://github.com/keycloak/keycloak/commit/7750e3ff823d1da8580d42c51194feb2e933b87b
- https://github.com/keycloak/keycloak/commit/dba79eb03fb9d634fda5e86e1613b8747f968518
- https://access.redhat.com/errata/RHSA-2026:25097
- https://access.redhat.com/errata/RHSA-2026:25098
- https://access.redhat.com/errata/RHSA-2026:30049
- https://access.redhat.com/errata/RHSA-2026:30050
- https://access.redhat.com/security/cve/CVE-2026-9794
- https://bugzilla.redhat.com/show_bug.cgi?id=2482461
- https://github.com/keycloak/keycloak