CVE-2025-11537: Keycloak logs sensitive headers
A flaw was found in Keycloak. When the logging format is configured to a verbose, user-supplied pattern (such as the pre-defined 'long' pattern), sensitive headers including Authorization and Cookie are disclosed to the logs in cleartext.
Published Feb 10, 2026 · Updated Oct 30, 2026
Affected packages
org.keycloak:keycloak-quarkus-server
- Ecosystem
- Maven
- Affected
- < 26.5.6
- Fixed in
- 26.5.6
- Check
mvn dependency:tree -Dincludes=org.keycloak:keycloak-quarkus-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A flaw was found in Keycloak. When the logging format is configured to a verbose, user-supplied pattern (such as the pre-defined 'long' pattern), sensitive headers including Authorization and Cookie are disclosed to the logs in cleartext. An attacker with read access to the log files can extract these credentials (e.g., bearer tokens, session cookies) and use them to impersonate users, leading to a full account compromise.
Patches are available, see:
- https://github.com/keycloak/keycloak/releases/tag/26.4.11
- https://github.com/keycloak/keycloak/releases/tag/26.5.6
- https://github.com/keycloak/keycloak/releases/tag/26.6.0
Credited to julianladisch, eminaktas.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11537
- https://access.redhat.com/security/cve/CVE-2025-11537
- https://bugzilla.redhat.com/show_bug.cgi?id=2402616
- https://github.com/keycloak/keycloak/commit/137a35c1109ff43a305f26264978a3ea21452373
- https://www.keycloak.org/server/logging#_change_log_formatpattern
- https://github.com/keycloak/keycloak/commit/5a3cdb7c4ccbf83ffc926f70d655a60269d7207b
- https://github.com/keycloak/keycloak/commit/9622f550a6e565b29a3a37454421f08626791a6c
- https://access.redhat.com/errata/RHEA-2025:19385
- https://access.redhat.com/errata/RHEA-2025:19386
- https://github.com/advisories/GHSA-gv3v-2cpp-3pmq
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-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, 2025CVE-2024-10451
Keycloak Build Process Exposes Sensitive Data
high5.9Nov 25, 2024
