Keycloak | Relative Path Normalization flaw enabling /admin via HAProxy
CVE-2025-10939 Published on October 28, 2025

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.

Github Repository Vendor Advisory Vendor Advisory NVD

Vulnerability Analysis

CVE-2025-10939 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
LOW
Integrity Impact:
NONE
Availability Impact:
NONE

Timeline

Reported to Red Hat.

Made public. 32 days later.

Weakness Type

What is a DLL preloading Vulnerability?

The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.

CVE-2025-10939 has been classified to as a DLL preloading vulnerability or weakness.


Products Associated with CVE-2025-10939

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-10939 are published in these products:

 
 

Affected Versions

keycloak: Red Hat build of Keycloak 26.4: Red Hat build of Keycloak 26.4: Red Hat build of Keycloak 26.4: Red Hat build of Keycloak 26.4.4:

Vulnerable Packages

The following package name and versions may be associated with CVE-2025-10939

Package Manager Vulnerable Package Versions Fixed In
maven org.keycloak:keycloak-quarkus-server < 26.4.4 26.4.4

Exploit Probability

EPSS
0.02%
Percentile
3.32%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.