Access-token theft via decoded redirect URI validation
Published Jan 26, 2024 · Updated Nov 11, 2025
Open redirect in Keycloak before 22.0.7 allows remote attackers to steal access tokens through a crafted redirect_uri value. The verifyRedirectUri path validates a URL-decoded value, so encoded delimiters make Keycloak and browsers disagree about the authority. Exploitation requires user interaction in an OAuth flow and redirects the resulting token to an attacker-controlled host, enabling user impersonation.
Summary
What happened
Open redirect in Keycloak before 22.0.7 allows remote attackers to steal access tokens through a crafted redirect_uri value. The verifyRedirectUri path validates a URL-decoded value, so encoded delimiters make Keycloak and browsers disagree about the authority. Exploitation requires user interaction in an OAuth flow and redirects the resulting token to an attacker-controlled host, enabling user impersonation.
The record
- CVE
- CVE-2023-6291
- Published
- Jan 26, 2024
- Updated
- Nov 11, 2025
- Vendor
- Red Hat
- Product
- RHEL-8 based Middleware Containers
- Classifications
- CWE-601, T1528
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 26, 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