Skip to main content

Keycloak EUVDEUVD-2026-85792

| CVE-2026-97176 MEDIUM
Missing Authorization (CWE-862)
2026-09-24 redhat GHSA-5jw9-cc9v-8h8r
4.2
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-level authenticated Keycloak session
  2. Delivery
    Request access to client requiring higher LoA
  3. Exploit
    Trigger flawed session re-evaluation
  4. Execution
    Receive token asserting lower security level
  5. Impact
    Access 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.

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 – 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

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

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.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
High
Keycloak/Red Hat SSO is a very widely deployed enterprise IAM platform
Data Quality
4 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

21
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +21
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:*:*:*:*:*:*:*:*
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