{"id":"CVE-2025-14559","published":"2026-01-21T06:13:31Z","modified":"2026-02-10T01:04:33Z","title":"Org.keycloak/keycloak-services: keycloak keycloak-services: business logic flaw allows unauthorized token issuance for…","vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00617,"percentile":0.43816,"provenance":"source"},"cwes":[{"id":"CWE-840","name":null}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:2365","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:2366","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-14559","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2421711","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":8.76},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-21T14:29:08.373102Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":[">=26.5.0, <26.5.2","<26.4.9"],"patched":["26.5.2","26.4.9"],"from":["GHSA-wv3h-x6c4-r867"],"provenance":"source"}],"summary":{"text":"The flaw is in the keycloak-services component of Red Hat build of Keycloak 26.4, specifically a business logic error in the Token Exchange implementation. An attacker who holds a privileged client that invokes the token exchange flow can obtain access and refresh tokens for disabled users, which lets them use privileges that had previously been revoked.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:36Z"},"euvd":{"id":"EUVD-2026-3686","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-12150","published":"2026-02-27","fixed":"26.4.4","kev":false},{"cve":"CVE-2025-14082","published":"2025-12-10","fixed":"26.5.0","kev":false,"link":{"from":"CVE-2025-14082","to":"CVE-2025-14559","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.5.0","toFixed":"26.5.2","daysApart":42}]}},{"cve":"CVE-2025-13881","published":"2026-02-02","fixed":"26.5.2","kev":false},{"cve":"CVE-2025-14559","published":"2026-01-21","fixed":"26.5.2","kev":false},{"cve":"CVE-2025-14778","published":"2026-02-09","fixed":"26.5.3","kev":false},{"cve":"CVE-2026-1486","published":"2026-02-09","fixed":"26.5.3","kev":false},{"cve":"CVE-2026-1529","published":"2026-02-09","fixed":"26.5.3","kev":false}],"package":"Maven:org.keycloak:keycloak-services"}}