CVE-2026-137431
published medium CVSS 3.1 · 4.2Keycloak-services: keycloak-services: leading ? in a redirect_uri parameter name bypasses the forbidden oidc parameter check
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | keycloak-servicesRed Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | rhbk/keycloak-rhel9Red Hat Build of Keycloak | Affected | Not stated | redhat |
| Red Hat | — | keycloak-servicesRed Hat Single Sign-On 7 | Affected | Not stated | redhat |
| Red Hat | — | rh-sso7-keycloakRed Hat Single Sign-On 7 | Affected | Not stated | redhat |
Description
A flaw was found in the keycloak-services component of Keycloak, which is used to handle OpenID Connect authentication flows. The issue occurs because the security check that prevents attackers from pre-seeding security parameters in a redirect URL can be bypassed by adding an extra question mark character to the parameter name. This allows an attacker to trick a user's browser into using an attacker-controlled login code. As a result, a victim may be unknowingly logged into an attacker's account, leading to account confusion or the exposure of sensitive data entered by the victim.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.2 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: affected | redhat · cna |
| Red Hat | Red Hat Single Sign-On 7 | Default: affected | redhat · cna |
Weaknesses
1- CWE-1288 Improper Validation of Consistency within Input
References
2- https://access.redhat.com/security/cve/CVE-2026-137431
- RHBZ#2584738 https://bugzilla.redhat.com/show_bug.cgi?id=2584738
Provider assertions
2redhat · cna
Keycloak-services: keycloak-services: leading ? in a redirect_uri parameter name bypasses the forbidden oidc parameter check
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b10468f1d0523d5b40f4881b6b9f829fb5b69a595c044c6a15e5717124b8ac36
- Ingested
- 01 Dec 2026, 18:39:46 UTC
- Source record
- Official CVE record