{"id":"CVE-2026-97847","aliases":[],"summary":"Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority","published_at":"2026-11-05T00:00:00Z","modified_at":"2026-11-09T17:24:47.834Z","products":[{"slug":"keycloak","name":"Keycloak","category":"identity"}],"rating":{"severity":"high","score":7.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0031500000040978193,"percentile":0.24932999908924103,"date":"2026-11-19T00:00:00Z"},"priority":8.1,"details":"A flaw was found in the protocol mapper and identity resolution components of Keycloak. The issue occurs when a client manager uses hardcoded-claim mappers to override identity claims in sessionless service-account tokens. Because these tokens lack a session ID, Keycloak may incorrectly resolve the token bearer as a different, highly privileged user based on the manipulated claims. This can allow an attacker with limited client management permissions to impersonate a realm administrator and gain full control over the realm.","affected_stack":[{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.4.17-2"}]}],"fixed":["26.4.17-2"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.4-29"}]}],"fixed":["26.4-29"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.4-30"}]}],"fixed":["26.4-30"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6.8-2"}]}],"fixed":["26.6.8-2"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-24"}]}],"fixed":["26.6-24"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-24"}]}],"fixed":["26.6-24"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","status":"not_affected","packages":["keycloak-services"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-97847"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","status":"fixed","packages":["rhbk/keycloak-operator-bundle","rhbk/keycloak-rhel9","rhbk/keycloak-rhel9-operator"],"package_count":3,"fixed":[],"advisories":["RHSA-2026:95760"],"provider":"redhat-vex","source":"CVE-2026-97847"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.17","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:95759"],"provider":"redhat-vex","source":"CVE-2026-97847"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":["rhbk/keycloak-operator-bundle","rhbk/keycloak-rhel9","rhbk/keycloak-rhel9-operator"],"package_count":3,"fixed":[],"advisories":["RHSA-2026:95762"],"provider":"redhat-vex","source":"CVE-2026-97847"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.8","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:95761"],"provider":"redhat-vex","source":"CVE-2026-97847"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-4375","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4375","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-11-05T23:00:00Z","modified_at":"2026-11-11T23:00:00Z","summary":"Keycloak: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Keycloak ausnutzen, um Sicherheitsvorkehrungen zu umgehen, um einen Denial of Service Angriff durchzuführen und um einen Cross-Site Scripting Angriff durchzuführen.\n\nKeycloak ermöglicht Single Sign-On mit Identity and Access Management für moderne Anwendungen und Dienste.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2026-4375"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-4375.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4375"},{"type":"WEB","url":"https://www.keycloak.org/2026/11/keycloak-2682-released"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:95759"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:95760"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:95761"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:96040"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:96039"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:96038"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:96037"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:95762"}]},{"provider":"cvelistv5","source_id":"CVE-2026-97847","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-97847","license":"CC-BY-4.0","published_at":"2026-11-05T17:16:10.269Z","modified_at":"2026-11-09T17:24:47.834Z","summary":"Keycloak-services: keycloak-services: client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority","details":"A flaw was found in the protocol mapper and identity resolution components of Keycloak. The issue occurs when a client manager uses hardcoded-claim mappers to override identity claims in sessionless service-account tokens. Because these tokens lack a session ID, Keycloak may incorrectly resolve the token bearer as a different, highly privileged user based on the manipulated claims. This can allow an attacker with limited client management permissions to impersonate a realm administrator and gain full control over the realm.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","source":"CVE-2026-97847"}],"affected":[{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.4.17-2"}]}],"fixed":["26.4.17-2"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.4-29"}]}],"fixed":["26.4-29"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.4-30"}]}],"fixed":["26.4-30"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6.8-2"}]}],"fixed":["26.6.8-2"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-24"}]}],"fixed":["26.6-24"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-24"}]}],"fixed":["26.6-24"],"provider":"cvelistv5","source":"CVE-2026-97847","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95759"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95760"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95761"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95762"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-97847"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2540950"}]},{"provider":"redhat-vex","source_id":"CVE-2026-97847","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-97847","license":"CC-BY-4.0","published_at":"2026-11-05T00:00:00Z","modified_at":"2026-11-06T19:15:49Z","summary":"keycloak-services: keycloak-services: Client manager can substitute sessionless token principal via hardcoded-claim mappers to obtain realm administrator authority","details":"A flaw was found in the protocol mapper and identity resolution components of Keycloak. The issue occurs when a client manager uses hardcoded-claim mappers to override identity claims in sessionless service-account tokens. Because these tokens lack a session ID, Keycloak may incorrectly resolve the token bearer as a different, highly privileged user based on the manipulated claims. This can allow an attacker with limited client management permissions to impersonate a realm administrator and gain full control over the realm.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L","source":"CVE-2026-97847"},{"type":"Red Hat","score":"Important","source":"CVE-2026-97847"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","cpe":"cpe:/a:redhat:red_hat_single_sign_on:7","status":"not_affected","packages":["keycloak-services"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-97847"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","status":"fixed","packages":["rhbk/keycloak-operator-bundle","rhbk/keycloak-rhel9","rhbk/keycloak-rhel9-operator"],"package_count":3,"fixed":[],"advisories":["RHSA-2026:95760"],"provider":"redhat-vex","source":"CVE-2026-97847"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4.17","cpe":"cpe:/a:redhat:build_keycloak:26.4::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:95759"],"provider":"redhat-vex","source":"CVE-2026-97847"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":["rhbk/keycloak-operator-bundle","rhbk/keycloak-rhel9","rhbk/keycloak-rhel9-operator"],"package_count":3,"fixed":[],"advisories":["RHSA-2026:95762"],"provider":"redhat-vex","source":"CVE-2026-97847"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.8","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:95761"],"provider":"redhat-vex","source":"CVE-2026-97847"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97847.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-97847"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2540950"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-97847"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97847"}]}],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95759"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95760"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95761"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:95762"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-97847"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2540950"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-97847.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-97847"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97847"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-4375","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-4375","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-11-11T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-97847","url":"https://www.cve.org/CVERecord?id=CVE-2026-97847","license":"CC-BY-4.0","modified_at":"2026-11-09T17:24:47.834Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-97847","url":"https://access.redhat.com/security/cve/CVE-2026-97847","license":"CC-BY-4.0","modified_at":"2026-11-06T19:15:49Z","relation":"self"}]}
