CVE-2024-10451: Red Hat Build Of Keycloak 24

Medium severity, CVSS 5.9. EPSS: 0.8% probability of exploitation activity in the next 30 days.

A flaw was found in Keycloak. This issue occurs because sensitive runtime values, such as passwords, may be captured during the Keycloak build process and embedded as default values in bytecode, leading to unintended information disclosure. In Keycloak 26, sensitive data specified directly in environment variables during the build process is also stored as a default values, making it accessible during runtime. Indirect usage of environment variables for SPI options and Quarkus properties is also vulnerable due to unconditional expansion by PropertyMapper logic, capturing sensitive data as default values in all Keycloak versions up to 26.0.2.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Red Hat Build Of Keycloak 24, before 24.0.9-1: fixed in 24.0.9-1
  • Red Hat Build Of Keycloak 24, before 24-18: fixed in 24-18
  • Red Hat Build Of Keycloak 26.0, before 26.0.6-2: fixed in 26.0.6-2
  • Red Hat Build Of Keycloak 26.0, before 26.0-5: fixed in 26.0-5
  • Red Hat Build Of Keycloak 26.0, before 26.0-6: fixed in 26.0-6

Affected products

Affected packages

Published 2024-11-25. Last modified 2026-09-21.