Description
A flaw was found in the Keycloak REST API before version 8.0.0 where it would permit user access from a realm the user was not configured. An authenticated attacker with knowledge of a user id could use this flaw to access unauthorized information or to carry out further attacks.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| keycloak | keycloak REST API | before version 8.0.0, fixed in 8.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Single Sign On 7 | rh-sso7-keycloak +1 | 4.8.13-1.Final_redhat_00001.1.el6sso | RHSA-2019:3046, RHSA-2019:3045, RHSA-2019:3044 |
| Red Hat Single Sign On 7 | rh-sso7-libunix-dbus-java +1 | 0.8.0-2.el7sso | RHSA-2019:3045 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-model-infinispan | < 7.0.1 | 7.0.1 | GHSA-8prc-58j4-m55q |
| Maven | org.keycloak:keycloak-model-jpa | < 7.0.1 | 7.0.1 | GHSA-8prc-58j4-m55q |
Advisories 3
- RHSA-2019:3045 Red Hat Security Advisory: Red Hat Single Sign-On 7.3.4 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2019:3046 Red Hat Security Advisory: Red Hat Single Sign-On 7.3.4 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2019:3044 Red Hat Security Advisory: Red Hat Single Sign-On 7.3.4 security update on RHEL 6 Red Hat Security Advisories (RHSA) · Aug 5, 2026