Patchfirst
CVE-2024-8883 Public exploit Medium · 6.1 EPSS 2.1%

Keycloak: vulnerable redirect uri validation results in open redirec

Red Hat · Red Hat Build of Keycloak

Official description · CVE.org

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.

Breakdown
66.7 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 16 months after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+16 mo

7 fixes in keycloak-services over 17 months. The latest fix listed for keycloak-services is 26.1.3.

Fixes in keycloak-servicesMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 24.0.5CVE-2024-45403 Jun 2024
  2. 25.0.4CVE-2024-46293 Sep 2024
  3. 25.0.5CVE-2024-73419 Sep 2024
  4. 25.0.6CVE-2024-888319 Sep 2024
  5. 26.0.0CVE-2025-1239028 Oct 2025
  6. 26.0.6CVE-2024-1027025 Nov 2024
  7. 26.1.3CVE-2025-139117 Feb 2025Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.keycloak:keycloak-services.

Mavenorg.keycloak:keycloak-servicesGHSA-w8gr-xwp4-r9f7

Upgrade to 25.0.6 or later

Set the version to 25.0.6 or later in your pom.xml or build.gradle.

The first fix for CVE-2024-8883.

Affected versions, by release line

If you runUpgrade to
25.0.0 up to 25.0.625.0.6
23.0.0 up to 24.0.824.0.8
All versions before 22.0.1322.0.13

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 2 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

17 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close