Skip to main content

Red Hat Build Of Keycloak CVE-2026-4634

| EUVDEUVD-2026-18212 HIGH
Excessive Platform Resource Consumption within a Loop (CWE-1050)
2026-04-02 redhat GHSA-h4wv-g838-66g3
7.5
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Send POST request to OIDC token endpoint
  2. Delivery
    Include excessively long scope parameter
  3. Exploit
    Trigger high resource consumption
  4. Execution
    Keycloak server becomes unresponsive
  5. Impact
    Denial of Service condition achieved

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Excessive platform resource consumption
Exploitation Conditions

Remote unauthenticated attacker sends POST request with excessively long scope parameter to Keycloak OIDC token endpoint. No victim interaction required. Affects all Keycloak versions with OIDC token endpoint enabled (default configuration).

Impact

This vulnerability presents moderate real-world risk despite its CVSS 7.5 (High) score. The attack vector is highly favorable for attackers: network-accessible (AV:N), low complexity (AC:L), requiring no privileges (PR:N) or user interaction (UI:N), and exclusively impacting availability (A:H). However, several factors temper the urgency. No confirmed active exploitation exists (not present in CISA KEV catalog), and no public exploit code is identified at time of analysis. EPSS data is not provided, but typical unauthenticated DoS vulnerabilities against public authentication endpoints show moderate exploitation probability due to ease of discovery and exploitation. The SSVC technical impact is limited to availability disruption without confidentiality or integrity compromise-this is strictly a DoS, not a data breach vector. Automatable: likely yes, as the attack requires only HTTP POST requests with manipulated parameters. Organizations running internet-facing Keycloak instances should prioritize patching, as authentication infrastructure DoS directly impacts business operations and user access. However, this ranks below actively exploited vulnerabilities or those enabling data exfiltration. Risk is highest for multi-tenant environments or high-traffic identity providers where service availability is critical.

Exploit ScenarioDerived

An unauthenticated attacker identifies a publicly accessible Keycloak server and locates the OpenID Connect token endpoint (typically at /realms/{realm}/protocol/openid-connect/token). The attacker crafts a malicious POST request with a valid client_id and grant_type, but injects an excessively long string (potentially megabytes of repeated scope values) into the scope parameter. Upon receiving the request, the Keycloak server attempts to parse and validate the malformed scope parameter, consuming excessive CPU cycles and memory in string processing loops. By sending multiple concurrent requests or sustaining a low-rate attack, the attacker exhausts available server resources (thread pools, memory, CPU), causing legitimate authentication requests to time out or fail. This results in a complete Denial of Service for users attempting to authenticate through the affected Keycloak instance, disrupting access to all applications relying on it for identity management.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 02, 2026

Denial of Service in Red Hat Build of Keycloak allows unauthenticated remote attackers to exhaust server resources by submitting specially crafted POST requests with excessively long scope parameters to the OpenID Connect token endpoint. No public exploit identified at time of analysis, but CVSS 7.5 (High) with network attack vector and low complexity indicates straightforward exploitation. Authentication requirements: unauthenticated (CVSS PR:N). The vulnerability stems from improper resource management (CWE-1050), enabling attackers to cause prolonged processing times and service disruption without any authentication or user interaction.

RemediationAI

Organizations running affected Red Hat Build of Keycloak versions should immediately consult the official Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-4634 for patched versions and upgrade instructions. The advisory linked through Red Hat Bugzilla (https://bugzilla.redhat.com/show_bug.cgi?id=2450250) may contain additional technical details and timelines. Patch availability from vendor advisory: confirmed available per Red Hat security portal. Until patching is complete, consider implementing temporary mitigations such as rate limiting on the OIDC token endpoint using a Web Application Firewall (WAF) or reverse proxy, restricting maximum POST body size to reject abnormally large requests, or applying network-level access controls to limit token endpoint exposure only to trusted clients if architecturally feasible. Monitor server resource utilization and token endpoint response times for anomalous activity indicating exploitation attempts. Test patches in non-production environments before deploying to production identity infrastructure.

Affected Packages

maven org.keycloak:keycloak-services fix: 26.5.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

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

Technical ContextAI · show details

This vulnerability affects the OpenID Connect (OIDC) token endpoint in Red Hat Build of Keycloak, an open-source identity and access management solution. The OIDC token endpoint processes OAuth 2.0/OIDC authentication flows, including scope parameter validation during token requests. The root cause falls under CWE-1050 (Excessive Platform Resource Consumption within a Loop or Recursion), indicating the server fails to properly limit or validate the length of scope parameters before processing. When an attacker submits a POST request with an abnormally large scope string, the server attempts to parse and process the entire payload without adequate bounds checking or early termination logic. This triggers resource-intensive operations-likely string parsing, memory allocation, or scope validation loops-that monopolize CPU cycles, memory, or thread pools. The affected CPE (cpe:2.3:a:red_hat:red_hat_build_of_keycloak) indicates this affects Red Hat's packaged distribution of Keycloak, though the underlying issue may exist in upstream Keycloak as well.

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 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.5 HIGH

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

Lifecycle Timeline

2
Patch released
Apr 04, 2026 - 08:30 nvd
Patch available
CVE Published
Apr 02, 2026 - 12:44 nvd
HIGH 7.5

DescriptionCVE.org

A flaw was found in Keycloak. An unauthenticated attacker can exploit this vulnerability by sending a specially crafted POST request with an excessively long scope parameter to the OpenID Connect (OIDC) token endpoint. This leads to high resource consumption and prolonged processing times, ultimately resulting in a Denial of Service (DoS) for the Keycloak server.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 54 maven packages depend on org.keycloak:keycloak-services (26 direct, 28 indirect)

Ecosystem-wide dependent count for version 26.5.7.

Executive ViewAI

Why It Matters

Red Hat Build of Keycloak contains a remote denial-of-service vulnerability (CVE-2026-4634, CVSS 7.5) that allows unauthenticated attackers to exhaust server resources and disrupt authentication services by submitting malformed token requests. Any organization using Keycloak for identity management faces potential service unavailability, preventing legitimate users from authenticating to dependent applications and systems.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy Web Application Firewall (WAF) rules to block POST requests with excessively large scope parameter values to the token endpoint; (2) Implement strict request size limits and connection timeouts at load balancer/reverse proxy layer; (3) Enable rate limiting per source IP on authentication endpoints; (4) Configure alerting for abnormal token endpoint traffic patterns and processing delays; (5) Maintain authentication service redundancy to absorb resource exhaustion attempts. These controls reduce but do not eliminate risk-patch deployment is essential.

Threat Intelligence Overview

EPSS Score
0.1%
Top 79% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
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