CVE-2025-14559Org.keycloak/keycloak-services: keycloak keycloak-services: business logic flaw allows…
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | python-keycloak | Fix pending | UBUNTU-CVE-2025-14559 | |
| Ubuntu 25.10 | python-keycloak | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-14559 | |
| Ubuntu 24.04 | python-keycloak | Under investigation | UBUNTU-CVE-2025-14559 | |
| Maven library | org.keycloak:keycloak-services | Fixed | 26.4.9 | GHSA-wv3h-x6c4-r867 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat build of Keycloak 26.4
- Red Hat build of Keycloak 26.4.9
Workaround: To mitigate this issue, disable the Token Exchange preview feature within your Keycloak deployment if it is not actively required. This can typically be achieved through Keycloak's administrative console or by adjusting relevant configuration settings. If the Token Exchange feature must remain enabled, ensure that only strictly necessary and highly trusted clients are granted the 'impersonation' permission. Any changes to Keycloak configuration may require a service restart or reload to take effect, which could temporarily impact service availability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:2365 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:2366 (vendor-advisory)
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.