CVE-2026-16072: Keycloak-services: keycloak-services: organization invitation link exposure allows unauthorized member creation
A flaw was found in the organization management component of Keycloak. A delegated administrator with permission to manage organizations can create an invitation for a non-existent email address and then retrieve the secret registration link directly through the application programming interface. By using this link, the administrator can create new user accounts and add them to the organization without having the required user management permissions or access to the invited email account. This allows an administrator to bypass security boundaries and add unauthorized members to an organization.
Other sources
A permission bypass vulnerability was identified in the Keycloak organization REST API. The flaw exists in how pending organization invitations are handled. A user granted the manage-organizations permission, but lacking the manage-users permission, can initiate an invitation for an arbitrary email address. The API response for listing pending invitations includes the inviteLink, which contains a bearer token for registration. An attacker can retrieve this link and access it directly to register a new managed member. This bypasses the requirement for the manage-users permission and skips the intended email ownership verification step. Successful exploitation allows a delegated administrator to create new managed user accounts and associate them with an organization without proper authorization.
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-16072?
CVE-2026-16072 has a medium severity rating of 4.9.
How do I fix CVE-2026-16072?
To fix CVE-2026-16072, ensure that the software permissions are correctly configured to prevent delegated administrators from creating invitations for non-existent email addresses.
What is the risk associated with CVE-2026-16072?
CVE-2026-16072 presents a risk score of 30, indicating the potential for unauthorized member creation.
What component is affected by CVE-2026-16072?
CVE-2026-16072 affects the Keycloak organization management component and the Keycloak organization REST API.
Who is vulnerable to CVE-2026-16072?
Organizations using Keycloak with delegated administrators that have permissions to manage organizations are vulnerable to CVE-2026-16072.