GHSA-jcgg-mg9g-p9wf: Duplicate Advisory: Keycloak Build Process Exposes Sensitive Data
This advisory was withdrawn on Nov 25, 2024. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-v7gv-xpgf-6395. This link is maintained to preserve external references. Original 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…
Published Nov 25, 2024
Affected packages
org.keycloak:keycloak-quarkus-server
- Ecosystem
- Maven
- Affected
- < 24.0.9
- Fixed in
- 24.0.9
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-quarkus-server
org.keycloak:keycloak-quarkus-server
- Ecosystem
- Maven
- Affected
- >= 25.0.0, < 26.0.6
- Fixed in
- 26.0.6
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-quarkus-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-v7gv-xpgf-6395. This link is maintained to preserve external references.
Original 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
- https://nvd.nist.gov/vuln/detail/CVE-2024-10451
- 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
- https://github.com/advisories/GHSA-jcgg-mg9g-p9wf
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2025-11537
Keycloak logs sensitive headers
medium5.0Feb 10, 2026CVE-2026-0976
Keycloak has an improper input validation vulnerability
low3.7No fixJan 15, 2026CVE-2025-10939
Keycloak unable to restrict access to the admin console
low3.7Dec 2, 2025CVE-2024-10973
Keycloak on Quarkus CLI option for encrypted JGroups ignored
medium5.7Feb 5, 2025CVE-2024-11734
Denial of Service in Keycloak Server via Security Headers
medium6.5Jan 13, 2025CVE-2024-11736
Keycloak allows unrestricted admin use of system and environment variables
medium4.9Jan 13, 2025
