Keycloak-services: sensitive headers shown in the http access logs (Red Hat Red Hat build of Keycloak 26.4.2)

CVE-2025-11537
MEDIUM 5.0

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Deferred

Description

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.

Weaknesses (CWE)

  • CWE-117 — Improper Output Neutralization for Logs

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.0CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 5.0CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)

Advisories

European references

Affected products

ProductVersions
Red Hat · Red Hat build of Keycloak 26.4.2
Red Hat · Red Hat Build of Keycloak

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD