VDB
Sign up
MEDIUM4.9

GHSA-f4v7-3mww-9gc2

Keycloak allows unrestricted admin use of system and environment variables

Quick fix

GHSA-f4v7-3mww-9gc2 — org.keycloak:keycloak-quarkus-server: upgrade to the fixed version with the command below.

# pom.xml: bump <version>26.0.8</version> for org.keycloak:keycloak-quarkus-server

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-quarkus-server
Introduced in: 0Fixed in: 26.0.8
Fix# pom.xml: bump <version>26.0.8</version> for org.keycloak:keycloak-quarkus-server

References