Skip to main content

Red Hat Build Of Keycloak EUVDEUVD-2026-18208

| CVE-2026-4282 HIGH
Improper Isolation or Compartmentalization (CWE-653)
2026-04-02 redhat GHSA-hj93-h7pg-fh6v
7.4
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Access
    Access Keycloak SingleUseObjectProvider endpoint
  2. Exploit
    Forge authorization code without type isolation
  3. Execution
    Exchange forged code for access token
  4. Impact
    Create admin-capable token via privilege escalation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Component isolation
Exploitation Conditions

Keycloak installations with SingleUseObjectProvider enabled (default configuration). Remote unauthenticated attacker can forge authorization codes. Requires knowledge of valid client IDs and redirect URIs. No victim interaction needed. Affects Keycloak versions using vulnerable SingleUseObjectProvider without proper type/namespace isolation.

Impact

This vulnerability presents elevated real-world risk despite requiring high attack complexity. The CVSS 7.4 score reflects critical factors: network-based attack vector (AV:N) requiring no user interaction (UI:N) or privileges (PR:N), with high impact to confidentiality and integrity (C:H/I:H). The AC:H rating suggests exploitation requires sophisticated understanding of Keycloak's internal token management, precise timing, or specific environmental conditions-likely involving race conditions or collisions in the key-value store. No confirmed active exploitation exists (not present in CISA KEV), and no public exploit code has been identified, reducing immediate risk. However, the privilege escalation potential to admin-level access makes this a critical concern for identity infrastructure. Organizations using Keycloak as their authentication backbone face substantial risk if exploited, as admin tokens grant full control over user accounts, clients, and realm configuration. The lack of authentication requirements (PR:N) significantly lowers the barrier for remote attackers who can reach the Keycloak server. SSVC consideration: while not currently automatable due to AC:H complexity, the technical impact (admin access) is severe, warranting prioritized patching in production IAM deployments.

Exploit ScenarioDerived

An unauthenticated attacker with network access to a Keycloak server identifies the SingleUseObjectProvider's namespace isolation weakness through reconnaissance of the token endpoint behavior. The attacker crafts a series of carefully-timed requests that insert malicious entries into the global key-value store, exploiting the lack of type checking to create entries that appear as legitimate authorization codes to Keycloak's token validation logic. By presenting this forged authorization code to the token endpoint, the attacker bypasses the normal OAuth 2.0 authentication flow and receives a valid access token with administrative privileges. With the admin token, the attacker gains full control over the Keycloak realm, including the ability to create backdoor accounts, extract credential hashes, modify client configurations, and potentially pivot to protected downstream applications trusting Keycloak's authentication assertions.

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

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

Alert me

AnalysisAIv1 – Apr 02, 2026

Authorization code forgery in Red Hat Keycloak enables unauthenticated attackers to escalate privileges to admin-level access tokens. The SingleUseObjectProvider's lack of type and namespace isolation permits attackers to forge valid authorization codes remotely, though exploitation requires high complexity (AC:H). No public exploit identified at time of analysis, with CVSS 7.4 indicating high confidentiality and integrity impact but no availability disruption.

RemediationAI

Organizations should immediately consult Red Hat's security advisory at https://access.redhat.com/security/cve/CVE-2026-4282 for official patching guidance and affected version specifics. As of this analysis, no independently confirmed patched version number is available in the provided data sources, indicating this may be a recently disclosed vulnerability with patches pending or under embargo. Monitor Red Hat's Customer Portal and the Bugzilla ticket at https://bugzilla.redhat.com/show_bug.cgi?id=2448061 for updated remediation instructions and fixed builds. Interim risk mitigation strategies should include network segmentation to restrict Keycloak server accessibility to trusted networks only, implementing additional network-layer authentication for token endpoints, and enabling comprehensive audit logging for authorization code issuance and token generation to detect anomalous patterns. Review and minimize the number of admin-privileged service accounts and implement strict monitoring for new admin token creation. If possible without breaking functionality, consider temporarily restricting authorization code flow grants to only essential clients until patches are deployed.

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

Keycloak is Red Hat's open-source identity and access management solution implementing OAuth 2.0, SAML 2.0, and OpenID Connect protocols. The vulnerability resides in the SingleUseObjectProvider component, a global key-value store used for tracking single-use tokens like authorization codes and nonces. The flaw represents CWE-653 (Insufficient Compartmentalization), where the provider fails to properly isolate objects by type and namespace. This architectural weakness allows attackers to manipulate the authorization code flow-a critical OAuth 2.0 mechanism where temporary codes are exchanged for access tokens. Without proper isolation, an attacker can craft malicious entries in the global store that the token endpoint accepts as legitimate authorization codes, bypassing the standard authentication flow entirely. The affected CPE indicates all versions of Red Hat Build of Keycloak are potentially vulnerable, suggesting this is a fundamental design issue rather than a localized code defect.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

Lifecycle Timeline

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

DescriptionCVE.org

A flaw was found in Keycloak. The SingleUseObjectProvider, a global key-value store, lacks proper type and namespace isolation. This vulnerability allows an unauthenticated attacker to forge authorization codes. Successful exploitation can lead to the creation of admin-capable access tokens, resulting in privilege escalation.

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 Keycloak contains an authorization code forgery vulnerability (CVE-2026-4282, CVSS 7.4) that allows unauthenticated attackers to forge admin-level access tokens, potentially compromising identity and access management across all dependent applications. This affects any organization using Keycloak for authentication and authorization, creating risk of unauthorized administrative access to sensitive systems and data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement network segmentation to restrict Keycloak admin console access to trusted IP ranges only; (2) Deploy enhanced monitoring on token generation endpoints to detect anomalous authorization code requests; (3) Enforce multi-factor authentication for all admin-level Keycloak operations; (4) Reduce authorization code lifetime to minimum viable duration; (5) Implement rate limiting on authorization endpoints; (6) Review and revoke any unexplained admin-level access tokens issued within past 90 days. Monitor Red Hat security advisories for patch availability weekly.

Threat Intelligence Overview

EPSS Score
0.0%
Top 90% 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.0%
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
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

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