{"id":"CVE-2026-18215","aliases":["BIT-keycloak-2026-18215"],"summary":"Keycloak-services: keycloak-services: microsoft external access-token exchange bypasses configured tenant","published_at":"2026-07-28T12:12:27Z","modified_at":"2026-09-17T14:45:09.416534Z","products":[{"slug":"keycloak","name":"Keycloak","category":"identity"}],"rating":{"severity":"high","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.004040000028908253,"percentile":0.3535799980163574,"date":"2026-11-19T00:00:00Z"},"priority":9.1,"details":"Keycloak provides a way to let users log in using Microsoft accounts while restricting access to a specific organization (tenant). A flaw was discovered where this restriction is ignored when using the token exchange feature. This means an attacker with a valid Microsoft token from a completely different organization could gain access to the Keycloak realm, potentially accessing sensitive data or performing unauthorized actions.","affected_stack":[{"ecosystem":"Bitnami","package":"keycloak","purl":"pkg:bitnami/keycloak","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"26.7.3"}]}],"fixed":["26.7.3"],"provider":"osv","source":"BIT-keycloak-2026-18215","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6.7-3"}]}],"fixed":["26.6.7-3"],"provider":"cvelistv5","source":"CVE-2026-18215","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-20"}]}],"fixed":["26.6-20"],"provider":"cvelistv5","source":"CVE-2026-18215","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-20"}]}],"fixed":["26.6-20"],"provider":"cvelistv5","source":"CVE-2026-18215","relation":"self"}],"affected_other":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Data Grid 8","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"not_affected","packages":["keycloak-services"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-18215"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["keycloak-services"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-18215"},{"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-18215"},{"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:68277"],"provider":"redhat-vex","source":"CVE-2026-18215"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.7","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:68278"],"provider":"redhat-vex","source":"CVE-2026-18215"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2614","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2614","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-02T22:00:00Z","modified_at":"2026-11-08T23:00:00Z","summary":"Keycloak: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Keycloak ausnutzen, um seine Privilegien zu erhöhen, Sicherheitsmaßnahmen zu umgehen, Daten zu manipulieren und sensible Informationen offenzulegen.\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-2614"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2614.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2614"},{"type":"WEB","url":"https://github.com/advisories/GHSA-2w88-g477-cxmj"},{"type":"WEB","url":"https://github.com/advisories/GHSA-82v3-6227-jc8x"},{"type":"WEB","url":"https://github.com/advisories/GHSA-c8xx-fr3x-6m5w"},{"type":"WEB","url":"https://github.com/advisories/GHSA-jg59-c35g-76r8"},{"type":"WEB","url":"https://github.com/advisories/GHSA-v8h5-7wp9-qxxv"},{"type":"WEB","url":"https://github.com/advisories/GHSA-vhxw-j6h3-48jm"},{"type":"WEB","url":"https://github.com/advisories/GHSA-w32v-46r7-99r7"},{"type":"WEB","url":"https://github.com/advisories/GHSA-wmhp-w67v-6jm5"},{"type":"WEB","url":"https://github.com/advisories/GHSA-wx5m-whr8-48h5"},{"type":"WEB","url":"https://github.com/advisories/GHSA-r6f5-hj4x-7mq7"},{"type":"WEB","url":"https://github.com/advisories/GHSA-wm3j-jpqg-fwv2"},{"type":"WEB","url":"https://github.com/advisories/GHSA-5vmc-qhfj-qxc3"},{"type":"WEB","url":"https://github.com/advisories/GHSA-mcjq-c4g7-wcfh"},{"type":"WEB","url":"https://github.com/advisories/GHSA-pjp7-q6wp-97qx"},{"type":"WEB","url":"https://www.keycloak.org/2026/08/keycloak-2673-released"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:68277"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:68278"},{"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:95762"}]},{"provider":"cvelistv5","source_id":"CVE-2026-18215","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-18215","license":"CC-BY-4.0","published_at":"2026-07-31T06:48:14.687Z","modified_at":"2026-09-16T18:34:34.852Z","summary":"Keycloak-services: keycloak-services: microsoft external access-token exchange bypasses configured tenant","details":"Keycloak provides a way to let users log in using Microsoft accounts while restricting access to a specific organization (tenant). A flaw was discovered where this restriction is ignored when using the token exchange feature. This means an attacker with a valid Microsoft token from a completely different organization could gain access to the Keycloak realm, potentially accessing sensitive data or performing unauthorized actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2026-18215"}],"affected":[{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6.7-3"}]}],"fixed":["26.6.7-3"],"provider":"cvelistv5","source":"CVE-2026-18215","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-20"}]}],"fixed":["26.6-20"],"provider":"cvelistv5","source":"CVE-2026-18215","relation":"self"},{"ecosystem":"CVE","package":"Red Hat/Red Hat build of Keycloak 26.6","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"26.6-20"}]}],"fixed":["26.6-20"],"provider":"cvelistv5","source":"CVE-2026-18215","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:68277"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:68278"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-18215"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2508309"}]},{"provider":"osv","source_id":"BIT-keycloak-2026-18215","relation":"self","url":"https://osv.dev/vulnerability/BIT-keycloak-2026-18215","license":"Apache-2.0","published_at":"2026-08-31T14:37:15.829Z","modified_at":"2026-09-17T14:45:09.416534Z","summary":"Keycloak-services: keycloak-services: microsoft external access-token exchange bypasses configured tenant","details":"Keycloak provides a way to let users log in using Microsoft accounts while restricting access to a specific organization (tenant). A flaw was discovered where this restriction is ignored when using the token exchange feature. This means an attacker with a valid Microsoft token from a completely different organization could gain access to the Keycloak realm, potentially accessing sensitive data or performing unauthorized actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"BIT-keycloak-2026-18215"}],"affected":[{"ecosystem":"Bitnami","package":"keycloak","purl":"pkg:bitnami/keycloak","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"26.7.3"}]}],"fixed":["26.7.3"],"provider":"osv","source":"BIT-keycloak-2026-18215","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-18215"},{"type":"ADVISORY","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2508309"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18215"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:68277"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:68278"}]},{"provider":"redhat-vex","source_id":"CVE-2026-18215","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-18215","license":"CC-BY-4.0","published_at":"2026-07-28T12:12:27Z","modified_at":"2026-08-31T14:20:00Z","summary":"keycloak-services: keycloak-services: Microsoft external access-token exchange bypasses configured tenant","details":"Keycloak provides a way to let users log in using Microsoft accounts while restricting access to a specific organization (tenant). A flaw was discovered where this restriction is ignored when using the token exchange feature. This means an attacker with a valid Microsoft token from a completely different organization could gain access to the Keycloak realm, potentially accessing sensitive data or performing unauthorized actions.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2026-18215"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-18215"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Data Grid 8","cpe":"cpe:/a:redhat:jboss_data_grid:8","status":"not_affected","packages":["keycloak-services"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-18215"},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Expansion Pack","cpe":"cpe:/a:redhat:jbosseapxp","status":"not_affected","packages":["keycloak-services"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-18215"},{"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-18215"},{"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:68277"],"provider":"redhat-vex","source":"CVE-2026-18215"},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.6.7","cpe":"cpe:/a:redhat:build_keycloak:26.6::el9","status":"fixed","packages":[],"package_count":0,"fixed":[],"advisories":["RHSA-2026:68278"],"provider":"redhat-vex","source":"CVE-2026-18215"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-18215.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-18215"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2508309"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-18215"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18215"}]}],"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:68277"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:68278"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-18215"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2508309"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-18215"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-18215.json"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-18215"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2614","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2614","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-11-08T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-18215","url":"https://www.cve.org/CVERecord?id=CVE-2026-18215","license":"CC-BY-4.0","modified_at":"2026-09-16T18:34:34.852Z","relation":"self"},{"provider":"osv","source_id":"BIT-keycloak-2026-18215","url":"https://osv.dev/vulnerability/BIT-keycloak-2026-18215","license":"Apache-2.0","modified_at":"2026-09-17T14:45:09.416534Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-18215","url":"https://access.redhat.com/security/cve/CVE-2026-18215","license":"CC-BY-4.0","modified_at":"2026-08-31T14:20:00Z","relation":"self"}]}
