Skip to main content
Public proof of conceptFix available

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?

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
  1. 2024-09-1915:48CVE publishedCNA

Versions per branch

OSV · NVD
keycloak-services
BranchAffectedFixed in
25.0≥ 25.0.0, < 25.0.625.0.6
24.0≥ 23.0.0, < 24.0.824.0.8
22.0< 22.0.1322.0.13
Redhat openshift container platform
BranchAffectedFixed in
4.11= 4.11no fix published
4.12= 4.12no fix published
Redhat openshift container platform for ibm z
BranchAffectedFixed in
4.9= 4.9no fix published
4.10= 4.10no fix published

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.

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

  • CVE-2024-8883 Red Hat Product Security281 products fixed

    Keycloak: Vulnerable Redirect URI Validation Results in Open Redirec

  • RHSA-2024:10386 Red Hat Product Security18 products fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0 update

  • RHSA-2024:10385 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0 update

  • RHSA-2024:8826 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update

  • RHSA-2024:8823 Red Hat Product Security117 products fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update

  • RHSA-2024:8824 Red Hat Product Security117 products fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 8.0.4 Security update

9 more advisories

Full record on NVD

Fix

  1. Update keycloak-services to 25.0.6 · 24.0.8 · 22.0.13
  2. 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…
  3. 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
  4. 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…
  5. 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.
  6. 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).
  7. 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

Detection

read 2026-11-09 09:28 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2024-8883 actively exploited?

Active exploitation of CVE-2024-8883 has not been confirmed. Its EPSS score was 2.1% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-8883?

CVE-2024-8883 has a CVSS v3 base score of 6.1 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

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

Sources for this record