{"id":"CVE-2025-11537","aliases":["CVE-2025-11537","GHSA-gv3v-2cpp-3pmq"],"related":[],"kind":"vulnerability","state":"published","title":"Keycloak-services: sensitive headers shown in the http access logs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró un fallo en Keycloak. Cuando el formato de registro se configura a un patrón detallado, proporcionado por el usuario (como el patrón 'long' predefinido), los encabezados sensibles, incluyendo Autorización y Cookie, se divulgan en los registros en texto claro. Un atacante con acceso de lectura a los archivos de registro puede extraer estas credenciales (por ejemplo, tokens de portador, cookies de sesión) y usarlas para suplantar a los usuarios, lo que lleva a un compromiso total de la cuenta.","source":"nvd"}],"published":"2026-02-10T10:53:28.147Z","modified":"2026-10-30T21:45:09.451Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-117"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.2","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Build of Keycloak","package":"rhbk/keycloak-rhel9","cpe":"cpe:/a:redhat:build_keycloak:","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.5.6"}],"ecosystem":"Maven","package":"org.keycloak:keycloak-quarkus-server","purl":"pkg:maven/org.keycloak/keycloak-quarkus-server","source":"ghsa"}],"references":[{"url":"https://access.redhat.com/errata/RHEA-2025:19385","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHEA-2025:19386","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-11537","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2402616","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11537","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/137a35c1109ff43a305f26264978a3ea21452373","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/5a3cdb7c4ccbf83ffc926f70d655a60269d7207b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak/commit/9622f550a6e565b29a3a37454421f08626791a6c","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keycloak/keycloak","tags":["package"],"sources":["ghsa"]},{"url":"https://www.keycloak.org/server/logging#_change_log_formatpattern","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-02-10T14:26:01.838Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-11537","url":"https://www.cve.org/CVERecord?id=CVE-2025-11537","licence":"CVE Terms of Use","modified":"2026-10-30T18:31:04.417Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gv3v-2cpp-3pmq","url":"https://github.com/advisories/GHSA-gv3v-2cpp-3pmq","licence":"CC-BY-4.0","modified":"2026-10-30T21:45:09.451Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-11537","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11537","licence":"Public domain","modified":"2026-10-30T19:17:39.007Z"}],"updatedAt":"2026-11-25T22:59:11.102Z","epss":{"score":0.00171,"percentile":0.06799,"date":"2026-12-01T12:00:22.000Z"}}