CVEBrief

Home / Red Hat / Red Hat build of Keycloak 22 / CVE-2023-6291

CVE-2023-6291: is it exploited, and which versions of Red Hat build of Keycloak 22 are affected and fixed?

CVE-2023-6291 is an open redirect vulnerability in Red Hat build of Keycloak 22. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: org.keycloak:keycloak-services before 23.0.3 (GitHub advisory GHSA-mpwq-j3xf-7m5w). Fixed in 23.0.3 (GitHub advisory GHSA-mpwq-j3xf-7m5w). Severity: High (7.1, CVSS 3.1, from redhat).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 28, 2026, 19:14 UTC and NVD November 19, 2026, 07:32 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:38 UTC
Affected
org.keycloak:keycloak-services before 23.0.3
GitHub advisory GHSA-mpwq-j3xf-7m5w
Fixed in
23.0.3
GitHub advisory GHSA-mpwq-j3xf-7m5w
Severity
High 7.1
CVSS 3.1 from redhat
Exploit odds (EPSS)
1.03% in 30 days
higher than 65% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2023-6291?

Keycloak: redirect_uri validation bypass

A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.

From the CVE record by redhat, last updated November 4, 2026, 21:06 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Red HatRed Hat build of Keycloak 22 rhbk/keycloak-operator-bundleall versions (default)22.0.7-1
Red HatRed Hat build of Keycloak 22 rhbk/keycloak-rhel9all versions (default)22-6
Red HatRed Hat build of Keycloak 22 rhbk/keycloak-rhel9-operatorall versions (default)22-9
Red HatRed Hat build of Keycloak 22.0.7not stated
Red HatRed Hat Single Sign-On 7 rh-sso7-keycloaknot stated
Red HatRed Hat Single Sign-On 7.6 for RHEL 7 rh-sso7-keycloakall versions (default)0:18.0.11-2.redhat_00003.1.el7sso
Red HatRed Hat Single Sign-On 7.6 for RHEL 7 rh-sso7-keycloakall versions (default)0:18.0.12-1.redhat_00001.1.el7sso
Red HatRed Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloakall versions (default)0:18.0.11-2.redhat_00003.1.el8sso
Red HatRed Hat Single Sign-On 7.6 for RHEL 8 rh-sso7-keycloakall versions (default)0:18.0.12-1.redhat_00001.1.el8sso
Red HatRed Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloakall versions (default)0:18.0.11-2.redhat_00003.1.el9sso
Red HatRed Hat Single Sign-On 7.6 for RHEL 9 rh-sso7-keycloakall versions (default)0:18.0.12-1.redhat_00001.1.el9sso
Red HatRHEL-8 based Middleware Containers rh-sso-7/sso76-openshift-rhel8all versions (default)7.6-38
Red HatRHEL-8 based Middleware Containers rh-sso-7/sso7-rhel8-operator-bundleall versions (default)7.6.6-2
Red HatRHEL-8 based Middleware Containers rh-sso-7/sso76-openshift-rhel8all versions (default)7.6-41
Red HatSingle Sign-On 7.6.6 rh-sso7-keycloaknot stated
Red HatMigration Toolkit for Applications 6 keycloakall versions (the record names no range)
Red HatMigration Toolkit for Applications 7 keycloaknot stated
Red HatOpenShift Serverless keycloaknot stated
Red HatRed Hat Data Grid 8 keycloaknot stated
Red HatRed Hat Decision Manager 7 keycloaknot stated
Red HatRed Hat Fuse 7 keycloaknot stated
Red HatRed Hat JBoss Data Grid 7 keycloaknot stated
Red HatRed Hat JBoss Enterprise Application Platform 6 rh-sso7-keycloaknot stated
Red HatRed Hat Process Automation 7 keycloaknot stated

As the CVE record by redhat states it, last updated November 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.keycloak:keycloak-services< 23.0.323.0.3GHSA-mpwq-j3xf-7m5w

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 26, 2024. Summary: The redirect_uri validation logic allows for bypassing explicitly allowed hosts that would otherwise be restricted.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
redhatkeycloakbefore 22.0.7application
redhatsingle sign-onall versionsapplication
redhatopenshift container platform4.11application
redhatopenshift container platform4.12application
redhatopenshift container platform for ibm z4.9application
redhatopenshift container platform for ibm z4.10application
redhatopenshift container platform for linuxone4.9application
redhatopenshift container platform for linuxone4.10application
redhatopenshift container platform for power4.9application
redhatopenshift container platform for power4.10application
redhatsingle sign-on7.6application
redhatmigration toolkit for applications6.0application
redhatmigration toolkit for applications7.0application

NVD analysis (status Modified), last modified November 4, 2026, 21:17 UTC.

How severe is CVE-2023-6291?

ScoreVersionVectorSource
High 7.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Lredhat
High 7.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:LNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2023-6291 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 13, 2024)
EPSS
1.03% probability of exploitation activity in the next 30 days, percentile 64.9 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
November 24, 2023
Published
January 26, 2024, 14:23 UTC
CVE record updated
November 4, 2026, 21:06 UTC by redhat
NVD
Modified, last modified November 4, 2026, 21:17 UTC
Last checked
CVE list November 28, 2026, 19:14 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Red Hat build of Keycloak 22?

Every CVE in Red Hat build of Keycloak 22

Questions about CVE-2023-6291

Is CVE-2023-6291 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.03% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Red Hat build of Keycloak 22 are affected by CVE-2023-6291?

org.keycloak:keycloak-services before 23.0.3, per the GitHub advisory GHSA-mpwq-j3xf-7m5w. The tables above give every range the sources list.

Which version fixes CVE-2023-6291?

23.0.3, per the GitHub advisory GHSA-mpwq-j3xf-7m5w. Check the vendor's advisory before you rely on it.

How severe is CVE-2023-6291?

High (7.1, CVSS 3.1, from redhat). The severity table above shows each score with its source.

Where is the official record of CVE-2023-6291?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.