Description
A flaw was found in the keycloak-services component of Keycloak. This vulnerability allows the issuance of access and refresh tokens for disabled users, leading to unauthorized use of previously revoked privileges, via a business logic vulnerability in the Token Exchange implementation when a privileged client invokes the token exchange flow.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 26.4 | — | — |
| Red Hat | Red Hat build of Keycloak 26.4.9 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-keycloak | No fix yet | — |
| Ubuntu 25.10 | python-keycloak | No fix yet | — |
| Ubuntu 24.04 LTS | python-keycloak | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | keycloak-26.4-iamguarded-compat | No fix yet | — |
| Wolfi rolling | keycloak-26.5 +1 | 26.5.2-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | >= 26.5.0, < 26.5.2 | 26.5.2 | GHSA-wv3h-x6c4-r867 |
| Maven | org.keycloak:keycloak-services | < 26.4.9 | 26.4.9 | GHSA-wv3h-x6c4-r867 |
Advisories 1
- WID-SEC-2026-0197 Keycloak: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 6, 2026
References
- RHSA-2026:2365 vendor-advisory
- RHSA-2026:2366 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-14559 vdb-entry
- RHBZ#2421711 issue-tracking