CVE-2026-118959

Keycloak-services: keycloak-services: required actions bypassed via kc_action parameter

Published Oct 30, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in the required action provider mechanism of Keycloak. The issue occurs when an authorization request includes the kc_action 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.

Analysis

AI-generated

Technical impact

A flaw in Keycloak's required action provider mechanism allows a crafted authorization request to skip mandatory challenges, such as profile verification or terms and conditions. The vulnerability arises from incorrect handling of application-initiated actions and results in an authorization code being issued without the user completing all required steps. This weakness, identified as CWE-287, can lead to unauthorized users gaining access to protected resources.

Affected Systems

The affected products are Red Hat Build of Keycloak and Red Hat Single Sign‑On 7. No specific patch versions are listed in the CNA data, so any installed instance of these products remains at risk until a fix is applied.

Risk and Exploitability

The problem can be exploited remotely by sending an HTTP request containing the kc_action query parameter for an action already assigned to the user. The attacker can bypass administrative requirements and obtain an authorization‑code token, thereby gaining access to the target application. The CVSS base score of 5.4 indicates moderate severity, and the absence of an EPSS score or KEV listing suggests a lower but non‑negligible exploitation probability. Administrators should treat the flaw as a potential vector for unauthorized access until mitigation is available.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Upgrade to the vendor-released patch once Red Hat publishes a fix for the Keycloak required‑action flaw
  • Manually disable or restrict incoming kc_action query parameters in Keycloak's configuration to prevent unintended action triggers
  • Audit authentication logs for unexpected kc_action usage and enforce manual approvals for sensitive operations

Generated by OpenCVE AI on October 30, 2026 at 01:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Vendors & Products Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Type Values Removed Values Added
Title keycloak-services: keycloak-services: Required actions bypassed via kc_action parameter Keycloak-services: keycloak-services: required actions bypassed via kc_action parameter
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Type Values Removed Values Added
Description A flaw was found in the required action provider mechanism of Keycloak. The issue occurs when an authorization request includes the kc_action 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.
Title keycloak-services: keycloak-services: Required actions bypassed via kc_action parameter
Weaknesses CWE-287
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 3, 2026, 5:09 PM
Reserved
Oct 29, 2026, 8:18 AM
Status
Awaiting Analysis
Published
Oct 30, 2026, 1:16 AM
Modified
Nov 3, 2026, 5:18 PM
Severity
Moderate
Public date
Oct 28, 2026, 2:45 PM