GHSA-4q93-v92x-p89f

Keycloak Vulnerable to Incorrect Authorization

At a glance

Published
Updated
CVE
CVE-2026-9791
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Description

A flaw was found in Keycloak. An authenticated user with existing organization membership can exploit this flaw by accessing user-facing APIs, such as the account API or by requesting an OpenID Connect (OIDC) token with the 'organization' scope. This allows organization metadata to be disclosed in tokens, even after an administrator has explicitly disabled the Organizations feature, potentially leading to incorrect authorization decisions by resource servers.

Affected packages

PackageVersions
Maven · org.keycloak:keycloak-server-spi-privateintroduced 26.5.0, fixed 26.6.3
Maven · org.keycloak:keycloak-servicesintroduced 26.5.0, fixed 26.6.3
Maven · org.keycloak:keycloak-server-spi-privateintroduced 0, last affected 26.4.7
Maven · org.keycloak:keycloak-servicesintroduced 0, last affected 26.4.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database