Skip to main content

Keycloak CVE-2026-125652

| EUVDEUVD-2026-120850 MEDIUM
Missing Authorization (CWE-862)
2026-11-10 redhat GHSA-rp3r-7x6g-5mw6
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Position to intercept victim authorization code
  2. Delivery
    Victim visits password reset then logs in
  3. Exploit
    PKCE verifier check skipped for code
  4. Execution
    Replay intercepted code without verifier
  5. Impact
    Exchange code for victim account tokens

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

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

Exploitation Conditions

Exploitation requires a specific sequence in the Keycloak keycloak-services authentication flow: the victim must initiate a login after having visited the password reset page, which is the exact condition that causes Keycloak to skip the mandatory PKCE (Proof Key for Code Exchange) verifier check for the resulting authorization code. The attacker must also be able to intercept that victim's login/authorization code. Limiting factors that reduce realistic risk: required user interaction (UI:R) - the victim must perform the reset-then-login sequence; high attack complexity (AC:H) reflecting the need to capture the code and align with the vulnerable flow; the environment must be using the OAuth/OIDC authorization-code flow with PKCE; and no privileges are needed by the attacker (PR:N) but code interception is a non-trivial precondition.

Impact

This is a moderate-severity authorization flaw (CVSS 6.8) rather than a top-tier emergency, and the supplied signals are internally consistent on that point. The CVSS vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N indicates a network-reachable, unauthenticated (PR:N) issue, but with high attack complexity (AC:H) and required user interaction (UI:R), which materially constrains real-world exploitability. The vuln.today decision label is 'this_month' - a prioritized-but-not-urgent tier - and there is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of active or at-scale exploitation; this should be treated as a patch-in-normal-cycle priority, not a drop-everything incident. No EPSS value was supplied, so exploitation probability cannot be quantified from this input. The two references are a Red Hat CVE page and a Bugzilla tracker, i.e. vendor advisory material, not working exploit code. The core risk is account takeover (C:H/I:H) that depends on an attacker being able to intercept a victim's OAuth/OIDC authorization code AND the victim following the specific sequence (password-reset page then login) that causes the PKCE verifier check to be skipped - a chain of conditions that makes opportunistic mass exploitation unlikely and favors targeted scenarios.

Exploit ScenarioDerived

A victim visits the Keycloak password reset page and then initiates a login; because of this flaw the mandatory PKCE verifier check is skipped for that authorization code. An attacker positioned to intercept the authorization code (e.g. via a leaked redirect, open redirector, malicious client, or network interception) replays the code to the token endpoint without possessing the PKCE code_verifier and obtains tokens for the victim's account. No public exploit was identified at time of analysis, and the high attack complexity (AC:H) plus required user interaction (UI:R) mean the attacker must both induce or observe the specific login sequence and capture the code.

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 – Nov 10, 2026

Keycloak's keycloak-services authentication flow can be induced to skip the mandatory PKCE (Proof Key for Code Exchange) verifier check for an issued authorization code when the victim logs in immediately after visiting the password reset page. Affected deployments are Red Hat Build of Keycloak and Red Hat Single Sign-On 7 instances that use the OAuth/OIDC authorization-code flow with PKCE; an attacker who can intercept the victim's login code and who can get the victim through the reset-then-login sequence could redeem that code and take over the account without possessing the verifier, yielding high confidentiality and integrity impact. The flaw is rated CVSS 6.8 (AC:H, UI:R, PR:N) and reflects a moderate-severity authorization gap rather than an emergency; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor-prioritized decision is to address it this month.

RemediationAI

No fixed version is identified in the supplied intelligence, so remediation should begin by confirming the patched build and affected version matrix on the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2026-125652 and the tracking Bugzilla at https://bugzilla.redhat.com/show_bug.cgi?id=2569299, then upgrading Red Hat Build of Keycloak and Red Hat Single Sign-On 7 to the vendor-released fixed build once it is published; PKCE enforcement cannot be safely relaxed as a workaround because PKCE is the control being bypassed. Because the vulnerable path is specifically the login that follows a password reset page visit, operators can reduce exposure in the interim by reviewing authentication logs for authorization-code exchanges that occur immediately after reset flows and lack a valid code verifier, and by treating such sessions as suspect. Restricting or removing reliance on the authorization-code flow with PKCE in favor of alternative flows carries its own security trade-offs and should only be done as a documented, time-bound measure; no vendor-documented workaround is provided in the available references.

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

The issue is a CWE-862 missing authorization condition in the keycloak-services component, the layer that implements Keycloak's core authentication and authorization logic. In the OAuth 2.0 / OpenID Connect authorization-code flow, PKCE binds an authorization code to a client-generated code verifier so that a code intercepted in transit is useless without that verifier; here, a specific state transition - a user starting a login after having visited the password reset page - causes the server to skip the mandatory verifier validation for the resulting code. An interceptor of the code can therefore complete the exchange without the verifier. Per the assessed vector (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N), the attacker needs no credentials but does need user interaction (the reset-then-login sequence) and non-trivial conditions (successful interception of the code and a deployment actually using the authorization-code flow with PKCE), which is why complexity is rated High while confidentiality and integrity impact are High and availability is unaffected. The supplied CPE entries for Red Hat Build of Keycloak and Red Hat Single Sign-On 7 are fully wildcarded, so exact affected version ranges are not specified in the available data; the trigger conditions beyond the reset-then-login flow 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 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Network-reachable with no attacker privileges (PR:N), but AC:H and UI:R because success needs the victim's reset-then-login sequence plus code interception; account takeover gives C:H/I:H, no availability impact.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A flaw was found in the keycloak-services component of Keycloak, which provides the core authentication and authorization logic for the identity provider. The issue occurs when a user initiates a login after visiting the password reset page, causing the system to skip mandatory security checks for Proof Key for Code Exchange (PKCE). This could allow an attacker who intercepts a login code to gain unauthorized access to the user's account without needing the required security verifier.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
High
Keycloak/Red Hat SSO is widely deployed enterprise identity and SSO software
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Total

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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)CVE.org

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:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
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-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

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-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

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-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

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-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

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