# CVE-2023-2422: Keycloak: oauth client impersonation

- Severity: Medium 5.5 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2023-06-30T20:31:37.000Z
- Modified: 2026-06-17T05:52:33.157Z
- Also known as: GHSA-3qh5-qqj2-c78f
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A flaw was found in Keycloak. A Keycloak server configured to support mTLS authentication for OAuth/OpenID clients does not properly verify the client certificate chain. A client that possesses a proper certificate can authorize itself as any other client, therefore, access data that belongs to other clients.

(As written by CVE List.)

## Affected

- keycloak-oauth: no versions given
- rh-sso7-keycloak: no versions given (not affected: from 0:18.0.8-1.redhat_00001.1.el7sso before *; from 0:18.0.8-1.redhat_00001.1.el8sso before *; from 0:18.0.8-1.redhat_00001.1.el9sso before *)
- rh-sso-7/sso76-openshift-rhel8: no versions given (not affected: from 7.6-24 before *)
- org.keycloak:keycloak-services (Maven): before 21.1.2
- redhat keycloak: no versions given
- redhat openshift_container_platform: 4.9; 4.10; 4.11; 4.12
- redhat single_sign-on: 7.6

## Every score

- redhat: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://access.redhat.com/errata/RHSA-2023:3883> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:3884> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:3885> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:3888> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2023:3892> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2023-2422> (vdb-entry, vendor-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2191668> (issue-tracking, vendor-advisory, web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-3qh5-qqj2-c78f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2422> (advisory)
- <https://github.com/keycloak/keycloak/commit/5c6c55945a384bfd82e51283096204dcb6f63d91> (web)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2023-2422](https://www.cve.org/CVERecord?id=CVE-2023-2422), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-3qh5-qqj2-c78f](https://github.com/advisories/GHSA-3qh5-qqj2-c78f), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-2422](https://nvd.nist.gov/vuln/detail/CVE-2023-2422), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2422 · Whole record: https://cve.day/CVE-2023-2422.json · Rebuilt by cve.day 2026-11-25T22:58:28.442Z
