Keycloak allows unrestricted admin use of system and environment variables
A security vulnerability has been identified that allows admin users to access sensitive server environment variables and system properties through user-configurable URLs. Specifically, when configuring backchannel logout URLs or admin URLs, admin users can include placeholders like ${env.VARNAME} or ${PROPNAME}. The server replaces these placeholders with the actual values of environment variables or system properties during URL processing.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.keycloak:keycloak-quarkus-server | < 26.0.8 | 26.0.8 |
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-f4v7-3mww-9gc2
- https://nvd.nist.gov/vuln/detail/CVE-2024-11736
- https://github.com/keycloak/keycloak/commit/7a76858fe4aa39a39fb6b86dd3d2c113d9c59854
- https://access.redhat.com/errata/RHSA-2025:0299
- https://access.redhat.com/errata/RHSA-2025:0300
- https://access.redhat.com/security/cve/CVE-2024-11736
- https://bugzilla.redhat.com/show_bug.cgi?id=2328850
- https://github.com/keycloak/keycloak
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-526- Platform
- Java / Kotlin (Maven)
- Package
org.keycloak:keycloak-quarkus-server- Disclosed
- 13.01.2025
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-f4v7-3mww-9gc2 - CC BY 4.0
Vulnerability history: org.keycloak:keycloak-quarkus-server
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 9
- First → latest
- 11.2024 02.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 6
- Low 2
Disclosures per year
- 2024: 3
- 2025: 4
- 2026: 2
-
Keycloak allows unrestricted admin use of system and environment variables this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.