7.1high
Keycloak: path traversal in the redirect validation
- Severity
- 7.1high CVSS:3.1 by redhat
- Exploit likelihood
- 0.66% (higher than 47% of CVEs)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-mrv8-pqfj-7gp5
Description
A flaw was found in Keycloak's redirect_uri validation logic. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to the theft of an access token, making it possible for the attacker to impersonate other users. It is very similar to CVE-2023-6291.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| keycloak | before 22.0.10, from 23.0.0 before 24.0.3 | CVE List |
| rhbk/keycloak-operator-bundle | Not specified Not affected: from 22.0.10-1 before * | CVE List |
| rhbk/keycloak-rhel9 | Not specified Not affected: from 22-13 before * | CVE List |
| rhbk/keycloak-rhel9-operator | Not specified Not affected: from 22-16 before * | CVE List |
| org.keycloak:keycloak-services (Maven) | before 22.0.10, from 23.0.0 before 24.0.3 | GitHub Advisory Database |
All scores
| redhat | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L |
Classification
What each source says
CVE List
A flaw was found in Keycloak's redirect_uri validation logic. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to the theft of an access token, making it possible for the attacker to impersonate other users. It is very similar to CVE-2023-6291.
GitHub Advisory Database
An issue was found in the redirect_uri validation logic that allows for a bypass of otherwise explicitly allowed hosts.
NVD (es)
Se encontró una falla en la lógica de validación de redirección_uri de Keycloak. Este problema puede permitir la omisión de hosts permitidos explícitamente. Un ataque exitoso puede conducir al robo de un token de acceso, lo que hace posible que el atacante se haga pasar por otros usuarios. Es muy similar a CVE-2023-6291.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-2419 changed 2026-11-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mrv8-pqfj-7gp5 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-2419 changed 2026-06-17 | Public domain |