GitHub Advisoryadvisory · Maven
GHSA-f4v7-3mww-9gc2 Keycloak allows unrestricted admin use of system and environment variables
MEDIUM
Official page ↗
- Aliases
- CVE-2024-11736
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-quarkus-server
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-526
- Reviewed
- 2025-01-13
Affected packages
• Maven org.keycloak:keycloak-quarkus-server: < 26.0.8 → fixed in 26.0.8
Description
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.
Related
Alias · CVE (1)
- CVE-2024-11736 A vulnerability was found in Keycloak. vulnerability
Weakness · CWE (1)
- CWE-526 Cleartext Storage of Sensitive Information in an Environment Variable weakness
References
- https://github.com/keycloak/keycloak/security/advisories/GHSA-f4v7-3mww-9gc2 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-11736 advisory
- https://github.com/keycloak/keycloak/commit/7a76858fe4aa39a39fb6b86dd3d2c113d9c59854 web
- https://access.redhat.com/errata/RHSA-2025:0299 web
- https://access.redhat.com/errata/RHSA-2025:0300 web
- https://access.redhat.com/security/cve/CVE-2024-11736 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2328850 web
- https://github.com/keycloak/keycloak package