Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-level authenticated Keycloak session
-
DeliveryRequest access to client requiring higher LoA
-
ExploitTrigger flawed session re-evaluation
-
ExecutionReceive token asserting lower security level
-
ImpactAccess step-up-gated sensitive resources
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: (1) an existing active Keycloak user session established at a LOWER Level of Authentication; (2) a relying client explicitly configured to require a HIGHER security level / step-up authentication (elevated acr/LoA claim); and (3) triggering the flawed session re-evaluation path so a new token is issued reusing the lower level. Limiting factors: the attacker must already be authenticated (PR:L - this is a privilege/assurance escalation, not unauthenticated access), the deployment must actually use step-up/LoA enforcement (otherwise there is nothing to downgrade), and the AC:H rating reflects dependence on specific session-state/re-evaluation timing rather than a reliably repeatable trigger. |
| Impact | This is a genuinely low-priority issue despite touching authentication. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N, base 4.2 MEDIUM) is internally consistent with the description: exploitation is remote but requires an already-authenticated lower-level session (PR:L) and hinges on a race/logic condition in session re-evaluation (AC:H), yielding only partial confidentiality and integrity impact (C:L/I:L). No EPSS score, no CISA KEV listing, and no public POC are present in the input, so all three exploitation signals point the same direction - no evidence of exploitation or weaponization. There is no SSVC data provided. The impact is real (step-up/LoA enforcement can be silently downgraded) but it is a conditional authorization-downgrade rather than a full authentication bypass or code execution, and the AC:H timing dependence plus the requirement for an existing session materially limit practical exploitation. This is a legitimate correctness/security-hardening fix, not an emergency-patch scenario. |
| Exploit ScenarioDerived | An attacker who already holds a valid low-assurance Keycloak session (e.g., password-only) targets a client/application that demands step-up authentication (a higher acr/LoA, such as MFA) before releasing sensitive resources. Due to the session re-evaluation logic error, Keycloak issues a token still asserting the lower security level, letting the attacker reach resources that should have required the elevated authentication. No public exploit code was identified at time of analysis, and the AC:H rating reflects the specific session-state timing needed to trigger it. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 24, 2026
Keycloak's Level of Authentication (LoA) step-up enforcement can fail open: when a relying client requires a higher authentication level for a user who already holds an active session at a lower level, a logic error in session re-evaluation causes Keycloak to issue a token carrying the lower acr/LoA claim instead of forcing the required step-up authentication. The impact is a bounded assurance downgrade rather than unauthenticated access - the attacker must already be authenticated (CVSS PR:L) - but it may grant access to sensitive resources whose authorization decisions trust those claims, with low confidentiality and integrity impact and no availability impact (CVSS:3.1 4.2, AV:N/AC:H/UI:N/S:U/C:L/I:L/A:N). Exploitation depends on a deployment that actually configures per-client step-up/LoA and on a specific session-state and re-evaluation timing; no public exploit code has been identified at time of analysis and this CVE is not listed in CISA KEV.
RemediationAI
No vendor-released patch version is specified in the available intelligence, so the first action is to monitor https://access.redhat.com/security/cve/CVE-2026-97176 and https://bugzilla.redhat.com/show_bug.cgi?id=2539964 and apply the fixed Red Hat Build of Keycloak / RH-SSO 7 errata as soon as they are published - the CVE is currently tracked as no vendor-released patch identified at time of analysis, which is an absence of data rather than confirmation that none will ship. Because the risk is limited to step-up enforcement, the most effective compensating control is to force re-authentication for any client whose authorization depends on a high LoA: require prompt=login (or equivalent forced re-authentication) and set short SSO session idle/max and client session lifetimes so a stale lower-level session cannot be silently reused for a higher-level request; the trade-off is more frequent login prompts and possible user friction in SSO flows. Additionally, defense-in-depth should move assurance enforcement to the relying party: validate the acr/amr claims in the access token against the required level and reject tokens below threshold, rather than trusting the identity provider's enforcement alone - this requires application-side changes across every step-up-protected resource and must be rolled out consistently or it will break integrations. Where immediate patching is impossible, restrict network access to step-up-protected applications and log/alert on tokens whose acr is lower than the client's configured requirement, which provides detection but not prevention. Note that the attacker must already be authenticated, so credential hygiene, MFA on lower-level sessions, and rapid session revocation remain useful but do not substitute for the fix.
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 flaw lives in Keycloak's OpenID Connect / OAuth 2.0 authentication assurance handling - the acr (authentication context class reference) claim that a relying party requests via acr_values or a client-side LoA requirement, and that Keycloak maps internally to its Level of Authentication scale. When a client demands a higher level than the user's existing session, Keycloak should invalidate or re-evaluate that session and perform an additional authentication step (for example OTP or WebAuthn) before minting a fresh token. The reported logic error in the session re-evaluation path instead allows the lower-level session state to be reused, so the newly issued token advertises the weaker acr/LoA value. This is classified CWE-862 (Missing Authorization): the authorization/assurance check that should gate token issuance is not enforced, letting a token be produced that understates the assurance actually required. The CPE data ties the issue to Red Hat Build of Keycloak (cpe:2.3:a:red_hat:red_hat_build_of_keycloak, with wildcarded versions) and to Red Hat Single Sign-On 7 (cpe:2.3:a:red_hat:red_hat_single_sign-on_7), the commercially supported distribution derived from upstream Keycloak; because the version fields in the supplied CPEs are wildcards, the exact vulnerable build ranges are not pinned by intelligence alone and must be confirmed against the Red Hat advisory and Bugzilla record.
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
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Remote token endpoint (AV:N) but needs a pre-existing lower-level session (PR:L) and depends on a re-evaluation timing/logic condition (AC:H); partial confidentiality/integrity from claim downgrade, no availability impact.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in the Level of Authentication enforcement mechanism of Keycloak, an identity and access management solution. The issue occurs when a client specifically requires a higher security level for a user who already has an active session at a lower level. Due to a logic error in how session re-evaluations are handled, Keycloak may incorrectly issue a token at the lower security level instead of enforcing the required higher level, potentially allowing unauthorized access to sensitive resources that rely on these security claims.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
More in Red Hat Build Of Keycloak
View allAccount takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in
Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML
Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i
Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet
Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge
Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil
Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity
Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat
Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs
Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t
Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con
Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t
EUVD-2026-85792
GHSA-5jw9-cc9v-8h8r
NVD
CVE.org
EPSS
VulDB
Exploit-DB