GitHub Advisoryadvisory · Maven
GHSA-cjm2-j6cm-6p6m Keycloak: Redirect URI validation bypass via ..;/ path traversal in OIDC auth endpoint
HIGH
Official page ↗
- Aliases
- CVE-2026-3872
- Ecosystem
- Maven
- Packages
- org.keycloak:keycloak-services
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-601
- Reviewed
- 2026-04-04
Affected packages
• Maven org.keycloak:keycloak-services: < 26.5.7 → fixed in 26.5.7
Description
A flaw was found in Keycloak. This issue allows an attacker, who controls another path on the same web server, to bypass the allowed path in redirect Uniform Resource Identifiers (URIs) that use a wildcard. A successful attack may lead to the theft of an access token, resulting in information disclosure.
Related
Alias · CVE (1)
- CVE-2026-3872 A flaw was found in Keycloak. vulnerability
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-3872 advisory
- https://github.com/keycloak/keycloak/issues/47718 web
- https://github.com/keycloak/keycloak/commit/35a71b00bc856ac402711130f60190d3a24795e7 web
- https://access.redhat.com/errata/RHSA-2026:6475 web
- https://access.redhat.com/errata/RHSA-2026:6476 web
- https://access.redhat.com/errata/RHSA-2026:6477 web
- https://access.redhat.com/errata/RHSA-2026:6478 web
- https://access.redhat.com/security/cve/CVE-2026-3872 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2445988 web
- https://github.com/keycloak/keycloak package