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.
CVE-2022-3916
This medium-severity CVE scores 6.8 under NVD CVSS v3. EPSS exploit probability: 1.0%, top 42% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.8
- EG Score
- 6.8(medium)
- EG Risk
- —
- EPSS
- 57.6%
- KEV
- Not listed
Published
September 20, 2023
Last Modified
November 21, 2024
References (24)
- secalert@redhathttps://access.redhat.com/errata/RHSA-2022:8961
- secalert@redhathttps://access.redhat.com/errata/RHSA-2022:8962
- secalert@redhathttps://access.redhat.com/errata/RHSA-2022:8963
- secalert@redhathttps://access.redhat.com/errata/RHSA-2022:8964
- secalert@redhathttps://access.redhat.com/errata/RHSA-2022:8965
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:1043
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:1044
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:1045
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:1047
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:1049
- secalert@redhathttps://access.redhat.com/security/cve/CVE-2022-3916
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=2141404
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2022:8961
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2022:8962
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2022:8963
Vendor Advisories for CVE-2022-3916(5)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:1043Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 7
- RHSA-2023:1049Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update
- RHSA-2023:1047Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 for OpenShift image security and enhancement update
- RHSA-2023:1045Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 9
- RHSA-2023:1044Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 8
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el7sso | 2023-03-01 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el8sso | 2023-03-01 | redhat |
| redhat | rh-sso7-keycloak | 2023-03-01 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.6-1.redhat_00001.1.el9sso | 2023-03-01 | redhat |
| redhat | rh-sso-7/sso76-openshift-rhel8:7.6-20 | 2023-03-01 | redhat |
| redhat | rh-sso-7/sso76-openshift-rhel8:7.6-15 | 2022-12-13 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.3-1.redhat_00002.1.el8sso | 2022-12-13 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.3-1.redhat_00002.1.el7sso | 2022-12-13 | redhat |
| redhat | rh-sso7-keycloak-0:18.0.3-1.redhat_00002.1.el9sso | 2022-12-13 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.keycloak:keycloak-parent | 1.0-alpha-1 ... 9.0.3 (144 versions) | 20.0.2 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(5)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2022:8961MODERATE2022-11-09
RHSA-2022:8961 — Moderate
- Red HatRHSA-2022:8962MODERATE2022-11-09
RHSA-2022:8962 — Moderate
- Red HatRHSA-2022:8963MODERATE2022-11-09
RHSA-2022:8963 — Moderate
- Red HatRHSA-2022:8964MODERATE2022-11-09
RHSA-2022:8964 — Moderate
- Red HatRHSA-2022:8965MODERATE2022-11-09
RHSA-2022:8965 — Moderate
Data Freshness Timeline
(refreshed 10× in last 7d / 41× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 23:00 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 08:49 UTCOSV refresh
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
Show 74 moreShow fewer
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-02 16:58 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 09:34 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-09 20:17 UTCOSV refresh
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-24 17:21 UTCEG score recompute
- 2026-05-24 17:21 UTCVendor advisory
- 2026-05-24 16:51 UTCEPSS rescore
Frequently asked(5)
What is CVE-2022-3916?
When was CVE-2022-3916 disclosed?
Is CVE-2022-3916 actively exploited?
What is the CVSS score of CVE-2022-3916?
How do I remediate CVE-2022-3916?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-3916
Is Your Infrastructure Affected by CVE-2022-3916?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.