Description
A flaw was found in Keycloak before version 11.0.0, where the code base contains usages of ObjectInputStream without type checks. This flaw allows an attacker to inject arbitrarily serialized Java Objects, which would then get deserialized in a privileged context and potentially lead to remote code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | keycloak | before 11.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 JBoss EAP 7 | eap7-keycloak-adapter-sso7_4 +1 | 9.0.4-1.redhat_00001.1.el6eap | RHSA-2020:2814 |
| Red Hat JBoss EAP 6 | keycloak-adapter-sso7_4-eap6 +1 | 9.0.4-1.redhat_00001.1.ep6.el6 | RHSA-2020:2816 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-common | < 11.0.0 | 11.0.0 | GHSA-m6mm-q862-j366 |
| Maven | org.keycloak:keycloak-core | < 11.0.0 | 11.0.0 | GHSA-m6mm-q862-j366 |
Advisories 2
- RHSA-2020:2816 Red Hat Security Advisory: RH-SSO 7.4.1 adapters for Red Hat JBoss Enterprise Application Platform 6 Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2020:2814 Red Hat Security Advisory: RH-SSO 7.4.1 adapters for Red Hat JBoss Enterprise Application Platform 7 Red Hat Security Advisories (RHSA) · Jun 29, 2026