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

Medium severity, CVSS 5.9. EPSS: 0.9% chance of exploitation 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.

Affected products

  • Red Hat Red Hat Build Of Keycloak 24: before 24.0.9-1 (fixed in 24.0.9-1); before 24-18 (fixed in 24-18)
  • Red Hat Red Hat Build Of Keycloak 24.0.9
  • Red Hat Red Hat Build Of Keycloak 26.0: before 26.0.6-2 (fixed in 26.0.6-2); before 26.0-5 (fixed in 26.0-5); before 26.0-6 (fixed in 26.0-6)
  • Red Hat Red Hat Build Of Keycloak 26.0.6
  • Red Hat Red Hat JBoss Enterprise Application Platform 8
  • Red Hat Red Hat Single Sign-On 7

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