CVE-2026-118959: Keycloak-services: keycloak-services: required actions bypassed via kc_action parameter

Published Oct 29, 2026
·
Updated

A flaw was found in the required action provider mechanism of Keycloak. The issue occurs when an authorization request includes the kcaction query parameter set to a mandatory action already assigned to the user, such as profile verification or terms and conditions. Due to incorrect handling of application-initiated actions, Keycloak may skip these mandatory challenges and issue an authorization code. This can allow a user to bypass administrative requirements and gain access to the application without completing necessary profile updates or agreeing to terms.

Other sources

A vulnerability was found in Keycloak where mandatory required actions can be bypassed using the kcaction query parameter. When an authorization request includes kcaction set to the alias of a pending mandatory action (such as VERIFYPROFILE or TERMSANDCONDITIONS), the server incorrectly treats the request as an application-initiated action. Because these specific providers do not support application-initiated invocation, they are added to an internal ignored actions list. Consequently, the authentication flow completes without presenting the required challenge to the user. An authenticated attacker with a pending required action can exploit this by appending the kcaction parameter to their authorization request. Successful exploitation allows the attacker to obtain valid access tokens and bypass admin-enforced requirements like profile attribute updates or acceptance of terms and conditions on every login.

— Red Hat

Affected Software

0 affected components

Event History

Oct 29, 2026
Data Sourced
via Red Hat·08:19 AM
DescriptionSeverityAffected Software
Oct 30, 2026
CVE Published
via MITRE·12:15 AM
Data Sourced
via MITRE·12:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker needs an authenticated Keycloak user account with a mandatory required action still pending. They must be able to submit an authorization request that sets kc_action to the alias of that pending action.

2

What is the practical impact after a successful bypass?

Keycloak may complete the authentication flow and issue an authorization code without presenting the mandatory challenge. The user can then gain access to the application without completing required profile updates or accepting terms and conditions.

3

Which types of pending actions are implicated?

The issue applies to mandatory actions whose aliases can be supplied through kc_action and that do not support application-initiated invocation. The reported examples are VERIFY_PROFILE and TERMS_AND_CONDITIONS.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203