REDHAT-BUG-2583677: Medium severity Red Hat Keycloak Operator vulnerability
The Keycloak Operator exposes deterministic hashes derived from Kubernetes Secrets in generated StatefulSet metadata and in KeycloakOIDCClient status. A user who can read those resources may be able to recover a low-entropy credential, even if Kubernetes RBAC denies that user access to the underlying Secret. Exploitation requires read access to an affected StatefulSet or KeycloakOIDCClient resource and a low-entropy value in a referenced Secret; attack complexity is rated High. Reported by the Keycloak response team via keycloak-private #1720; affected-version range pending confirmation. Tracker pattern per keycloak-private #1617.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to credential recovery through this issue?
Users who can read an affected StatefulSet or KeycloakOIDCClient resource may be exposed, even when Kubernetes RBAC prevents them from reading the referenced Secret directly. Recovery is only feasible when the referenced Secret contains a low-entropy credential.
What access and conditions are required to exploit it?
An attacker needs read access to an affected StatefulSet or KeycloakOIDCClient resource. They must also obtain a deterministic hash derived from a referenced Secret and be able to recover a low-entropy secret value from that hash; the reported attack complexity is High.
How can teams determine whether they may be affected?
Review whether users who lack Secret read permissions can read StatefulSet metadata or KeycloakOIDCClient status. Then identify whether Secrets referenced by those resources contain low-entropy credentials, since those values are the stated recovery risk.