At a glance
- CVE ID(s): CVE-2026-117691
- Severity: 9.1 CRITICAL (CVSS v3.1, scored by Red Hat). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Vendor / product: Red Hat / Red Hat Build of Keycloak (keycloak-services)
- Affected versions: Not stated in the advisory - check the vendor page. The record lists Red Hat Build of Keycloak with default status "affected" and gives no version ranges.
- Fixed / patched versions: Not stated in the advisory - check the vendor page
- Exploited in the wild: No known exploitation
- Attack vector: Network. No authentication needed. No user interaction needed. Low attack complexity.
- Published by: Red Hat (CNA), published 2026-11-05
- Official advisory: https://access.redhat.com/security/cve/CVE-2026-117691
What is this vulnerability?
Keycloak is an identity and access management server. It can act as a SAML service provider and accept SAML messages from an external identity provider. One way to carry those messages is the HTTP-Redirect binding, where the SAML message and its signature travel as URL query parameters.
CVE-2026-117691 is a mismatch in how those parameters are handled. The server processes percent-encoded parameter names. An example in the record is
%53AMLResponse, which decodes to the normal
SAMLResponsename. The signature verification logic, however, only checks parameters by their literal names.
An attacker can use that gap. They supply a crafted, unsigned SAML message that the server processes, instead of a legitimately signed one. The signature check does not see the crafted message as the one it should verify, but the server still acts on it.
The weakness class is CWE-347, improper verification of a cryptographic signature. This is a logic flaw in how the request is parsed and checked. It is not a flaw in the signature algorithm itself.
How does it affect you?
Red Hat describes the result as full account takeover of federated users. The CVSS vector reflects that: high confidentiality impact, high integrity impact, no availability impact.
The vector also shows the attack needs no privileges and no user interaction, and it works over the network with low complexity. In practice, anyone who can reach the affected SAML endpoint could attempt it.
Keycloak often sits in front of many applications. If an attacker can sign in as a federated user, they may reach every application that trusts that Keycloak realm. Administrative users who log in through federation are the highest-value targets.
The record says this is not listed in CISA's Known Exploited Vulnerabilities catalog, and no ransomware use is recorded. That lowers the near-term odds, but it does not make the flaw less serious. Treat it as urgent.
The record does not say which configurations are exposed. It does not say whether the flaw needs a specific realm or identity provider setting. Do not assume you are safe because you do not use SAML broadly. Verify.
Who is affected?
- Red Hat Build of Keycloak: listed as affected. The record contains two entries for this product, both with default status "affected" and no version data.
- Red Hat Single Sign-On 7: listed with default status "unaffected".
The advisory text provided does not name upstream community Keycloak releases. It also does not list specific Red Hat Build of Keycloak versions. If you run community Keycloak or a derived product, check the Red Hat advisory and your own vendor for guidance. Do not assume either way.
The description refers to the SAML HTTP-Redirect binding. Deployments that use Keycloak as a SAML broker or service provider, where it accepts SAML responses from an upstream identity provider, are the most likely to be relevant. The record does not confirm this scope in detail, so confirm with the vendor.
How to check if you are vulnerable
- Inventory every Keycloak instance. Include test, staging and forgotten ones.
- Identify the product and build. Red Hat Build of Keycloak is in scope. Red Hat Single Sign-On 7 is listed as unaffected.
- Record the exact version of each Red Hat Build of Keycloak deployment. The admin console and your deployment records show this.
- Open the Red Hat advisory page and compare your version against its affected and fixed lists. The data provided here does not contain version ranges.
- Review which realms use SAML identity providers or SAML clients. Note which are reachable from the internet or from untrusted networks.
- Check your reverse proxy or WAF logs for requests to SAML endpoints that contain percent-encoded parameter names. Legitimate traffic normally uses plain names.
If you cannot confirm that your version is fixed, treat it as vulnerable.
How to fix and recover
The record lists no solution or fixed version. Red Hat's page is the source of truth. Check it and the linked bug report for patch or erratum news, and apply the update as soon as one is available for your product stream.
Until then, plan the work so you can patch fast:
- Identify owners and maintenance windows for each Keycloak instance.
- Take a backup of the realm configuration and database before any upgrade.
- Apply the Red Hat update when it is published.
- After patching, confirm the new version in the admin console.
- Test SAML login flows end to end for each identity provider and client.
If you suspect compromise, act on the assumption that federated accounts were taken over:
- Review Keycloak login and event logs for SAML logins that do not match what your upstream identity provider logged.
- Look for logins by federated users at odd times or from unexpected IP addresses.
- Terminate active sessions for affected users and realms.
- Reset credentials and review MFA enrolments for any account you think was abused.
- Rotate secrets that could have been exposed through taken-over accounts, such as client secrets, API tokens and keys used by downstream applications.
- Check for new or changed admin accounts, roles, clients and identity provider settings. Restore a known-good configuration if you find unexplained changes.
- Review downstream application logs for actions taken by the affected users.
Workarounds and mitigations
Red Hat states that mitigation is either not available or does not meet its criteria for ease of use, wide applicability and stability. There is no vendor-endorsed workaround in the record.
That means patching is the real fix. In the meantime, you can reduce exposure with general measures. These are not vendor-confirmed fixes for this CVE:
- Restrict network access to Keycloak SAML endpoints to the networks that need them.
- Increase logging on those endpoints and keep the logs.
- Review whether every SAML identity provider and client configured in each realm is still needed. Disable unused ones.
- Prepare an incident plan for mass session revocation and credential reset.
Do not rely on a WAF rule alone. The record gives no tested rule, and filters can be bypassed.
What to monitor
- Red Hat's advisory and the linked bug report for fixed versions and updates.
- Keycloak login events for federated users, especially logins with no matching event at the upstream identity provider.
- Requests to SAML endpoints that carry percent-encoded parameter names.
- New sessions for privileged or administrative federated users.
- Changes to realm, identity provider, client and role configuration.
- Unusual activity in applications that trust Keycloak, such as access to sensitive data from a newly federated login.
- Any change in exploitation status. The record currently shows no known exploitation, which could change.
