Quick answers
- Is CVE-2026-18214 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-18214 being exploited in the wild.
- How severe is CVE-2026-18214?
- Medium severity, with a CVSS score of 6.8, published 31 July 2026.
- Which products and versions are affected?
- Keycloak unspecified.
- Is there a fix for CVE-2026-18214?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-18214 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-18214?
- Check whether you run Keycloak at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A missing authorization vulnerability (CWE-862) exists in the Keycloak Google Identity Provider implementation when the Token Exchange V1 feature is enabled. While the standard Google ID-token login flow correctly validates the 'hd' (hosted domain) claim, the external access-token exchange path skips this validation. When an external access token is provided, Keycloak retrieves the user profile from the Google user-info endpoint but fails to verify that the user's domain matches the 'hostedDomain' restriction configured in the Identity Provider settings. An attacker with a valid Google access token and access to a confidential client authorized for token exchange can bypass these restrictions to obtain a Keycloak access token.
Affected products
- Red Hat Build of Keycloak unspecified
- Keycloak Keycloak unspecified
Timeline
- 2026-07-29: disclosed: Reported via Red Hat Bugzilla
- 2026-07-31: advisory: NVD publication date