CVE-2024-11736: 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}.
Published Jan 13, 2025 · Updated Jan 14, 2025
Affected packages
org.keycloak:keycloak-quarkus-server
- Ecosystem
- Maven
- Affected
- < 26.0.8
- Fixed in
- 26.0.8
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-quarkus-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to shawkins.
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-f4v7-3mww-9gc2
- https://github.com/keycloak/keycloak/commit/7a76858fe4aa39a39fb6b86dd3d2c113d9c59854
- https://nvd.nist.gov/vuln/detail/CVE-2024-11736
- 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/advisories/GHSA-f4v7-3mww-9gc2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2025-11537
Keycloak logs sensitive headers
medium5.0Feb 10, 2026CVE-2026-0976
Keycloak has an improper input validation vulnerability
low3.7No fixJan 15, 2026CVE-2025-10939
Keycloak unable to restrict access to the admin console
low3.7Dec 2, 2025CVE-2024-10973
Keycloak on Quarkus CLI option for encrypted JGroups ignored
medium5.7Feb 5, 2025CVE-2024-11734
Denial of Service in Keycloak Server via Security Headers
medium6.5Jan 13, 2025CVE-2024-10451
Keycloak Build Process Exposes Sensitive Data
high5.9Nov 25, 2024
