# CVE-2025-11537: Keycloak logs sensitive headers

Source: https://junglewise.ai/threats/cve-2025-11537-keycloak-logs-sensitive-headers  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-02-10  
License: CC BY 4.0 with a link back

CVE-2025-11537 · Severity: medium · CVSS 5 · Published 2026-02-10

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.

Technologies: [org.keycloak:keycloak-quarkus-server (Maven)](https://junglewise.ai/threats/technologies/org-keycloak-keycloak-quarkus-server). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-11537 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-11537 being exploited in the wild.

**How severe is CVE-2025-11537?** Medium severity, with a CVSS score of 5, published 10 February 2026.

**Which products and versions are affected?** org.keycloak:keycloak-quarkus-server (Maven) < 26.5.6, ECOSYSTEM:introduced=0,fixed=26.5.6.

**Is there a fix for CVE-2025-11537?** Yes. org.keycloak:keycloak-quarkus-server (Maven): upgrade to 26.5.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-11537?** Check whether you run org.keycloak:keycloak-quarkus-server (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.keycloak:keycloak-quarkus-server (Maven): upgrade to 26.5.6 or later

  ```sh
  # set org.keycloak:keycloak-quarkus-server to 26.5.6 in your pom.xml or build.gradle
  ```


## Affected products

- org.keycloak:keycloak-quarkus-server (Maven) < 26.5.6, ECOSYSTEM:introduced=0,fixed=26.5.6

## Identifiers

- CVE-2025-11537
- GHSA-gv3v-2cpp-3pmq

## Related threats

- [Keycloak improper input validation in matrix parameters](https://junglewise.ai/threats/cve-2026-0976-keycloak-improper-input-validation-in-matrix-parameters)
- [Duplicate Advisory: Keycloak allows Binding to an Unrestricted IP Address](https://junglewise.ai/threats/duplicate-advisory-keycloak-allows-binding-to-an-unrestricted-ip-290ed44a)
- [Duplicate Advisory: Keycloak allows access to admin path through flaw](https://junglewise.ai/threats/duplicate-advisory-keycloak-allows-access-to-admin-path-through-flaw-9154b7cd)
- [Keycloak path traversal in admin access via proxy](https://junglewise.ai/threats/cve-2025-10939-keycloak-path-traversal-in-admin-access-via-proxy)
- [Keycloak on Quarkus CLI option for encrypted JGroups ignored](https://junglewise.ai/threats/cve-2024-10973-keycloak-on-quarkus-cli-option-for-encrypted-jgroups-ignored)
