Skip to main content

Keycloak EUVDEUVD-2026-85223

| CVE-2026-96445 MEDIUM
Improper Authentication (CWE-287)
2026-09-23 redhat GHSA-jj9w-64w4-2wcx
6.8
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Obtain victim's valid password
  2. Delivery
    Send auth request to Keycloak
  3. Exploit
    Inject crafted OTP-skip HTTP header
  4. Execution
    Bypass Conditional OTP second factor
  5. Impact
    Complete login as victim (full account takeover)

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 two concrete conditions: (1) the Keycloak realm's Conditional OTP authenticator flow must be configured to determine OTP-skipping from HTTP headers (a non-default, proxy/gateway-oriented setup) without the deployment enforcing that those headers come only from a trusted front-end; and (2) the attacker must already possess the target user's valid password (first factor compromised via phishing, reuse, or credential stuffing). What limits it: the header-based OTP-skip behavior is not a default configuration, and no exploitation is possible without a valid password, so this is an account-targeted MFA bypass rather than unauthenticated remote compromise. No user interaction by the victim is needed (UI:N).

Impact

This is a genuine second-factor authentication bypass in Keycloak's Conditional OTP authenticator, and MFA-bypass flaws in a widely-deployed IAM platform warrant priority attention despite the moderate 6.8 base score. The CVSS vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N) reflects the real limiting factors: it is network-reachable but AC:H because it only applies where the Conditional OTP flow is configured to skip OTP based on HTTP headers (a non-default hardening/proxy pattern), and PR:L/the described precondition is that the attacker must already possess the victim's valid password. When those conditions hold, impact is high (C:H/I:H) because the attacker achieves full account takeover by defeating the second factor. No EPSS score, KEV listing, or public POC is present in the provided data, so there is no evidence of active exploitation or automatable mass exploitation - no public exploit identified at time of analysis. This is best characterized as a real defense-in-depth failure that is dangerous per-account (targeted credential-stuffing/phishing follow-on) rather than a wormable internet-wide threat. Note: PR:L is generous - password knowledge is a precondition rather than an authenticated system session, so PR:N is defensible; this does not change the CVSS band materially.

Exploit ScenarioDerived

An attacker who has already phished or credential-stuffed a valid user password sends an authentication request to a Keycloak instance whose Conditional OTP flow decides OTP-skipping from HTTP headers, and injects the specially crafted header directly rather than through the trusted proxy. Because the authenticator never verifies the header originated from a trusted source, the OTP step is skipped and the attacker completes login as the victim, defeating 2FA. No public exploit code is identified at time of analysis, but the technique is straightforward header forgery once the configuration is known.

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 23, 2026

Second-factor authentication bypass in Keycloak's Conditional OTP authenticator allows an attacker who already possesses a user's password to skip OTP verification by sending a crafted HTTP header, provided the realm is configured to evaluate headers for OTP-skipping without validating their source. This flaw affects Red Hat Build of Keycloak and Red Hat Single Sign-On 7, has a CVSS score of 6.8 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N), and requires a non-default configuration plus a compromised first factor, meaning it is an account-targeted MFA bypass rather than unauthenticated remote compromise. No public exploit has been identified at the time of analysis.

RemediationAI

No vendor-released patch is identified in the provided intelligence; consult the Red Hat advisory (https://access.redhat.com/security/cve/CVE-2026-96445) for patch availability and fixed versions. As a compensating control, ensure that the Conditional OTP authenticator only trusts HTTP headers from a trusted reverse proxy or gateway, and configure the proxy to strip any client-supplied headers and set its own before forwarding requests; this prevents attackers from injecting the skip header. If header-based OTP skipping is not required, disable that configuration entirely, though this may break intended proxy-based single sign-on flows. Additionally, because exploitation requires a valid password, enforce strong password policies, monitor for credential stuffing or phishing, and consider implementing additional MFA methods that are not susceptible to header manipulation.

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 vulnerability is an instance of CWE-287 (Improper Authentication) in Keycloak's Conditional OTP authenticator, which can be configured to skip OTP prompts based on HTTP header values, typically for integration with reverse proxies or gateways. The flaw arises because the system does not verify that these headers originate from a trusted source, allowing an attacker with a valid password (first factor) to inject a header that triggers OTP skipping. The CVSS vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N) indicates a network-based attack requiring high complexity (due to the non-default configuration and need for prior credential compromise), low privileges (the attacker must be authenticated as the victim using their password), no user interaction, and high confidentiality and integrity impact, with no availability impact. The affected components according to CPE data are Red Hat Build of Keycloak (red_hat_build_of_keycloak) and Red Hat Single Sign-On 7, though specific version ranges are not provided in the available intelligence.

Know when 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:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

Network-reachable but AC:H due to required non-default header-skip config; PR:L reflects needing the victim's password; full account takeover gives C:H/I:H, no availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/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
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

A flaw was found in the Conditional OTP authenticator of Keycloak, an identity and access management solution. The issue occurs when the system evaluates specific HTTP headers to determine if a one-time password (OTP) should be skipped, but fails to verify if those headers came from a trusted source. This could allow an attacker who already has a user's password to bypass the second-factor authentication by providing a specially crafted header in their request.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
Keycloak / Red Hat SSO is widely deployed enterprise identity and access management
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor 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
Medium
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:*:*:*:*:*:*:*:*
CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2014-3709 HIGH POC
8.8 Oct 18

The org.keycloak.services.resources.SocialResource.callback method in JBoss KeyCloak before 1.0.3.Final allows remote at

CVE-2024-1132 HIGH POC
8.1 Apr 17

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. Rated high severity (CVSS

CVE-2023-6563 HIGH POC
7.7 Dec 14

An unconstrained memory consumption vulnerability was discovered in Keycloak. Rated high severity (CVSS 7.7), this vulne

CVE-2022-1466 MEDIUM POC
6.5 Apr 26

Due to improper authorization, Red Hat Single Sign-On is vulnerable to users performing actions that they should not be

CVE-2017-7474 CRITICAL
9.8 May 12

It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. Rated critical severit

CVE-2026-76187 CRITICAL
9.8 Sep 15

Authentication bypass in the Apache Airflow Keycloak auth manager provider (apache-airflow-providers-keycloak below 0.10

CVE-2022-1245 CRITICAL
9.8 Jul 08

A privilege escalation flaw was found in the token exchange feature of keycloak. Rated critical severity (CVSS 9.8), thi

CVE-2019-14910 CRITICAL
9.8 Dec 05

A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used in

CVE-2021-20195 CRITICAL
9.6 May 28

A flaw was found in keycloak in versions before 13.0.0. Rated critical severity (CVSS 9.6), this vulnerability is remote

CVE-2023-6134 MEDIUM POC
5.4 Dec 14

A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to t

CVE-2022-0225 MEDIUM POC
5.4 Aug 26

A flaw was found in Keycloak. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack c

Vendor StatusVendor

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