CVE-2025-11537: Keycloak-services: sensitive headers shown in the http access logs

Published Oct 9, 2025
·
Updated

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.

Affected Software

2 affected componentsFixes available
Red Hat Keycloak
maven/org.keycloak:keycloak-quarkus-server<26.6.0
26.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.keycloak:keycloak-quarkus-server to a version that resolves this vulnerability.

    Fixed in 26.6.0
  2. Configuration

    Update the Keycloak logging format so it is not verbose and does not log sensitive headers such as Authorization and Cookie in cleartext (avoid patterns like the predefined 'long').

    Keycloak Logging format/user-supplied pattern = Do not use verbose user-supplied patterns such as the predefined 'long' pattern; configure a safer (non-verbose) logging pattern that does not include sensitive headers
  3. Compensating control

    Protect Keycloak log files so only authorized administrators can read them (reduce/limit read access to the http access logs containing sensitive header content).

Event History

Oct 9, 2025
Data Sourced
via Red Hat·01:29 AM
DescriptionSeverityAffected Software
Feb 10, 2026
CVE Published
via MITRE·10:53 AM
Data Sourced
via MITRE·10:53 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:16 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·12:30 PM
Data Sourced
via GitHub·12:30 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-11537?

CVE-2025-11537 is classified as a high severity vulnerability due to the exposure of sensitive information in access logs.

2

How can I mitigate CVE-2025-11537?

To mitigate CVE-2025-11537, configure the logging format to eliminate sensitive data exposure, or update to Keycloak version 26.6.0 or later.

3

Which versions of Keycloak are affected by CVE-2025-11537?

CVE-2025-11537 affects all versions of Keycloak prior to 26.6.0.

4

What type of sensitive information is exposed in CVE-2025-11537?

CVE-2025-11537 exposes sensitive headers including Authorization and Cookie in the HTTP access logs.

5

Is there a specific logging configuration that causes CVE-2025-11537?

Yes, the vulnerability occurs when the logging format is set to a verbose, user-defined pattern, such as the 'long' pattern.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203