ADVISORIES

GitHub Advisory Database

GHSA-hcvw-475w-8g7p

Keycloak affected by improper invitation token validation

Details

A flaw was found in Keycloak. An attacker can exploit this vulnerability by modifying the organization ID and target email within a legitimate invitation token's JSON Web Token (JWT) payload. This lack of cryptographic signature verification allows the attacker to successfully self-register into an unauthorized organization, leading to unauthorized access.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
From 26.5.0 before 26.5.3 (fixed in 26.5.3)
Mavenorg.keycloak:keycloak-services
All versions before 26.2.13 (fixed in 26.2.13)
Mavenorg.keycloak:keycloak-services
From 26.3.0 before 26.4.9 (fixed in 26.4.9)

References