---
id: CVE-2025-11537
aliases:
  - GHSA-gv3v-2cpp-3pmq
title: Keycloak logs sensitive headers
summary: Keycloak logs sensitive headers
severity: medium
cvss: 5
cwe:
  - CWE-117
vendor: keycloak
product: 'org.keycloak:keycloak-quarkus-server'
ecosystem: maven
affected:
  - 'org.keycloak:keycloak-quarkus-server < 26.5.6'
patched:
  - 'org.keycloak:keycloak-quarkus-server 26.5.6'
published: '2026-02-10'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T21:31:49Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-gv3v-2cpp-3pmq'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-11537'
  - url: 'https://access.redhat.com/security/cve/CVE-2025-11537'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2402616'
  - url: >-
      https://github.com/keycloak/keycloak/commit/137a35c1109ff43a305f26264978a3ea21452373
  - url: 'https://www.keycloak.org/server/logging#_change_log_formatpattern'
  - url: >-
      https://github.com/keycloak/keycloak/commit/5a3cdb7c4ccbf83ffc926f70d655a60269d7207b
  - url: >-
      https://github.com/keycloak/keycloak/commit/9622f550a6e565b29a3a37454421f08626791a6c
  - url: 'https://access.redhat.com/errata/RHEA-2025:19385'
  - url: 'https://access.redhat.com/errata/RHEA-2025:19386'
  - url: 'https://github.com/advisories/GHSA-gv3v-2cpp-3pmq'
tags:
  - ghsa
  - maven
epss: 0.00164
epssPercentile: 0.05583
ingestedAt: '2026-10-30T22:10:27.070Z'
---

## Overview

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

## Affected packages

- `org.keycloak:keycloak-quarkus-server < 26.5.6`

## Remediation

Upgrade to a patched release:

- `org.keycloak:keycloak-quarkus-server 26.5.6`
