CVE-2024-10451: Red Hat build of Keycloak 24 · Use of Hard-coded Credentials
Affects Red Hat build of Keycloak 24Source CVE Database V5
Not known to be exploited · CVSS 5.9 Medium.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.keycloak/keycloakpkg:maven/org.keycloak/keycloakOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Red Hat has released updated Keycloak 24.0.9 images that address this vulnerability. Users should apply these updates as provided in the Red Hat advisories (RHSA-2024:10175 and RHSA-2024:10176). Before updating, it is recommended to back up existing installations, including configurations and databases. Applying the official Red Hat patches is the primary remediation. Patch status is confirmed by Red Hat advisories. No alternative mitigations or workarounds are specified.
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.
References
- access.redhat.com/errata/RHSA-2024:10175 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:10176 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:10177 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:10178 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-10451 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2322096 (opens in a new tab)