GitHub Advisory Database
GHSA-wv3h-x6c4-r867
Keycloak services allows the issuance of access and refresh tokens for disabled users
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.keycloak:keycloak-services | From 26.5.0 before 26.5.2 (fixed in 26.5.2) |
| Maven | org.keycloak:keycloak-services | All versions before 26.4.9 (fixed in 26.4.9) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-14559
- https://github.com/keycloak/keycloak/issues/45651
- https://github.com/keycloak/keycloak/commit/2d0aa31c4830ebaad094c3762e78b884c141e659
- https://github.com/keycloak/keycloak/commit/d67349f3aa9fed5c61750619d0f9de6356aeaeff
- https://access.redhat.com/errata/RHSA-2026:2365
- https://access.redhat.com/errata/RHSA-2026:2366
- https://access.redhat.com/security/cve/CVE-2025-14559
- https://bugzilla.redhat.com/show_bug.cgi?id=2421711
- https://github.com/keycloak/keycloak
- https://github.com/keycloak/keycloak/releases/tag/26.5.2