
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-11537 is an information disclosure vulnerability in Keycloak (keycloak-quarkus-server) where verbose logging patterns expose sensitive HTTP headers — including Authorization and Cookie — in cleartext log files. The flaw affects versions of org.keycloak:keycloak-quarkus-server prior to 26.5.6 and was published on February 10, 2026. It carries a CVSS v3.1 base score of 5.0 (Medium), requiring local access, low privileges, and user interaction (GitHub Advisory, Red Hat Bugzilla).
The root cause is classified as CWE-117 (Improper Output Neutralization for Logs): when Keycloak's logging format is set to a verbose, user-supplied pattern — such as the pre-defined long pattern — the HTTP access log includes full request headers without sanitization or masking. This causes sensitive headers like Authorization (bearing OAuth2/OIDC bearer tokens) and Cookie (containing session identifiers) to be written to log files in plaintext. Exploitation requires that an attacker already has read access to the Keycloak server's log files, and that an administrator has configured a verbose logging pattern (GitHub Advisory, Red Hat Bugzilla).
An attacker with read access to Keycloak log files can extract bearer tokens and session cookies logged in cleartext, then replay these credentials to impersonate legitimate users and achieve full account compromise. Because Keycloak acts as a central identity provider for many downstream applications, credential theft from logs could enable unauthorized access to all Keycloak-protected resources across an organization. Integrity and availability are not directly impacted; the primary risk is high confidentiality loss (GitHub Advisory).
long pattern) by reviewing server configuration files or documentation at https://www.keycloak.org/server/logging#_change_log_formatpattern.Authorization: Bearer <token> or Cookie: <session_id> entries written by the verbose logging pattern.curl or a browser developer tool) to authenticate as the victim user against Keycloak or any downstream application protected by the same identity provider.Authorization: Bearer or Cookie: header values in plaintext when the long or other verbose logging pattern is active./var/log/keycloak/ or application-specific log directories) by non-administrative accounts.Patched versions are available: 26.4.11, 26.5.6, and 26.6.0 — upgrading to any of these releases is the recommended remediation (GitHub Advisory). As an immediate workaround, administrators should review and change the Keycloak logging format away from verbose patterns (such as long) that include full HTTP headers; the Keycloak logging documentation provides guidance on configuring log format/pattern. Additionally, restrict read access to Keycloak log files to only authorized administrative accounts, and consider implementing log filtering or masking to prevent sensitive headers from being written to disk in cleartext.
The vulnerability was reported internally via Red Hat's OSIDB system in October 2025 and publicly disclosed in February 2026 (Red Hat Bugzilla). A brief technical write-up was published by Infinit Security covering the nature of the header exposure (Infinit Security). No significant broader media coverage or notable researcher commentary beyond standard vulnerability database entries has been observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."