What’s Vulnerable › Vulnerabilities
CVE-2024-10451: Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-11-25 · updated 2026-09-21
- Weakness: CWE-798
Description
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 build of Keycloak 26.4: all versions — fixed in 24-18, 24.0.9-1, 26.0-5, 26.0-6, 26.0.6-2
How to fix
Upgrade to a fixed version: Red Hat build of Keycloak 26.4 24-18, 24.0.9-1, 26.0-5, 26.0-6. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/errata/RHSA-2024:10175
- https://access.redhat.com/errata/RHSA-2024:10176
- https://access.redhat.com/errata/RHSA-2024:10177
- https://access.redhat.com/errata/RHSA-2024:10178
- https://access.redhat.com/security/cve/CVE-2024-10451
- https://bugzilla.redhat.com/show_bug.cgi?id=2322096
Get alerted when CVE-2024-10451 or the next vulnerability affects your stack