Description
A flaw was found in the offline_access scope in Keycloak. This issue would affect users of shared computers more (especially if cookies are not cleared), due to a lack of root session validation, and the reuse of session ids across root and user authentication sessions. This enables an attacker to resolve a user session attached to a previously authenticated user; when utilizing the refresh token, they will be issued a token for the original user.
Published: 2023-09-20
Score: 6.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-7575 A flaw was found in the offline_access scope in Keycloak. This issue would affect users of shared computers more (especially if cookies are not cleared), due to a lack of root session validation, and the reuse of session ids across root and user authentication sessions. This enables an attacker to resolve a user session attached to a previously authenticated user; when utilizing the refresh token, they will be issued a token for the original user.
Github GHSA Github GHSA GHSA-97g8-xfvw-q4hg Keycloak vulnerable to session takeover with OIDC offline refreshtokens
History

Wed, 25 Feb 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Redhat Enterprise Linux Keycloak Openshift Container Platform Openshift Container Platform For Linuxone Openshift Container Platform For Power Openshift Container Platform Ibm Z Systems Red Hat Single Sign On Rhosemc Single Sign-on
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2024-08-03T01:20:58.791Z

Reserved: 2022-11-09T16:12:41.804Z

Link: CVE-2022-3916

cve-icon Vulnrichment

Updated: 2024-08-03T01:20:58.791Z

cve-icon NVD

Status : Modified

Published: 2023-09-20T15:15:11.583

Modified: 2024-11-21T07:20:31.480

Link: CVE-2022-3916

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-11-09T00:00:00Z

Links: CVE-2022-3916 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses