Skip to main content

Keycloak CVE-2026-118959

| EUVDEUVD-2026-113443 MEDIUM
Improper Authentication (CWE-287)
2026-10-30 redhat GHSA-74cm-5prx-222c
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as existing user
  2. Delivery
    Craft authorization request with kc_action for assigned mandatory action
  3. Exploit
    Keycloak skips required-action challenge
  4. Execution
    Receive authorization code
  5. Impact
    Access application bypassing mandatory profile/terms step

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated Keycloak account (PR:L) that already has a mandatory required action assigned to it by an administrator - specifically a required-action/application-initiated-action flow such as profile verification (VERIFY_PROFILE) or terms-and-conditions acceptance. The trigger is an authorization request carrying the kc_action query parameter set to that same already-assigned mandatory action; the required-action provider mechanism then mishandles the application-initiated action and skips the challenge. Limiting factors: the actor must hold valid credentials for the target user, and the account must have a pending mandatory action configured - against a user with no assigned required actions there is nothing to bypass. Impact is confined to circumventing the mandatory-action gate (compliance/onboarding controls), not to privilege escalation beyond that user's own access.

Impact

This is a medium-severity authentication/authorization-control bypass (CVSS 5.4, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N) rather than a high-urgency flaw. The CVSS vector requires an authenticated user (PR:L) - the actor is a legitimate user bypassing required actions assigned to their own account, not an anonymous attacker, which materially lowers real-world risk. No EPSS score was provided in the input, and the CVE is NOT listed in CISA KEV, so there is no evidence of active exploitation. No PoC or exploit reference appears among the references (only the Red Hat CVE page and a Bugzilla tracker). The vuln.today decision label is 'this_month,' consistent with a prioritize-but-not-emergency posture. The signals are internally consistent: network vector but low privileges and low technical impact (C:L/I:L/A:N, no availability impact, unchanged scope). The practical impact is governance/compliance (a user reaching the application without completing mandatory profile verification or accepting terms and conditions) rather than data compromise or code execution. Bottom line: a legitimate but noteworthy access-control defect to patch on a normal cycle, not a drop-everything emergency.

Exploit ScenarioDerived

An authenticated Keycloak user who has been assigned a mandatory required action (for example, profile verification or terms-and-conditions acceptance) initiates an authorization request that includes the kc_action query parameter set to that same mandatory action. Due to incorrect handling of application-initiated actions, Keycloak skips the mandatory challenge and issues an authorization code, letting the user reach the application without completing the required step. No public exploit identified at time of analysis; the specific request sequence is derived from the description, and the vector (AV:N/AC:L/PR:L/UI:N) indicates low-complexity, remotely reachable abuse by the account holder.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 30, 2026

Mandatory required-action challenges in Keycloak - as shipped in Red Hat Build of Keycloak and Red Hat Single Sign-On 7 - can be skipped when an authorization request carries a kc_action query parameter set to a required action that is already pending on the account, such as profile verification (VERIFY_PROFILE) or terms-and-conditions acceptance. The attacker must be an authenticated user (CVSS PR:L) whose administrator has already assigned that mandatory action; the broken application-initiated-action handling then lets the authorization code be issued without the challenge being completed, so the user reaches the application while bypassing onboarding and compliance gates. The exposure is confined to defeating that mandatory-action control (integrity impact only, per the assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N, 5.4 medium) and does not escalate the user beyond their own granted access; no public exploit code or CISA KEV confirmation was identified at time of analysis.

RemediationAI

No vendor-released fixed version is listed in the provided data, so the primary action is to track https://access.redhat.com/security/cve/CVE-2026-118959 and https://bugzilla.redhat.com/show_bug.cgi?id=2563288 for the patched Red Hat Build of Keycloak and Red Hat Single Sign-On 7 builds and upgrade realms to them as soon as they are published. Until then, scope exposure by recognizing that the bypass only matters for accounts that have a mandatory required action pending: audit realms for users with assigned VERIFY_PROFILE or TERMS_AND_CONDITIONS actions, and complete or clear those outstanding actions so the gate has nothing left to skip, noting that this removes the compliance evidence the challenge was designed to collect. Restrict who can set or leave required actions assigned, since the flaw requires an account already carrying one, and keep the pre-patch window short given the this_month priority assigned to this item.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Keycloak implements OpenID Connect authorization-code flows and enforces post-authentication policy through its required-action provider SPI: after a user authenticates, Keycloak checks for pending required actions (for example VERIFY_PROFILE or TERMS_AND_CONDITIONS) and is supposed to interrupt the flow with the corresponding challenge form before any authorization code is issued. The flaw is classified CWE-287 (Improper Authentication) and sits in the handling of application-initiated actions, where a client-supplied kc_action query parameter naming a mandatory action already assigned to the user is processed such that the required-action gate is treated as satisfied and the code is returned. Because the parameter is attacker-controllable and evaluated during the authorization request, the check is effectively bypassable, though only by an account holder with valid credentials against a session/account that actually has a pending mandatory action. The CPE data identifies Red Hat Build of Keycloak and Red Hat Single Sign-On 7 as the packaged distributions tracked for this issue; the upstream fix, if any, would land in the required-action provider mechanism within the Keycloak authentication services codebase. The trigger conditions beyond the kc_action parameter manipulation are not described in the available sources.

Know when Red Hat Build Of Keycloak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY MEDIUM
NVD 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.3 MEDIUM

Authenticated user triggers the flaw over the network with low complexity (PR:L, AV:N, AC:L); the sole effect is bypassing a policy gate, so I:L with no confidentiality or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 5.4 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
widely deployed enterprise IAM (Keycloak / Red Hat SSO) across many organizations
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*

Related Vulnerabilities in Keycloak Authorization and Auth Flaws

View all 2
CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy