Org.keycloak:keycloak-quarkus-server: sensitive data exposure in keycloak build process

Summary

CVECVE-2024-10451
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-11-25 08:15:07 UTC
Updated2026-08-04 20:16:45 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 5.9 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS: 0.009370000 probability, percentile 0.573890000 (date 2026-08-04)

Problem Types: CWE-798 | CWE-798 Use of Hard-coded Credentials


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
3.1CNACVSS5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Red Hat Red Hat Build Of Keycloak 24 unaffected 24.0.9-1 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 24 unaffected 24-18 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 24 unaffected 24-18 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 24.0.9 Not specified Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.0 unaffected 26.0.6-2 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.0 unaffected 26.0-5 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.0 unaffected 26.0-6 * rpm Not specified
CNA Red Hat Red Hat Build Of Keycloak 26.0.6 Not specified Not specified
CNA Red Hat Red Hat JBoss Enterprise Application Platform 8 Not specified Not specified
CNA Red Hat Red Hat Single Sign-On 7 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/security/cve/CVE-2024-10451 [email protected] access.redhat.com
bugzilla.redhat.com/show_bug.cgi [email protected] bugzilla.redhat.com
access.redhat.com/errata/RHSA-2024:10178 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2024:10175 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2024:10176 [email protected] access.redhat.com
access.redhat.com/errata/RHSA-2024:10177 [email protected] access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Red Hat would like to thank Steven Hawkins for reporting this issue. (en)

Additional Advisory Data

SourceTimeEvent
CNA2024-10-28T07:27:41.800ZReported to Red Hat.
CNA2024-11-21T16:55:00.000ZMade public.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report