CVE-2024-10451Red Hat build of Keycloak 24
Medium 5.9 No auth needed
Follow: this CVE · Red Hat · Red Hat build of Keycloak 24 We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Nov 25, 2024
- Updated
- Sep 21, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-798
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for Red Hat build of Keycloak 24.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-quarkus-server |
< 24.0.9 |
24.0.9 |
— |
| Maven | org.keycloak:keycloak-quarkus-server |
≥ 25.0.0 < 26.0.6 |
26.0.6 |
— |
Per OSV / GitHub Advisories (GHSA-v7gv-xpgf-6395). Check the version in your lockfile before upgrading.
Affected products
- Red Hat · Red Hat build of Keycloak 24
- Red Hat · Red Hat build of Keycloak 24.0.9
- Red Hat · Red Hat build of Keycloak 26.0
- 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
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.