{"id":"CVE-2025-11537","state":"PUBLISHED","title":"Keycloak-services: sensitive headers shown in the http access logs","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.","publishedAt":"2026-02-10T10:53:28.147Z","updatedAt":"2026-10-30T18:31:04.417Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","source":"redhat"},"assigner":"redhat","products":["Red Hat Red Hat build of Keycloak 26.4.2","Red Hat Red Hat Build of Keycloak"],"affected":[{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.2","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:26.4::el9"]},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","packageName":"rhbk/keycloak-rhel9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:"]}],"references":["https://access.redhat.com/errata/RHEA-2025:19385","https://access.redhat.com/errata/RHEA-2025:19386","https://access.redhat.com/security/cve/CVE-2025-11537","https://bugzilla.redhat.com/show_bug.cgi?id=2402616"],"weaknesses":["CWE-117"],"ingestedAt":"2026-10-30T18:40:06.088Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/11xxx/CVE-2025-11537.json","commit":"7c60edf882a89f07fcce8b786bfad034e7ddeecb","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-11537","state":"PUBLISHED","datePublished":"2026-02-10T10:53:28.147Z","dateUpdated":"2026-10-30T18:31:04.417Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2025-10-09T01:26:22.026Z"},"containers":{"cna":{"title":"Keycloak-services: sensitive headers shown in the http access logs","descriptions":[{"lang":"en","value":"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":[{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.2","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:26.4::el9"]},{"vendor":"Red Hat","product":"Red Hat Build of Keycloak","packageName":"rhbk/keycloak-rhel9","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:build_keycloak:"]}],"references":[{"url":"https://access.redhat.com/errata/RHEA-2025:19385","name":"RHEA-2025:19385","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHEA-2025:19386","name":"RHEA-2025:19386","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-11537","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2402616","name":"RHBZ#2402616","tags":["issue-tracking","x_refsource_REDHAT"]}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-117","description":"Improper Output Neutralization for Logs","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-10-30T18:31:04.417Z"},"datePublic":"2025-10-09T19:17:00.000Z","x_redhatCweChain":"CWE-117: Improper Output Neutralization for Logs","workarounds":[{"lang":"en","value":"Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."}],"timeline":[{"lang":"en","time":"2025-10-09T01:22:16.019Z","value":"Reported to Red Hat."},{"lang":"en","time":"2025-10-09T19:17:00.000Z","value":"Made public."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-10T14:26:01.838863Z","id":"CVE-2025-11537","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-10T14:32:29.177Z"}}]}}}