{"id":"CVE-2025-12110","published":"2025-10-23T14:19:24Z","modified":"2026-01-20T21:04:49Z","title":"Keycloak: org.keycloak:keycloak-services: user can refresh offline session even after client's offline_access scope…","vendor":"Keycloak","product":"keycloak","tier":"tail","description":{"text":"A flaw was found in Keycloak. An offline session continues to be valid when the offline_access scope is removed from the client. The refresh token is accepted and you can continue to request new tokens for the session. As it can lead to a situation where an administrator removes the scope, and assumes that offline sessions are no longer available, but they are.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00308,"percentile":0.24263,"provenance":"source"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:21370","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:21371","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:22088","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2025:22089","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-12110","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2406033","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/keycloak/keycloak/pull/43790","tags":[]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":4.85},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"keycloak","affectedVersions":[{"vendor":"Keycloak","product":"keycloak","versions":["< 26.4.3"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.2","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"]},{"vendor":"Red Hat","product":"Red Hat build of Keycloak 26.4","versions":["all versions"]}],"workarounds":{"items":["Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-23T14:27:24.492326Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.keycloak:keycloak-services","vulnerableRanges":["<26.2.3"],"patched":["26.2.3"],"from":["GHSA-895x-rfqp-jh5c"],"provenance":"source"}],"summary":{"text":"A flaw in Keycloak's keycloak-services component (org.keycloak:keycloak-services) causes offline sessions to remain valid after an administrator removes the offline_access scope from a client, so refresh tokens are still accepted and new tokens can be issued. An attacker who already has network access and a low-privilege authenticated account can exploit this by continuing to refresh an offline session that the administrator believed had been revoked, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:44Z"},"euvd":{"id":"EUVD-2025-35690","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-redhat-com-keycloak-cve-2023-0264","parents":[{"from":"CVE-2023-0264","to":"CVE-2025-12110","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["services/src/main/java/org/keycloak/protocol/oidc/OIDCLoginProtocol.java"],"commits":["https://github.com/keycloak/keycloak/commit/ec8109112e67208c13e13f6d1f8706a5a3ba8d4c","https://github.com/keycloak/keycloak/commit/54e1c8af1e089ad33d32e0f2792610e4b8df421b","https://github.com/keycloak/keycloak/commit/c830a27928cac4294619af7d147bdff34d4a85e7"],"basis":"shared function","functions":["authenticated"]}]}],"packageHistory":[{"cve":"CVE-2025-1391","published":"2025-02-17","fixed":"26.1.3","kev":false},{"cve":"CVE-2025-3501","published":"2025-04-29","fixed":"26.2.2","kev":false},{"cve":"CVE-2025-3910","published":"2025-04-29","fixed":"26.2.2","kev":false,"link":{"from":"CVE-2025-3910","to":"CVE-2025-12110","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.keycloak:keycloak-services","fromFixed":"26.2.2","toFixed":"26.2.3","daysApart":177}]}},{"cve":"CVE-2025-12110","published":"2025-10-23","fixed":"26.2.3","kev":false},{"cve":"CVE-2025-7365","published":"2025-07-10","fixed":"26.2.6","kev":false},{"cve":"CVE-2025-7784","published":"2025-07-18","fixed":"26.2.6","kev":false},{"cve":"CVE-2025-8419","published":"2025-08-06","fixed":"26.3.3","kev":false}],"package":"Maven:org.keycloak:keycloak-services"}}