CVE-2025-12110 Keycloak does not invalidate offline sessions when the offline_access scope is removed

Medium 5.4 Published Updated

Attackers can maintain access via offline sessions even after administrators remove the offline_access scope from a client configuration.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-12110?

CVE-2025-12110 is a medium-severity vulnerability in Red Hat build of Keycloak 26.2, published on 23 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-613

Which versions are affected by CVE-2025-12110?

2 open source packages ship an affected version, including org.keycloak:keycloak-services.

PackageAffectedFixed in
org.keycloak:keycloak-services MavenAll versions26.2.3
org.keycloak:keycloak-services MavenAll versions26.2.3

How do I fix CVE-2025-12110?

Upgrade org.keycloak:keycloak-services to 26.2.3 or later.

Is CVE-2025-12110 being exploited?

There is no known exploitation of CVE-2025-12110 in the wild and no public exploit code.

Sources

Also known as ECHO-6fb2-4b82-1991, GHSA-895x-rfqp-jh5c, MINI-9c7w-jxp3-vj6g.

Is CVE-2025-12110 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free