CVE-2022-3916 Keycloak
| Affected software | Keycloak |
|---|---|
| Severity | 6.8 Medium CVSS 3.1 2 scores |
| Fixed in | 20.0.2 |
| Weakness | Improper authentication (CWE-287) |
| Published | 20 Sep 2023 |
| Updated | 17 Jun 2026 |
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.
CWE-384CWE-613CWE-304CWE-488
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 3 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.95% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
VRT has not found a public code change for this CVE yet.
- Protection none
- Action not pursued
- Review human Researcher
- Record active
| Decided by | Manual classification of this CVE in the legacy dataset |
|---|---|
| Finding | A manual classification set this CVE's status to No source fix or exploit. |
CVSS
6.8 MEDIUM
v3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
2 metrics
CVSS
6.8 MEDIUM v3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
secalert@redhat.com | Secondary | published |
| CVSS 3.1 | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.keycloak:keycloak-parent |
0 | 20.0.2 |
unbounded |
Products and versions
7 products, 12 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| osv | org.keycloak | keycloak-parent | generic | < 20.0.2 |
| nvd | redhat | keycloak | generic | < 20.0.2 |
| nvd | redhat | openshift container platform | generic | 4.9 · 4.10 |
| nvd | redhat | openshift container platform for linuxone | generic | 4.9 · 4.10 |
| nvd | redhat | openshift container platform for power | generic | 4.9 · 4.10 |
| nvd | redhat | openshift container platform ibm z systems | generic | 4.9 · 4.10 |
| nvd | redhat | single sign-on | generic | any version · 7.6 |
References
Timeline
Timeline
| Published | 2023-09-20 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |