Keycloak Unrestricted Access to Environment Variables Vulnerability for Admin Users

Vulnerability

A vulnerability in Keycloak allows admin users to access sensitive server environment variables and system properties through user-configurable URLs. This issue arises when admin users configure backchannel logout URLs or admin URLs, as they can include placeholders that the server replaces with actual values during URL processing. The vulnerability is present in Red Hat build of Keycloak 26.0.8, specifically within the Keycloak Quarkus server component.

Impact

Exploitation of this vulnerability could lead to unauthorized access to sensitive environment variables and system properties, potentially allowing for further attacks or information disclosure.

Remediation

Users can upgrade to the Red Hat build of Keycloak 26.0.8, which is available through the Red Hat Customer Portal. Instructions for applying the update can be found on the Customer Portal.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.2
impact
2.5
exploitability
5.0
remediation
7.7
relevance
0.0
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.