← Übersicht Keycloak

Org.keycloak/keycloak-services: open redirect when using wildcard valid redirect uris in keycloak

CVE-2026-7504 · BIT-keycloak-2026-7504 · GHSA-rp95-xpg9-c2cq

Hoch · CVSS 8.1 Red Hat: Important Netzwerk · ohne Login · Nutzerinteraktion Fix verfügbar

Veröffentlicht
19.05.2026 12:52
Zuletzt geändert
08.09.2026
EPSS (30 Tage)
0.6 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

A flaw was found in Keycloak's URL validation logic during redirect operations. By crafting a malicious request, an attacker could bypass validation to redirect users to unauthorized URLs, potentially leading to the exposure of sensitive information within the domain or facilitating further attacks. This vulnerability specifically affects Keycloak clients configured with a wildcard (*) in the "Valid Redirect URIs" field and requires user interaction to be successfully exploited. The issue stems from a discrepancy in how Keycloak and the underlying Java URI implementation handle the user-info component of a URL. If a malicious redirect URL is constructed using multiple @ characters in the user-info section, Java's URI parser fails to extract the user-info, leaving only the raw authority field. Consequently, Keycloak's validation check fails to detect the malformed user-info, falls back to a wildcard comparison, and incorrectly permits the malicious redirect.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 4 behoben.

Red Hat build of Keycloak 26.2 Behoben rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator RHSA-2026:19595
Red Hat build of Keycloak 26.2.16 Behoben RHSA-2026:19594
Red Hat build of Keycloak 26.4 Behoben rhbk/keycloak-operator-bundle, rhbk/keycloak-rhel9, rhbk/keycloak-rhel9-operator RHSA-2026:19597
Red Hat build of Keycloak 26.4.12 Behoben RHSA-2026:19596

Betroffene Pakete im beobachteten Stack

Bitnamikeycloak26.4.0 → 26.4.12BIT-keycloak-2026-7504
Mavenorg.keycloak:keycloak-services26.6.2GHSA-rp95-xpg9-c2cq
NVDredhat:build_of_keycloak26.4.12CVE-2026-7504

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.