# CVE-2024-2419: Keycloak: path traversal in the redirect validation

- Severity: High 7.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-04-17T13:23:34.652Z
- Modified: 2026-11-26T13:31:52.245Z
- Also known as: GHSA-mrv8-pqfj-7gp5
- Weaknesses: CWE-346, CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- keycloak: before 22.0.10; from 23.0.0 before 24.0.3
- rhbk/keycloak-operator-bundle: no versions given (not affected: from 22.0.10-1 before *)
- rhbk/keycloak-rhel9: no versions given (not affected: from 22-13 before *)
- rhbk/keycloak-rhel9-operator: no versions given (not affected: from 22-16 before *)
- org.keycloak:keycloak-services (Maven): before 22.0.10; from 23.0.0 before 24.0.3

## Every score

- redhat: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L`

## References

- <https://access.redhat.com/errata/RHSA-2024:1867> (vendor-advisory, web)
- <https://access.redhat.com/security/cve/CVE-2024-2419> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2269371> (issue-tracking, web)
- <https://github.com/keycloak/keycloak/security/advisories/GHSA-mrv8-pqfj-7gp5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-2419> (advisory)
- <https://github.com/keycloak/keycloak> (package)

## Sources

- CVE List: [CVE-2024-2419](https://www.cve.org/CVERecord?id=CVE-2024-2419), CVE Terms of Use, modified 2026-11-26
- GitHub Advisory Database: [GHSA-mrv8-pqfj-7gp5](https://github.com/advisories/GHSA-mrv8-pqfj-7gp5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-2419](https://nvd.nist.gov/vuln/detail/CVE-2024-2419), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-2419 · Whole record: https://cve.day/CVE-2024-2419.json · Rebuilt by cve.day 2026-11-26T13:37:24.445Z
