Skip to main content

Red Hat Keycloak EUVDEUVD-2026-53383

| CVE-2026-16071 MEDIUM
Improper Privilege Management (CWE-269)
2026-08-05 redhat GHSA-m28w-c4hx-9fvg
5.4
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

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

  1. Recon
    Obtain or compromise delegated admin credentials
  2. Delivery
    Authenticate to Keycloak admin interface
  3. Exploit
    Identify LDAP federation provider configuration
  4. Install
    Craft user lookup request with out-of-scope DN
  5. C2
    Bypass search boundary validation
  6. Execute
    Retrieve account attributes from unauthorized directory subtree
  7. Impact
    Import out-of-scope users into Keycloak local storage

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
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 three specific conditions: (1) Keycloak must be configured with an active LDAP user federation storage provider - deployments using only local Keycloak storage or non-LDAP identity providers (SAML, OIDC, social) are not affected; (2) the attacker must hold delegated administrator privileges within Keycloak (confirmed by CVSS PR:L), meaning general end users and unauthenticated attackers cannot exploit this; (3) the attacker must be able to initiate a user search or lookup operation via the delegated admin interface using a crafted DN value. Exploitation is limited to the Keycloak LDAP federation boundary - it does not grant broader directory write access or administrative control beyond the federated identity plane. The scope is unchanged (S:U), meaning lateral movement to other systems is not a direct outcome of this vulnerability alone.

Impact

The CVSS 3.1 score of 5.4 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N accurately reflects the bounded nature of this flaw. The PR:L metric is the critical limiting factor - only authenticated delegated administrators can trigger the bypass, ruling out unauthenticated or general-user exploitation. Attack complexity is low once the role is obtained, requiring no special conditions beyond a crafted DN. The C:L impact reflects directory enumeration outside intended scope; the I:L impact is notable - unintended user imports into local storage could introduce identity confusion or create unauthorized federation relationships. EPSS data is not available in the provided intelligence, so probability-of-exploitation scoring cannot be cross-referenced. No KEV listing and no public POC confirm this is not currently being mass-exploited. Real-world priority should be elevated in multi-tenant Keycloak environments with delegated admin models, where a malicious or compromised delegated admin could use this to enumerate users from other organizational units or import privileged accounts into their accessible realm.

Exploit ScenarioDerived

A malicious or compromised delegated administrator in a Keycloak environment with active LDAP federation constructs a user lookup request referencing a DN outside the configured search base - for example, targeting a DN in a sibling organizational unit or parent container not intended to be federated. Keycloak processes the request without boundary validation, returning account attributes for the out-of-scope directory entry and potentially importing that user into Keycloak local storage, where they may gain unintended access to applications protected by the SSO realm. No public POC has been identified, but the attack requires only a crafted DN string and delegated admin session access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 05, 2026

Keycloak's LDAP storage provider allows delegated administrators to bypass configured search boundaries by supplying a crafted Distinguished Name (DN), exposing account information from unauthorized directory subtrees and triggering unintended user imports into Keycloak local storage. Affected deployments include Red Hat Build of Keycloak, Red Hat Single Sign-On 7, Red Hat Data Grid 8, and the JBoss EAP Expansion Pack. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis; exploitation is constrained to authenticated delegated administrators with access to the LDAP federation interface.

RemediationAI

Apply the vendor patch once Red Hat publishes an updated package via the advisory at https://access.redhat.com/security/cve/CVE-2026-16071; a specific patched release version is not confirmed in the available data, so monitor the Red Hat Bugzilla entry (https://bugzilla.redhat.com/show_bug.cgi?id=2501720) for a confirmed fix version. As an immediate compensating control, audit and minimize the set of accounts holding delegated administrator roles in Keycloak - reducing the delegated admin population directly limits the attacker surface, as PR:L privileges are required. Additionally, review LDAP federation provider configurations to confirm search base DNs are as restrictive as possible, and enable audit logging on Keycloak's admin events to detect anomalous user federation or import activity from unexpected DN paths. Restricting network access to the Keycloak admin console to trusted internal segments reduces exposure, with the trade-off of impacting remote administration workflows.

Affected VersionsENISA

Red Hat build of Keycloak 26.6 patch: 26.6-11
Red Hat build of Keycloak 26.6 patch: 26.6.5-1
Red Hat build of Keycloak 26.4 patch: 26.4-22
Red Hat build of Keycloak 26.4 patch: 26.4.14-1

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

Keycloak's LDAP user federation provider maps external directory entries to internal Keycloak identities using a configured search base DN, which is intended to act as an authorization boundary - restricting which directory subtrees can be federated. The flaw is a missing validation check when a delegated administrator performs a user lookup by supplying a specific LDAP entry DN: the system processes the lookup without verifying that the target DN falls within the configured search boundary. This is functionally analogous to a path traversal or authorization bypass at the LDAP query layer (behavior consistent with CWE-284 Improper Access Control, though no CWE is formally assigned). Affected products per CPE data include: cpe:2.3:a:red_hat:red_hat_build_of_keycloak, cpe:2.3:a:red_hat:red_hat_single_sign-on_7, cpe:2.3:a:red_hat:red_hat_data_grid_8, and cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack. The vulnerability exists in the LDAP provider component shared across these Red Hat products.

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 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Network vector confirmed by web-based admin interface; PR:L reflects delegated admin role requirement; C:L and I:L for directory disclosure and unintended user import; no availability impact.

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

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

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

DescriptionCVE.org

A flaw was found in the LDAP storage provider of Keycloak, which is used to federate user identities from external directories. The issue occurs when a delegated administrator performs a search using a specific LDAP entry Distinguished Name (DN). Due to missing validation, the system allows lookups for users located outside the configured search boundary, leading to the disclosure of account information from unauthorized parts of the directory and unintended importing of those users into local storage.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
widely used enterprise IAM platform, dominant in Red Hat ecosystem deployments
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 Yes
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
Partial

Priority Score

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

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