# CVE-2026-18214: Keycloak-services: keycloak-services: google external access-token exchange bypasses hosted-domain restriction

- Severity: Medium 6.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-07-31T07:08:26.652Z
- Modified: 2026-09-17T14:45:07.864Z
- Also known as: BIT-KEYCLOAK-2026-18214
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

Keycloak allows users to log in using Google accounts and can be configured to only allow users from specific Google Workspace domains. A flaw was found where the token exchange feature, which allows swapping a Google token for a Keycloak token, does not check these domain restrictions. This means an attacker with a valid Google account from a different domain could bypass the security check and gain access to the Keycloak realm.

(As written by CVE List.)

## Affected

- rhbk/keycloak-operator-bundle: no versions given (not affected: from 26.6.7-3 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 26.6-20 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 26.6-20 before *)
- keycloak-services: no versions given
- rhbk-keycloak-rhel9/rhbk-keycloak-rhel9: no versions given
- rhbk-openshift-rhel9/rhbk-openshift-rhel9: no versions given
- redhat build_of_keycloak: no versions given
- keycloak (Bitnami): before 26.7.3

## Every score

- redhat: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://access.redhat.com/errata/RHSA-2026:68277> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:68278> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2026-18214> (advisory, vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2508308> (advisory, issue-tracking, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-18214> (web)

## Sources

- CVE List: [CVE-2026-18214](https://www.cve.org/CVERecord?id=CVE-2026-18214), CVE Terms of Use, modified 2026-09-16
- NVD: [CVE-2026-18214](https://nvd.nist.gov/vuln/detail/CVE-2026-18214), Public domain, modified 2026-09-16
- Bitnami Vulnerability Database: [BIT-KEYCLOAK-2026-18214](https://osv.dev/vulnerability/BIT-KEYCLOAK-2026-18214), Apache-2.0, modified 2026-09-17

---

Page: https://cve.day/CVE-2026-18214 · Whole record: https://cve.day/CVE-2026-18214.json · Rebuilt by cve.day 2026-11-25T22:59:30.696Z
