Skip to main content
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify client with wildcard redirect URL
  2. Delivery
    Craft SAML HTTP-Redirect URL with injected parameters
  3. Exploit
    Deliver crafted URL to victim
  4. Install
    Victim authenticates via Keycloak
  5. C2
    Keycloak appends response to attacker parameters
  6. Execute
    Service provider processes injected data
  7. Impact
    Victim logged into wrong account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires that the targeted Keycloak client be configured with a wildcard redirect URL rather than a strict, exact-match redirect URI - this is the critical enabling configuration condition. The attacker must be able to deliver a crafted SAML HTTP-Redirect initiation URL to the victim (requiring social engineering, phishing, or a compromised referral path). The victim must then actively complete authentication (UI:R), and the downstream service provider must be susceptible to parameter confusion when processing the combined URL. Exploitation is limited by: (1) the wildcard redirect URL configuration must exist on the specific client; (2) the attack only works with HTTP-Redirect binding, not HTTP-POST; (3) the outcome depends on service provider behavior and is therefore not deterministic across all SP implementations; (4) the impact is limited to integrity (wrong-account login) with no confirmed confidentiality breach. The CVSS PR:N indicates no Keycloak credentials are required of the attacker.

Impact

The CVSS 3.1 vector AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N scores 3.4 (Low), which aligns with the realistic threat model. The High Attack Complexity (AC:H) reflects that exploitation requires a specific, non-default client configuration (wildcard redirect URLs) and depends on the service provider's behavior when processing ambiguous parameters - both conditions that reduce exploitability. User interaction (UI:R) is required, as the victim must actively authenticate. The Scope Change (S:C) is notable: the integrity impact manifests at the service provider level rather than Keycloak itself, which elevates the score modestly but does not change the Low severity tier. No EPSS data was provided in the input, CISA KEV status is not confirmed, and no public POC is known, all of which further reduce urgency. The primary real-world risk is account confusion or session misdirection rather than credential theft or data exfiltration, since C:N confirms no confidentiality impact. Organizations with wildcard redirect URL configurations in SAML clients should prioritize remediation, while those using strict exact-match redirect URLs are not exposed.

Exploit ScenarioDerived

An attacker identifies a Keycloak-protected service provider whose SAML client is configured with a wildcard redirect URL. The attacker crafts a SAML HTTP-Redirect authentication initiation URL containing injected malicious parameters and delivers it to a victim user (e.g., via phishing or a malicious link). When the victim authenticates normally through Keycloak, Keycloak appends its legitimate SAML response to the already-present attacker parameters; the service provider, processing the combined URL, interprets the attacker's injected data as authoritative and logs the victim into the wrong account or processes a session under incorrect identity context. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 31, 2026

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.

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.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Red Hat Build Of Keycloak gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY LOW
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

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

3
Severity Changed
Aug 07, 2026 - 18:07 NVD
LOW MEDIUM
CVSS changed
Aug 07, 2026 - 18:07 NVD
3.4 (LOW) 4.7 (MEDIUM)
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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
High
widely deployed enterprise identity platform across Red Hat ecosystems
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_build_of_keycloak:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_data_grid_8:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_jboss_enterprise_application_platform_expansion_pack:*:*:*:*:*:*:*:*
cpe:2.3:a:red_hat:red_hat_single_sign-on_7:*:*:*:*:*:*:*:*
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-120984 CRITICAL
9.1 Nov 07

Remote code execution in Keycloak is possible when an authenticated user with client-management permissions creates or i

CVE-2026-117691 CRITICAL
9.1 Nov 05

Keycloak's SAML HTTP-Redirect binding can be tricked into accepting an unsigned, attacker-supplied SAML message: paramet

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-97175 HIGH
8.8 Nov 05

Account takeover in Keycloak's idp-auto-link authenticator lets an attacker who holds an account at a brokered identity

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-112208 HIGH
8.1 Nov 05

Authentication bypass in Keycloak's Organization identity-first login flow allows an authenticated attacker who belongs

CVE-2026-114232 HIGH
8.1 Nov 05

Keycloak's UMA Protection API lets an authenticated realm user create a policy whose resourceType is not validated, so t

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-92857 HIGH
8.1 Nov 05

Keycloak's Dynamic Client Registration feature accepts registration requests in which an authorized registrant can map t

Vendor StatusVendor

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