cve.bz

CVE-2025-14559 Business Logic Errors

6.5 mediumEPSS 0.5%Fix available

Medium (6.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.keycloak:keycloak-services 26.4.9, 26.5.2.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
EPSS
0.5% (down from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-01-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-840 Business Logic Errors
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.keycloak:keycloak-services (Maven): fixed in 26.5.2, 26.4.9
  • Red Hat Red Hat build of Keycloak 26.4: fixed in 26.4.9-1
  • Red Hat Red Hat build of Keycloak 26.4: fixed in 26.4-11
  • Red Hat Red Hat build of Keycloak 26.4: fixed in 26.4-10

Ask an AI about this CVE

Show the promptExplain CVE-2025-14559 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-14559?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-14559?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-14559 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat build of Keycloak 26.426.4.9-1
Red Hat build of Keycloak 26.426.4-11
Red Hat build of Keycloak 26.426.4-10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wv3h-x6c4-r867Mavenorg.keycloak:keycloak-services>=26.5.0 <26.5.226.5.2
GHSA-wv3h-x6c4-r867Mavenorg.keycloak:keycloak-services<26.4.926.4.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu24.04:LTS, 25.10, 26.10python-keycloakno fix listedUBUNTU-CVE-2025-14559

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat. A business logic flaw in the Token Exchange implementation of Keycloak allows a privileged client with impersonation permission to issue access and refresh tokens for disabled users. This can lead to unauthorized access by former employees or banned users, despite their accounts being deactivated. Exploitation requires an internal high-privileged client and does not involve user interaction or direct authentication by the disabled user.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat build of Keycloak 26.4rhbk/keycloak-operator-bundle:26.4.9-1Fixed 2026-02-09RHSA-2026:2366
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9:26.4-11Fixed 2026-02-09RHSA-2026:2366
Red Hat build of Keycloak 26.4rhbk/keycloak-rhel9-operator:26.4-10Fixed 2026-02-09RHSA-2026:2366
Red Hat build of Keycloak 26.4.9keycloak-servicesFixed 2026-02-09RHSA-2026:2365

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-14559.

References

Check your stackJSON