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.
Update org.keycloak:keycloak-server-spi-private to 26.6.3; org.keycloak:keycloak-services to 26.6.3 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanKeycloak Vulnerable to Incorrect Authorization affects org.keycloak:keycloak-server-spi-private (maven), org.keycloak:keycloak-server-spi-private (maven), org.keycloak:keycloak-services (maven), org.keycloak:keycloak-services (maven). Severity is medium. 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.
AI coding agents often install or upgrade packages automatically in maven. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| org.keycloak:keycloak-server-spi-private |
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.
Update org.keycloak:keycloak-server-spi-private to 26.6.3; org.keycloak:keycloak-services to 26.6.3 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanKeycloak Vulnerable to Incorrect Authorization affects org.keycloak:keycloak-server-spi-private (maven), org.keycloak:keycloak-server-spi-private (maven), org.keycloak:keycloak-services (maven), org.keycloak:keycloak-services (maven). Severity is medium. 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.
AI coding agents often install or upgrade packages automatically in maven. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| org.keycloak:keycloak-server-spi-private |
| >=26.5.0,<26.6.3 |
| 26.6.3 |
| org.keycloak:keycloak-server-spi-privatemaven | <=26.4.7 | Not reported |
|---|
| org.keycloak:keycloak-servicesmaven | >=26.5.0,<26.6.3 | 26.6.3 |
|---|
| org.keycloak:keycloak-servicesmaven | <=26.4.7 | Not reported |
|---|
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| >=26.5.0,<26.6.3 |
| 26.6.3 |
| org.keycloak:keycloak-server-spi-privatemaven | <=26.4.7 | Not reported |
|---|
| org.keycloak:keycloak-servicesmaven | >=26.5.0,<26.6.3 | 26.6.3 |
|---|
| org.keycloak:keycloak-servicesmaven | <=26.4.7 | Not reported |
|---|
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard