{"id":"CVE-2024-10451","title":"A flaw was found in Keycloak","summary":"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 disclosu…","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-798"],"vendor":"Red Hat","product":"rhbk/keycloak-operator-bundle","affected":["rhbk/keycloak-operator-bundle (all versions)","rhbk/keycloak-rhel9 (all versions)","rhbk/keycloak-rhel9-operator (all versions)","build_of_keycloak_24.0.9","rhbk/keycloak-operator-bundle (all versions)","rhbk/keycloak-rhel9 (all versions)","rhbk/keycloak-rhel9-operator (all versions)","build_of_keycloak_26.0.6","keycloak-quarkus-server","keycloak-quarkus-server"],"published":"2024-11-25","updated":"2026-09-21","sourceUpdated":"2026-09-21T06:16:58.670","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-10451","references":[{"url":"https://access.redhat.com/errata/RHSA-2024:10175","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2024:10176","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2024:10177","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2024:10178","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2024-10451","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2322096","label":"secalert@redhat.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-10451.json"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-10451"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-10451"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-25T16:00:10.921097Z"},"epss":0.00917,"epssPercentile":0.58153,"ingestedAt":"2026-08-04T08:38:41.121Z","patched":["build_of_keycloak 24","build_of_keycloak 26.0","build_of_keycloak 24.0.9","build_of_keycloak 26.0.6"],"slug":"CVE-2024-10451","body":"## Overview\n\nA 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **RHSA-2024:10175** · Red Hat · fixed in: Red Hat build of Keycloak 24 · released 2024-11-21 · [advisory](https://access.redhat.com/errata/RHSA-2024:10175)\n- **RHSA-2024:10177** · Red Hat · fixed in: Red Hat build of Keycloak 26.0 · released 2024-11-21 · [advisory](https://access.redhat.com/errata/RHSA-2024:10177)\n- **RHSA-2024:10176** · Red Hat · fixed in: Red Hat build of Keycloak 24.0.9 · released 2024-11-21 · [advisory](https://access.redhat.com/errata/RHSA-2024:10176)\n- **RHSA-2024:10178** · Red Hat · fixed in: Red Hat build of Keycloak 26.0.6 · released 2024-11-21 · [advisory](https://access.redhat.com/errata/RHSA-2024:10178)\n- **Red Hat VEX** · Moderate · affected: Red Hat Single Sign-On 7 · no fix planned: Red Hat Single Sign-On 7 · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-10451.json)","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":32.5,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}