CVE-2026-117691

Keycloak-services: keycloak-services: saml redirect binding signature bypass via percent-encoded parameter names

Published Nov 5, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
A flaw was found in the SAML HTTP-Redirect binding implementation of Keycloak. The issue occurs because the server processes percent-encoded parameter names (like %53AMLResponse) while the signature verification logic only checks literal parameter names. An attacker can use this discrepancy to provide a crafted, unsigned SAML message that the server processes instead of a legitimately signed one, leading to full account takeover of federated users.

Analysis

AI-generated

Technical impact

A flaw exists in the SAML HTTP‑Redirect binding of Keycloak where the server decodes percent‑encoded parameter names but the signature verification logic only checks literal names. This discrepancy allows an attacker to craft an unsigned SAML response with percent‑encoded parameter names that the server mistakenly processes, resulting in a full account takeover of federated users. The vulnerability fundamentally compromises both confidentiality and integrity by bypassing intended authentication controls.

Affected Systems

The vulnerability affects Red Hat Build of Keycloak, as well as Red Hat Single Sign‑On 7. Specific affected versions are not listed in the advisory.

Risk and Exploitability

The CVSS score of 9.1 indicates a high‑severity flaw. The EPSS score is unknown, and the vulnerability is not present in the CISA KEV catalog, but the absence of a publicly available patch or workaround increases the operational risk. Exploitation would require an external attacker able to send a crafted SAML HTTP‑Redirect request with percent‑encoded parameter names; the attack vector is remote via the SAML protocol often used for federated authentication.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability. --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to align query parameter parsing between signature verification and request processing in Keycloak's SAML HTTP-Redirect binding so percent-encoded parameter names cannot evade signature checks: upgrade to the fixed Rhbk/Keycloak Rhel/Keycloak Services builds, which eliminates the parsing discrepancy between raw query parameter signature verification and decoded parameter processing in the SAML redirect binding, closing crafted HTTP GET request containing a percent-encoded unsigned SAML parameter placed before a legitimately signed parameter. Until patched, this is a concern on Keycloak instances configured to use SAML HTTP-Redirect binding for federated identity, so Audit and restrict account registration on external Identity Providers to prevent attackers from capturing legitimately signed redirect-binding messages. These controls limit blast radius and contain exploitation, but they do not fix the underlying SAML parameter parsing discrepancy signature bypass — apply the upstream patch to fully remediate.


OpenCVE Recommended Actions

  • Apply any available Red Hat patch for Keycloak that addresses the SAML HTTP‑Redirect binding signature bypass as soon as it becomes available.
  • Configure Keycloak to enforce strict signature verification for all SAML HTTP‑Redirect binding requests, rejecting any request in which parameter names are percent‑encoded or otherwise do not match the expected literal names.
  • If the SAML HTTP‑Redirect binding is not required in your environment, disable or block that binding entirely to eliminate the vulnerability vector.
  • Monitor authentication logs for anomalous SAML messages, particularly those containing percent‑encoded parameter names, and investigate any suspected intrusion events.

Generated by OpenCVE AI on November 5, 2026 at 15:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:redhat:build_of_keycloak:*:*:*:*:-:*:*:*
Type Values Removed Values Added
CPEs cpe:/a:redhat:build_keycloak:26.6::el9
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Vendors & Products Red Hat
Red Hat red Hat Build Of Keycloak 26.4
Redhat build Of Keycloak
Redhat single Sign-on
Type Values Removed Values Added
Description A flaw was found in the SAML HTTP-Redirect binding implementation of Keycloak. The issue occurs because the server processes percent-encoded parameter names (like %53AMLResponse) while the signature verification logic only checks literal parameter names. An attacker can use this discrepancy to provide a crafted, unsigned SAML message that the server processes instead of a legitimately signed one, leading to full account takeover of federated users.
Title Keycloak-services: keycloak-services: saml redirect binding signature bypass via percent-encoded parameter names
First Time appeared Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
Weaknesses CWE-347
CPEs cpe:/a:redhat:build_keycloak:
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat build Keycloak
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 7, 2026, 3:39 PM
Reserved
Oct 27, 2026, 1:49 PM
Status
Analyzed
Published
Nov 5, 2026, 2:17 PM
Modified
Nov 16, 2026, 2:19 PM
Severity
Important
Public date
Nov 5, 2026, 12:00 AM