Access-token theft via redirect host bypass
Published Apr 17, 2024 · Updated Nov 11, 2025
Open redirect in Keycloak before 22.0.10 and 23.0.0 through 24.0.2 allows remote attackers to steal access tokens via crafted redirect URIs. The redirect_uri validator accepts a crafted URI that bypasses an explicitly allowed host, but Keycloak has not disclosed the exact parsing operation for this CVE. Exploitation requires user interaction in an authorization flow; stolen tokens enable user impersonation, and Red Hat confirms its build is affected.
Summary
What happened
Open redirect in Keycloak before 22.0.10 and 23.0.0 through 24.0.2 allows remote attackers to steal access tokens via crafted redirect URIs. The redirect_uri validator accepts a crafted URI that bypasses an explicitly allowed host, but Keycloak has not disclosed the exact parsing operation for this CVE. Exploitation requires user interaction in an authorization flow; stolen tokens enable user impersonation, and Red Hat confirms its build is affected.
The record
- CVE
- CVE-2024-2419
- Published
- Apr 17, 2024
- Updated
- Nov 11, 2025
- Vendor
- Red Hat
- Product
- Red Hat build of Keycloak 22
- Classifications
- CWE-601, CWE-346, T1566.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 17, 2024CVE publishedPublication date reported by the CVE source.
- Nov 11, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo