CVE-2025-10939: Org.keycloak/keycloak-quarkus-server: unable to restrict access to the admin console
A flaw was found in Keycloak. The Keycloak guides recommend to not expose /admin path to the outside in case the installation is using a proxy. The issue occurs at least via ha-proxy, as it can be tricked to using relative/non-normalized paths to access the /admin application path relative to /realms which is expected to be exposed.
Security readout for executives and security teams
Plain-English summary
Certain Keycloak deployments behind HAProxy may expose the admin console despite rules intended to keep /admin private. Crafted non-normalized paths can reach the admin application through the externally available /realms path. The expected impact is limited disclosure, not account takeover or service disruption.
Executive priority
Handle through prompt routine patching and configuration review, prioritizing internet-facing identity systems. Although rated low, an unexpected administrative-interface exposure can reveal sensitive information and weaken a deliberate security boundary.
Technical view
The proxy and Keycloak can interpret relative or non-normalized paths differently, allowing an unauthenticated network request to bypass an /admin path restriction. CVSS 3.1 is 3.7: network-accessible, high-complexity, no privileges or interaction required, with low confidentiality impact only.
Likely exposure
Exposure is most likely where Keycloak runs behind HAProxy or a similarly behaving proxy, /realms is public, and /admin is restricted using path-based proxy rules. The bundle specifically identifies affected Red Hat build of Keycloak 26.4 package versions; applicability outside the listed records is not established.
Exploitation context
The CVE is not listed in CISA KEV, and the supplied sources provide no evidence of active exploitation. Exploitation requires a proxy configuration susceptible to path interpretation differences, reflected by the high attack-complexity rating.
Researcher notes
The described issue is a path-canonicalization disagreement involving HAProxy and Keycloak routing. The record maps it to CWE-427, although the bundle does not explain that classification. Package status is nuanced: listed 26.4 packages are affected, while keycloak-quarkus-server in Red Hat build 26.4.4 is marked unaffected. Confirm exact package applicability.
Mitigation direction
Inventory Keycloak editions, package versions, proxies, and externally exposed routes.
Review RHSA-2025:21370 and RHSA-2025:21371 for applicable corrected packages.
Apply vendor-provided updates after confirming package and platform applicability.
Do not rely solely on an HAProxy raw /admin path restriction.
Consult current vendor guidance where the bundle does not identify a corrected version.
Validation and detection
Confirm whether public traffic can reach /realms while /admin is proxy-restricted.
Compare installed Red Hat package versions with both referenced security advisories.
Review proxy normalization and routing behavior in an authorized test environment.
Verify administrative content remains inaccessible through alternate normalized-path interpretations.
Review edge logs for unusual relative or non-normalized requests targeting Keycloak routes.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-427: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-427 · source CWE mapping
Uncontrolled Search Path Element
Uncontrolled Search Path Element represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.