CVE-2026-18573: Keycloak-services: keycloak-services: client access-type policy condition bypass during client update
A flaw was found in the keycloak-services component of Keycloak, which is used for managing authentication and authorization flows. The issue occurs when a realm administrator configures client policies to enforce specific authentication requirements on confidential clients. Due to improper evaluation of the client state during an update operation, an attacker with client management permissions can bypass these security policies by first creating a public client and then updating it to a confidential client with weaker authentication. This can result in the persistence of clients that do not comply with the intended security hardening of the realm.
Other sources
A state-based policy bypass vulnerability was discovered in Keycloak's client policy engine. The flaw exists in the way the access-type condition evaluates UPDATE operations. Specifically, the condition checks the old client state instead of the proposed new state during an update. An attacker with low privileges, such as delegated client management permissions or a valid dynamic registration token, can exploit this by creating a public client and subsequently updating it to a confidential client. Because the policy engine still perceives the client as public during the update process, it fails to trigger the confidential-client policy profile. This allows the attacker to configure a confidential client with weak authentication (e.g., client-secret) even when the realm policy mandates stronger methods like client-jwt. Successful exploitation allows an attacker to persist non-compliant confidential clients, undermining realm-level security hardening.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-18573?
The severity of CVE-2026-18573 is rated as medium with a score of 6.5.
How do I fix CVE-2026-18573?
To fix CVE-2026-18573, update Keycloak to the latest version that contains the security patch.
What types of systems are affected by CVE-2026-18573?
CVE-2026-18573 affects systems using Keycloak services for managing authentication and authorization.
What is the impact of CVE-2026-18573?
CVE-2026-18573 can lead to a bypass of client access-type policies configured by realm administrators.
Who is at risk due to CVE-2026-18573?
Realm administrators managing confidential clients within Keycloak are at risk due to CVE-2026-18573.