CVE-2025-10939: Keycloak 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.
References
- access.redhat.com/errata/RHSA-2025:21370
- access.redhat.com/errata/RHSA-2025:21371
- access.redhat.com/security/cve/CVE-2025-10939
- bugzilla.redhat.com/show_bug.cgi?id=2398025
- github.com/advisories/GHSA-vjr8-56p3-fmqq
- github.com/keycloak/keycloak
- github.com/keycloak/keycloak/security/advisories/GHSA-vjr8-56p3-fmqq
- nvd.nist.gov/vuln/detail/CVE-2025-10939
Code Behaviors & Features
Detect and mitigate CVE-2025-10939 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →