External risk intelligence

Keycloak SAML HTTP-Redirect Binding Vulnerability Allows Account Takeover.

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-117691

Keycloak is an identity and access management solution commonly deployed as a public-facing service to handle authentication, SSO, and federated identity protocols like SAML. Its role as an identity provider requires it to be reachable from the internet to support remote users and external service integrations, making its SAML processing endpoints typically public-facing by design.

Halo Surface Signal: 5 out of 5 — more likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This vulnerability impacts Keycloak's handling of security messages, potentially allowing an attacker to impersonate federated users and gain full account access. The core issue lies in how the system verifies message signatures when presented with improperly formatted requests. While a fix is likely available or in progress, the immediate concern is to determine if your organization utilizes Keycloak for federated identity and assess the exposure.

  • Unsigned security messages can bypass verification.
  • Enables full account takeover for federated users.
  • Confirm Keycloak usage and federated user exposure.

Attack Path

How an attacker could exploit the issue

An attacker can exploit a flaw in how Keycloak handles SAML messages by sending a specially crafted, unsigned message that bypasses signature checks. This is possible because the system processes percent-encoded parameter names differently than its signature verification logic expects. Successful exploitation could allow an attacker to take over the accounts of federated users.

  • Requires access to SAML processing endpoints.
  • Triggers by sending a crafted, unsigned SAML message.
  • Results in full account takeover of federated users.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an unauthenticated attacker to bypass signature verification for SAML messages, potentially leading to the full takeover of federated user accounts when the SAML HTTP-Redirect binding is used.

  • Federated user accounts.
  • Unsigned SAML messages bypass verification.
  • Full account takeover of federated users.

Operational Fix

Recommended remediation, mitigation, and detection steps

This critical vulnerability in Keycloak's SAML HTTP-Redirect binding impacts federated user accounts, potentially leading to full account takeover. Identifying all Keycloak instances, confirming their exposure and criticality, and locating the responsible owners are the immediate first steps. Remediation planning should prioritize high-risk assets.

  • Identity and Access Management teams own the issue.
  • Verify Keycloak instance exposure and criticality.
  • Plan remediation based on risk assessment.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is Keycloak and how is it used?

Keycloak is an open-source identity and access management solution. Organizations use it to centralize authentication, enabling single sign-on (SSO) and federated identity services across various applications and platforms.

What does CWE-347 mean for CVE-2026-117691?

CWE-347 refers to improper verification of cryptographic signatures. In this CVE, it means the software fails to correctly validate the digital proof attached to SAML messages. Because the system is tricked into accepting unsigned messages, it loses the ability to confirm if a login request is authentic or forged.

How does an attacker trigger this SAML flaw?

An attacker sends a specially crafted, unsigned SAML message to the server. The vulnerability is triggered because the server interprets percent-encoded parameter names differently than its security logic does. Sending a properly signed message or a standard, non-encoded request does not trigger this specific discrepancy.

Is my Keycloak instance vulnerable?

Halo Surface Signal notes that Keycloak is often deployed as a public-facing service to support remote users and external integrations. If your Keycloak endpoints are reachable from the internet to facilitate federated identity or SSO, your infrastructure is likely exposed to this risk.

What should I do if I run Keycloak?

Begin by identifying all running instances of Keycloak in your environment and determining which ones utilize SAML HTTP-Redirect bindings for federated authentication. Once assets are mapped, coordinate with your identity management team to prioritize these critical systems for security updates.

References