CVE-2024-11736
JSON

4.9medium

Org.keycloak:keycloak-quarkus-server: unrestricted admin use of system and environment variables

Severity
4.9medium CVSS:3.1 by redhat
Exploit likelihood
0.76% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-f4v7-3mww-9gc2

Description

A vulnerability was found in Keycloak. Admin users may have to access sensitive server environment variables and system properties through user-configurable URLs. 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

Product or packageVersionsReported by
keycloakbefore 26.0.8CVE List
rhbk/keycloak-operator-bundleNot specified
Not affected: from 26.0.8-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 26.0-7 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 26.0-8 before *
CVE List
Red Hat RHBK 26.0.8Not specifiedCVE List
keycloak-quarkus-serverNot specifiedCVE List
org.keycloak:keycloak-quarkus-server (Maven)before 26.0.8GitHub Advisory Database

All scores

redhat4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
GitHub4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-526

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A vulnerability was found in Keycloak. Admin users may have to access sensitive server environment variables and system properties through user-configurable URLs. 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.

GitHub Advisory Database

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.

NVD (es)

Se encontró una vulnerabilidad en Keycloak. Los usuarios administradores pueden tener que acceder a variables de entorno de servidor confidenciales y propiedades del sistema a través de URL configurables por el usuario. Al configurar las URL de cierre de sesión de backchannel o las URL de administrador, los usuarios administradores pueden incluir marcadores de posición como ${env.VARNAME} o ${PROPNAME}. El servidor reemplaza estos marcadores de posición con los valores reales de las variables de entorno o las propiedades del sistema durante el procesamiento de URL.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-11736 changed 2026-08-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-f4v7-3mww-9gc2 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-11736 changed 2026-08-31Public domain