CVE-2024-8883
Keycloak: vulnerable redirect uri validation results in open redirec
A public proof of concept exists; no exploitation attested.
- Published2024-09-19
- Fixed in25.0.6 · 24.0.8 · 22.0.13
- WeaknessCWE-601
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
A misconfiguration flaw was found in Keycloak. This issue can allow an attacker to redirect users to an arbitrary URL if a 'Valid Redirect URI' is set to http://localhost or http://127.0.0.1, enabling sensitive information such as authorization codes to be exposed to the attacker, potentially leading to session hijacking.
Timeline
dates in UTC- 2024-09-1915:48CVE publishedCNA
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 25.0 | ≥ 25.0.0, < 25.0.6 | 25.0.6 | OSV |
| 24.0 | ≥ 23.0.0, < 24.0.8 | 24.0.8 | OSV |
| 22.0 | < 22.0.13 | 22.0.13 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.11 | = 4.11 | no fix published | NVD |
| 4.12 | = 4.12 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.9 | = 4.9 | no fix published | NVD |
| 4.10 | = 4.10 | no fix published | NVD |
4 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA93 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- keycloak-servicesother versions: not affected
https://github.com/keycloak/keycloak
Affected- < 22.0.12fixed in 22.0.12semver
- ≥ 23.0.0, < 24.0.7fixed in 24.0.7semver
- ≥ 25.0.0, < 25.0.5fixed in 25.0.5semver
- Red Hat Build of Keycloakother versions: not affected
package keycloak-serviceshttps://access.redhat.com/downloads/content/package-browser/
- Red Hat Build of Keycloakother versions: not affected
package keycloak-serviceshttps://access.redhat.com/downloads/content/package-browser/
- Red Hat build of Keycloak 22other versions: affected
package rhbk/keycloak-operator-bundlehttps://catalog.redhat.com/software/containers/
Not affected ≥ 22.0.13-1
- Red Hat build of Keycloak 22other versions: affected
package rhbk/keycloak-rhel9https://catalog.redhat.com/software/containers/
Not affected ≥ 22-18
- Red Hat build of Keycloak 22other versions: affected
package rhbk/keycloak-rhel9-operatorhttps://catalog.redhat.com/software/containers/
Not affected ≥ 22-21
87 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-08-04
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- eap8-activemq-artemisRed Hat:jboss_enterprise_application_platform:8.0::el9all versions · fixed in 0:2.33.0-1.redhat_00015.1.el9eapand 14 other packages
- eap8-activemq-artemisRed Hat:jboss_enterprise_application_platform:8.0::el8all versions · fixed in 0:2.33.0-1.redhat_00015.1.el8eapand 14 other packages
- eap8-aesh-extensionsRed Hat:jboss_enterprise_application_platform:8.0::el9all versions · fixed in 0:1.8.0-2.redhat_00001.1.el9eap
- eap8-aesh-extensionsRed Hat:jboss_enterprise_application_platform:8.0::el8all versions · fixed in 0:1.8.0-2.redhat_00001.1.el8eap
- eap8-aesh-readlineRed Hat:jboss_enterprise_application_platform:8.0::el9all versions · fixed in 0:2.2.0-2.redhat_00001.1.el9eap
- eap8-aesh-readlineRed Hat:jboss_enterprise_application_platform:8.0::el8all versions · fixed in 0:2.2.0-2.redhat_00001.1.el8eap
- eap8-apache-commons-codecRed Hat:jboss_enterprise_application_platform:8.0::el9all versions · fixed in 0:1.16.1-2.redhat_00007.1.el9eap
- eap8-apache-commons-codecRed Hat:jboss_enterprise_application_platform:8.0::el8all versions · fixed in 0:1.16.1-2.redhat_00007.1.el8eap
69 more package ranges on OSV.dev
Vendor advisories
Keycloak: Vulnerable Redirect URI Validation Results in Open Redirec
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0 update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0 update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update
9 more advisories
Fix
- Update keycloak-services to 25.0.6 · 24.0.8 · 22.0.13
- Vendor fix Red Hat Product Security RHSA-2024:10386 · 18 productsBefore applying the update, make sure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://acce…
- Vendor fix Red Hat Product Security RHSA-2024:10385 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:8826 · 1 productBefore applying the update, make sure all previously released errata relevant to your system have been applied. Also, back up your existing installation, including all applications, configuration files, databases and database settings. For details on how to apply this update, refer to: https://acce…
- Vendor fix Red Hat Product Security RHSA-2024:6889 · 7 productsBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on.
- Vendor fix Red Hat Product Security RHSA-2024:6886 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2024:6882 · 3 productsTo update to the latest Red Hat Single Sign-On 7.6.11 for OpenShift image, Follow these steps to pull in the content: 1. On your main hosts, ensure you are logged into the CLI as a cluster administrator or user with project administrator access to the global "openshift" project. For example: $ oc…
Advisories and patches
- access.redhat.comVendor Advisory
- access.redhat.comVendor Advisory
- access.redhat.comVendor Advisory
- access.redhat.comVendor Advisory
- access.redhat.comVendor Advisory
- access.redhat.comVendor Advisory
Detection
read 2026-11-09 09:28 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2024-09-19
- CNACVSS 3.16.12026-11-03
- NVDCVSS 3.16.1read 2026-10-23
- CNAweakness (CWE)CWE-6012026-11-03
- FIRST EPSSEPSS score2.1 %2026-11-09
- ProjectDiscoverydetectionread 2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2024-10-14
Identifiers
- EUVD-2024-3152same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-w8gr-xwp4-r9f7same flawGitHub Advisory Database · CC-BY-4.0
- RHSA-2024:10386advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:6878advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:6879advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:6880advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:8823advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:8824advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Published
- 2024-09-19
- Last Modified
- 2026-08-04
- NVD status
- Modified
- GitHub Advisory
- GHSA-w8gr-xwp4-r9f7
Frequently asked questions
What is CVE-2024-8883?
Is CVE-2024-8883 actively exploited?
What is the CVSS score for CVE-2024-8883?
Running Keycloak? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-w8gr-xwp4-r9f7
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0