CVE-2024-11736: Keycloak allows unrestricted admin use of system and environment variables
(updated )
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.
References
- access.redhat.com/errata/RHSA-2025:0299
- access.redhat.com/errata/RHSA-2025:0300
- access.redhat.com/security/cve/CVE-2024-11736
- bugzilla.redhat.com/show_bug.cgi?id=2328850
- github.com/advisories/GHSA-f4v7-3mww-9gc2
- github.com/keycloak/keycloak
- github.com/keycloak/keycloak/commit/7a76858fe4aa39a39fb6b86dd3d2c113d9c59854
- github.com/keycloak/keycloak/security/advisories/GHSA-f4v7-3mww-9gc2
- nvd.nist.gov/vuln/detail/CVE-2024-11736
Code Behaviors & Features
Detect and mitigate CVE-2024-11736 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →