Skip to main content

Red Hat Keycloak CVE-2026-18217

| EUVDEUVD-2026-51479 MEDIUM
Improper Input Validation (CWE-20)
2026-07-31 redhat GHSA-82v3-6227-jc8x
4.7
CVSS 3.1 · NVD
Share

Severity by source

Vendor (redhat) PRIMARY
LOW
qualitative
NVD
4.7 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
vuln.today AI
3.4 LOW

Network vector with no attacker privileges; high complexity due to required wildcard redirect config; scope changed to SP; integrity-only impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Red Hat
3.4 MEDIUM
qualitative

Primary rating from Vendor (redhat).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

4
Severity Changed
Aug 07, 2026 - 18:07 NVD
LOW MEDIUM
CVSS changed
Aug 07, 2026 - 18:07 NVD
3.4 (LOW) 4.7 (MEDIUM)
Analysis Generated
Jul 31, 2026 - 07:51 vuln.today
CVE Published
Jul 31, 2026 - 06:38 cve.org
LOW 3.4

DescriptionNVD

A flaw was found in the SAML protocol implementation of Keycloak, an open-source identity and access management solution. The issue occurs when Keycloak handles SAML authentication requests using the HTTP-Redirect binding. If a client is configured with a wildcard redirect URL, an attacker can craft a request that includes malicious parameters. When a user authenticates, Keycloak appends its legitimate response to the attacker's parameters. This can cause some service providers to process the attacker's data instead of the real login information, potentially leading to a user being logged into the wrong account.

AnalysisAI

SAML HTTP-Redirect binding in Keycloak allows network-based attackers to inject malicious parameters into authentication requests targeting clients configured with wildcard redirect URLs. When a victim user completes authentication, Keycloak appends its legitimate SAML response to the attacker-controlled URL parameters, which can cause susceptible service providers to process the attacker's data instead of the real login assertion - potentially resulting in the victim being logged into the wrong account. No public exploit is identified at time of analysis, and the CVSS score of 3.4 (Low) reflects the high attack complexity and limited integrity-only impact.

Technical ContextAI

Keycloak's SAML HTTP-Redirect binding encodes authentication requests and responses as URL query parameters rather than POST body content, making them susceptible to parameter injection when redirect URL validation is insufficiently strict. The root cause is CWE-20 (Improper Input Validation): Keycloak does not adequately validate or sanitize attacker-supplied parameters present in the SAML redirect URL before appending its own legitimate response, allowing parameter confusion at the service provider. The affected products per CPE data include Red Hat Build of Keycloak (multiple versions), Red Hat Data Grid 8, Red Hat JBoss Enterprise Application Platform Expansion Pack, and Red Hat Single Sign-On 7. The attack is specifically contingent on clients being configured with wildcard redirect URLs, which is a non-default but not uncommon configuration in multi-tenant or multi-environment deployments.

RemediationAI

No specific patched version is confirmed from the available input data. Organizations should consult the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-18217 and Bugzilla entry https://bugzilla.redhat.com/show_bug.cgi?id=2508311 for patch availability and exact fix versions as they become available. As a targeted compensating control, administrators should audit all SAML client configurations in Keycloak and replace wildcard redirect URLs with exact, fully-qualified redirect URIs - this directly eliminates the configuration precondition required for exploitation and has no meaningful functional trade-off for production deployments with known redirect targets. Additionally, restricting SAML HTTP-Redirect binding in favor of HTTP-POST binding (where parameters are not URL-encoded and therefore not subject to this injection vector) is an effective architectural mitigation, though it requires coordinated changes with service providers and may not be feasible for all integrations.

CVE-2026-18963 CRITICAL POC
9.1 Aug 18

Account takeover in Red Hat Build of Keycloak allows an unauthenticated attacker to abuse the reset-credentials flow in

CVE-2026-16442 CRITICAL
9.8 Aug 05

Account takeover in Keycloak (Red Hat build of Keycloak, Red Hat Single Sign-On 7) arises because the IdP-initiated SAML

CVE-2026-16443 CRITICAL
9.1 Aug 05

Authentication bypass in Red Hat Build of Keycloak (and Red Hat Single Sign-On 7) lets an unauthenticated attacker forge

CVE-2026-15572 HIGH
8.8 Aug 05

Privilege escalation in Red Hat Build of Keycloak's Dynamic Client Registration (DCR) grants an attacker with low-privil

CVE-2026-93569 HIGH
8.2 Sep 18

Mismatched handling of the HTTP/1 absolute-form request authority in Red Hat build of Quarkus and other affected Red Hat

CVE-2026-9800 HIGH
8.1 Jun 25

Authorization bypass in the Keycloak Policy Enforcer allows any authenticated user to circumvent all enforced access con

CVE-2026-15573 HIGH
8.1 Aug 05

URI normalization bypass in Keycloak's Authorization Services PathMatcher allows authenticated low-privilege users to re

CVE-2026-16102 HIGH
8.1 Aug 05

Privilege escalation in Keycloak's Dynamic Client Registration (DCR) component allows attackers with standard user accou

CVE-2026-18214 HIGH
8.1 Jul 31

Token exchange in Keycloak bypasses Google Workspace domain allowlist restrictions, enabling any valid Google account ho

CVE-2026-11800 HIGH
8.1 Jun 25

Signature-verification bypass in Keycloak (and Red Hat's Keycloak-based products such as Red Hat Single Sign-On 7 and Re

CVE-2026-18215 HIGH
8.1 Jul 31

Tenant-restriction bypass in Keycloak's Microsoft identity provider integration allows attackers holding any valid Micro

CVE-2026-18967 HIGH
8.1 Aug 06

Session hijacking via SAML assertion replay in Keycloak's SAML broker component allows adjacent-network attackers to aut

Vendor StatusVendor

Share

CVE-2026-18217 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy