CVE-2024-11736
Red Hat build of Keycloak 26.0
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-11736 is a medium-severity Cleartext Storage of Sensitive Information in an Environment Variable (CWE-526) vulnerability in Red Hat build of Keycloak 26.0 (named in the CVE record; NVD lists no product yet). Its CVSS base score is 4.9 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Steal Application Access Token (T1528); ranked in the top 44% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SC-13 (Cryptographic Protection) and SC-28 (Protection of Information at Rest) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-0025
Vulnerability Data
A vulnerability was found in Keycloak. Admin users may have to access sensitive server environment variables and system properties through user-configurable URLs. When configuring backchannel logout URLs or admin URLs, admin users can include placeholders like ${env.VARNAME} or ${PROPNAME}. The…
more
server replaces these placeholders with the actual values of environment variables or system properties during URL processing.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Mandates use of cryptography to protect sensitive information, preventing its unencrypted storage in environment variables.
Requires confidentiality protection (typically encryption) for information at rest, directly stopping cleartext storage of sensitive data in environment variables.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
A.8.24 mandates cryptography to protect sensitive information according to its classification, and CWE-526 is the specific case of cleartext (unencrypted) sensitive data stored in an environment variable; implementing the clause encrypts that data and the 'unencrypted sensitive information in an environment variable' weakness no longer exists, consistent with the owner's full grade for A.8.24 vs CWE-311 and CWE-312.
A.8.29's SOURCE reach (code review, static analysis) catches most instances where sensitive data is assigned to environment variables in first-party code, and RUNTIME reach (penetration testing) catches cases where env var contents leak through debug output or logs; the bounded remainder is env vars set dynamically at deployment/runtime or in binary-only third-party components, which neither static analysis nor code review sees.
A.5.17's password management system mandates that passwords be stored and transmitted in protected form (item h) and that password encryption/hashing follow approved cryptographic techniques, so applying it to a system where authentication information sat in cleartext in an environment variable would require that storage to be hashed/encrypted or moved, removing those instances; however, CWE-526 covers all sensitive information in environment variables, and A.5.17 only reaches the authentication-information subset, leaving non-credential sensitive data untouched.
Training helps developers understand that environment variables are not secure storage and that sensitive data should be encrypted or held in a vault, but the practice is fallible and developers under time pressure still choose env vars for convenience, so only a minority of instances are prevented.
A.8.11 mandates data masking (including encryption) for sensitive data, so where applied to environment variables holding sensitive data the cleartext weakness is removed; however, the clause is a general data-masking control not specifically scoped to environment variables, and organizations commonly apply it to databases and files while leaving environment-variable handling to other practices, leaving a nameable remainder.
Secure coding standards typically prohibit storing sensitive information in cleartext environment variables.