{"id":"CVE-2025-11537","aliases":["GHSA-gv3v-2cpp-3pmq"],"title":"Keycloak-services: sensitive headers shown in the http access logs","titleSource":"redhat","descriptionSource":"OSV","declaredSeverity":"MODERATE","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.\n\nPatches are available, see:\n\n- https://github.com/keycloak/keycloak/releases/tag/26.4.11\n- https://github.com/keycloak/keycloak/releases/tag/26.5.6\n- https://github.com/keycloak/keycloak/releases/tag/26.6.0","severity":"medium","score":5,"published":"2026-02-10T10:53:28.147Z","modified":"2026-10-30T21:45:09.451Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Maven","name":"org.keycloak:keycloak-quarkus-server","sources":[{"name":"OSV · GHSA-gv3v-2cpp-3pmq","url":"https://osv.dev/vulnerability/GHSA-gv3v-2cpp-3pmq"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"26.5.6"}],"type":"ECOSYSTEM"}],"versions":["12.0.0","12.0.1","12.0.2","12.0.3","12.0.4","13.0.0","13.0.1","14.0.0","15.0.0","15.0.1","15.0.2","15.1.0","15.1.1","16.0.0","16.1.0","16.1.1","17.0.0","17.0.1","18.0.0","18.0.1","18.0.2","19.0.0","19.0.1","19.0.2","19.0.3","20.0.0","20.0.1","20.0.2","20.0.3","20.0.4","20.0.5","21.0.0","21.0.1","21.0.2","21.1.0","21.1.1","21.1.2","22.0.0","22.0.1","22.0.2","22.0.3","22.0.4","22.0.5","23.0.0","23.0.1","23.0.2","23.0.3","23.0.4","23.0.5","23.0.6","23.0.7","24.0.0","24.0.1","24.0.2","24.0.3","24.0.4","24.0.5","25.0.0","25.0.1","25.0.2","25.0.3","25.0.4","25.0.5","25.0.6","26.0.0","26.0.1","26.0.2","26.0.4","26.0.5","26.0.6","26.0.7","26.0.8","26.1.0","26.1.1","26.1.2","26.1.3","26.1.4","26.1.5","26.2.0","26.2.1","26.2.2","26.2.3","26.2.4","26.2.5","26.3.0","26.3.1","26.3.2","26.3.3","26.3.4","26.3.5","26.4.0","26.4.1","26.4.2","26.4.3","26.4.4","26.4.5","26.4.6","26.4.7","26.5.0","26.5.1","26.5.2","26.5.3","26.5.4","26.5.5"],"fixed":["26.5.6"]}],"sourceAffected":[],"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","https://nvd.nist.gov/vuln/detail/CVE-2025-11537","https://github.com/keycloak/keycloak/commit/137a35c1109ff43a305f26264978a3ea21452373","https://github.com/keycloak/keycloak/commit/5a3cdb7c4ccbf83ffc926f70d655a60269d7207b","https://github.com/keycloak/keycloak/commit/9622f550a6e565b29a3a37454421f08626791a6c","https://github.com/keycloak/keycloak","https://www.keycloak.org/server/logging#_change_log_formatpattern"],"sources":[{"name":"CVE","id":"CVE-2025-11537","modified":"2026-10-30T18:31:04.417Z","url":"https://www.cve.org/CVERecord?id=CVE-2025-11537"},{"name":"OSV","id":"GHSA-gv3v-2cpp-3pmq","modified":"2026-10-30T21:45:09.451395048Z","url":"https://osv.dev/vulnerability/GHSA-gv3v-2cpp-3pmq"}],"assessments":[{"source":"redhat","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5},{"source":"OSV","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5}],"cve":{"records":[{"id":"CVE-2025-11537","source":"redhat","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2025-10-09T01:26:22.026Z","published":"2026-02-10T10:53:28.147Z","modified":"2026-10-30T18:31:04.417Z"}],"publishers":[{"name":"redhat","role":"CNA","organizationId":"53f830b8-0a3f-465b-8143-3b8a9948e749","modified":"2026-10-30T18:31:04.417Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-02-10T14:32:29.177Z"}],"references":[{"url":"https://access.redhat.com/errata/RHEA-2025:19385","tags":["vendor-advisory","x_refsource_REDHAT"],"source":"redhat"},{"url":"https://access.redhat.com/errata/RHEA-2025:19386","tags":["vendor-advisory","x_refsource_REDHAT"],"source":"redhat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-11537","tags":["vdb-entry","x_refsource_REDHAT"],"source":"redhat"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2402616","tags":["issue-tracking","x_refsource_REDHAT"],"source":"redhat"}],"weaknesses":[{"id":"CWE-117","description":"Improper Output Neutralization for Logs","source":"redhat"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-02-10T14:26:01.838863Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"Red Hat","name":"Red Hat build of Keycloak 26.4.2","platforms":[],"versions":[],"defaultStatus":"unaffected","cpes":["cpe:/a:redhat:build_keycloak:26.4::el9"],"source":"redhat","url":"https://www.cve.org/CVERecord?id=CVE-2025-11537"},{"vendor":"Red Hat","name":"Red Hat Build of Keycloak","platforms":[],"versions":[],"defaultStatus":"affected","cpes":["cpe:/a:redhat:build_keycloak:"],"source":"redhat","url":"https://www.cve.org/CVERecord?id=CVE-2025-11537"}],"remediation":[{"text":"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.","source":"redhat","url":"https://www.cve.org/CVERecord?id=CVE-2025-11537"}],"observedAt":"2026-10-30T22:54:51.688Z","kev":{"status":"not-listed","checkedAt":"2026-11-14T23:35:33.875Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":{"text":"Keycloak has a flaw that discloses sensitive headers, including Authorization and Cookie, to logs in cleartext when the logging format is set to a verbose pattern. An attacker with read access to the log files can extract these credentials. The affected versions are prior to 26.5.6.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T05:56:15.882Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2025-11537"},{"name":"OSV","url":"https://osv.dev/vulnerability/GHSA-gv3v-2cpp-3pmq"}]}}