[{"data":1,"prerenderedAt":215},["ShallowReactive",2],{"seo-verification":3,"blog-keycloak-cve-2026-117691-saml-signature-bypass-update-ma-en":6,"promo-bar-likely":214},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-keycloak-cve-2026-117691-saml-signature-bypass-update-ma-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":18,"isPinned":19,"noindex":19,"publishedAt":20,"updatedAt":21,"category":22,"categories":28,"featuredImage":30,"bgImage":31,"posterImage":32,"relatedSolution":33,"intro":36,"keyPoints":37,"sections":38,"ctaTitle":156,"ctaBody":157,"ctaButton":158,"ctaUrl":159,"relatedPosts":160},585,"keycloak-cve-2026-117691-saml-signature-bypass-update",{"fr":12,"en":10,"ar":13,"es":14},"keycloak-cve-2026-117691-saml-contournement-signature-mettre-a-jour","keycloak-cve-2026-117691-تجاوز-توقيع-saml-تحديث","keycloak-cve-2026-117691-firma-saml-eludida-actualizar","Keycloak CVE-2026-117691: SAML signature bypass, what to do","CVE-2026-117691: Keycloak's SAML redirect signature check can be bypassed. Who is exposed, which version to install, and how to update under Docker.",11,0,false,"2026-11-18T00:00:00+00:00","2026-11-20T14:16:42+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},8,"Security & Monitoring","securite-monitoring","bg-rose-500\u002F10 text-rose-400","security",[29],{"id":23,"name":24,"slug":25,"color":26,"icon":27},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fkeycloak-cve-2026-117691-saml-contournement-signature-mettre-a-jour-poster.svg",{"categorySlug":34,"appSlug":35},"cybersecurity-bastion","keycloak","On November 5, 2026, Keycloak shipped version 26.8.2 together with the advisory for CVE-2026-117691: signature verification on the SAML redirect binding can be bypassed with a percent-encoded parameter name, and a federated account can be impersonated. The score is 9.1 out of 10. For an agency running its clients' SSO, the stakes are knowing whether the instance is affected, which version to target and how to upgrade without breaking logins. This guide follows the primary sources and says what they do not say.",[],[39,43,53,56,91,94,122,126,129,138,141,144,153],{"type":40,"title":41,"body":42},"h2","What the advisory says, and what it does not","CVE-2026-117691, tracked by the GitHub advisory GHSA-c85j-3hq2-q6wj, affects Keycloak's SAML HTTP-Redirect binding. The server decodes percent-encoded parameter names, for example `%53AMLResponse`, while signature verification only recognizes literal names. The attacker first sends an unsigned message under the encoded name, then a legitimately signed one. The signature check looks at the second, the server processes the first.\n\nRed Hat draws the most serious consequence: takeover of any federated account. The advisory is dated November 5, 2026. The CVSS 3.1 score is 9.1, with a network vector and no privileges or user interaction required, and the weakness is classified CWE-347, improper verification of a cryptographic signature.\n\nRed Hat adds a prerequisite: the attacker needs an account at the external identity provider, to obtain a genuinely signed redirect message, for example a logout response. The GitHub advisory itself lists neither affected versions nor a workaround. The rest of this guide therefore separates what is established from what is deduced.",{"type":44,"title":45,"items":46},"ul","Who is exposed",[47,48,49,50,51,52],"**Keycloak as a SAML identity broker** — the project ticket (keycloak#54714) speaks of a \"broker login as any user\". The case described is a realm that federates an external SAML identity provider: an enterprise client, a partner, a third-party directory. This is the scenario to handle first.","**An account at the external provider** — the attack reuses a signed message, so it needs an account, even an unprivileged one, at that provider. The more open its registration, the wider the exposure.","**OIDC only** — the sources read describe only the SAML HTTP-Redirect binding and do not mention OIDC. A realm with no SAML provider falls outside the scenario described, but that does not excuse skipping the upgrade: the 26.8.2 notes announce 33 security fixes.","**Keycloak as the SAML provider for your applications** — no source says whether SAML clients are affected. The 26.8.2 notes list other SAML fixes. Do not conclude there is no risk: update.","**Red Hat build of Keycloak** — the NVD data marks the 26.6 branch affected before 26.6.9. Red Hat Single Sign-On 7 is listed by Red Hat as not affected.","**Observed exploitation** — as of November 18, 2026, the CVE is not in the CISA catalog of exploited vulnerabilities, and its EPSS score is below 1%. This is not a grace period: the severity score remains 9.1.",{"type":40,"title":54,"body":55},"Which version to install: what the sources say to each other","For the community project, the fix is in 26.8.2, released on November 5, 2026. In the keycloak#54714 thread, users ask which older versions are affected. The only answer is a pointer to the `release\u002F26.6.9` and `release\u002F26.4.18` labels in the repository. Why not 26.7: the question was asked on November 9, 2026, with no maintainer reply in the thread.\n\nThe sources do not fully agree. Red Hat released Red Hat build of Keycloak 26.6.9 on November 7, 2026, with advisory RHSA-2026:96040. But for the community project, the GitHub release list and the quay.io image tags show neither 26.6.9 nor 26.4.18 on November 18, 2026: the latest published 26.6 is 26.6.4, the latest 26.7 is 26.7.5.\n\nPractical consequence. With the community image, target 26.8.2. With Red Hat build of Keycloak, 26.6.9 or, according to the project tracker, 26.4.18: confirm with your vendor. On 26.7, no fix is announced: treat it as affected. Before 26.4, the advisory establishes nothing, and we conclude nothing: no fixed version is announced there, which is one more reason to migrate.",{"type":57,"title":58,"headers":59,"rows":63},"comparison","Keycloak branches against CVE-2026-117691",[60,61,62],"Branch","Status against the CVE","Fixed version",[64,68,72,75,79,83,87],[65,66,67],"26.8 (community)","Not fixed before 26.8.2","26.8.2, released November 5, 2026",[69,70,71],"26.7 (community)","Latest published: 26.7.5, no fix or backport announced","Move to 26.8.2",[73,74,71],"26.6 (community)","Latest published: 26.6.4, no fix",[76,77,78],"26.6 (Red Hat build of Keycloak)","Affected before 26.6.9 according to NVD","26.6.9, advisory RHSA-2026:96040",[80,81,82],"26.4","Backport announced by the project tracker, no advisory read","26.4.18 per the tracker: to be confirmed",[84,85,86],"Before 26.4","Not established by the advisory","None announced: migrate to 26.8.2",[88,89,90],"Red Hat Single Sign-On 7","Not affected, according to Red Hat","Not applicable",{"type":40,"title":92,"body":93},"Reading the version actually deployed","Record what is running before changing anything, using two routes that cross-check each other.\n\nAdmin console: sign in to the `master` realm, open the dashboard and then the Server Info tab, which describes the server and its enabled features. Command line: the `-V` or `--version` option of `kc.sh` prints the version. Under Docker, the command is `docker compose exec keycloak \u002Fopt\u002Fkeycloak\u002Fbin\u002Fkc.sh --version`, adapting the service name.\n\nThe tag in the Compose file tells you what you asked for, not necessarily what is running: a floating tag such as `26.8` changes on every `docker compose pull`. And if your image is built with `kc.sh build`, the version of the built image is what counts. Finally, in each realm, list the SAML identity providers (Identity providers menu): that tells you whether you are in the scenario described.",{"type":95,"title":96,"steps":97},"steps","Updating Keycloak under Docker Compose",[98,101,104,107,110,113,116,119],{"title":99,"body":100},"Note the current version and state","Run `docker compose exec keycloak \u002Fopt\u002Fkeycloak\u002Fbin\u002Fkc.sh --version`, then note the realms, SAML identity providers and clients that serve your customers. This list becomes the test grid at the end.",{"title":102,"body":103},"Back up the database and the configuration","Back up the database with your engine's tool, for example `docker compose exec -T postgres pg_dump -U keycloak keycloak > keycloak-avant-maj.sql`, adapting service, user and database. Also copy the Compose file, `conf\u002F`, the themes and `providers\u002F`. The upgrade guide asks you to back up the database and the old installation.",{"title":105,"body":106},"Read the migration changes","The upgrade guide lists changes version by version. Read all those between your version and the target, not just the latest: the 26.8 section changes access control on the admin API and the handling of SAML assertions.",{"title":108,"body":109},"Change the image tag","In the Compose file, switch to `image: quay.io\u002Fkeycloak\u002Fkeycloak:26.8.2`: an exact tag, never `latest`. Custom image: change the `FROM` line of the Dockerfile, then run `docker compose build --pull`. Official image: `docker compose pull keycloak`.",{"title":111,"body":112},"Stop the old version","Run `docker compose stop keycloak`. Rolling updates are documented only for patch releases, since 26.6.0; for a minor version change, stop all nodes before migrating the database.",{"title":114,"body":115},"Start and let the database migrate","Run `docker compose up -d keycloak` then `docker compose logs -f keycloak`. The database migrates by itself on first start. The default timeout is 30 minutes; for a large database, add `--transaction-setup-timeout=60m` to the start command. Beyond 300000 records, some indexes are created in the background after startup.",{"title":117,"body":118},"Retest themes, providers and logins","Compare your custom theme templates with those of the new version, then replay the grid noted in step 1: one login per SAML provider, a logout, an admin API client, an existing federated account.",{"title":120,"body":121},"Plug in watching and monitoring","Add Keycloak's login URL to an uptime probe, for example the Uptime Kuma template from the catalog on the same VPS, and follow the keycloak.org blog for the next patch release. An SSO is updated at the pace of its advisories, not at the pace of your projects.",{"type":123,"title":124,"body":125},"tip","A backup that restores","After the migration, the database schema is no longer compatible with the old server, and Keycloak cannot undo the migration. To roll back, you must restore the old installation, then the database from the backup. Restore it once on a test database before upgrading production: a backup never restored is only a hypothesis.",{"type":40,"title":127,"body":128},"If the update has to wait a few days","Let us be clear: there is no official workaround. Red Hat states that no measure meets its criteria for ease, deployment and stability, and the GitHub advisory lists none. The leads below reduce exposure, they fix nothing. They are for holding on a few days, not for postponing the upgrade.",{"type":44,"title":130,"items":131},"Reducing exposure in the meantime",[132,133,134,135,136,137],"**Restrict registration at the external provider** — the attack requires an account there. Auditing its accounts and limiting new sign-ups reduces the surface. This lead appears in a Red Hat note dated November 6, 2026 that is marked as AI-generated, and it states that it does not fix the flaw.","**Disable the SAML provider concerned** — in Identity providers, the enable switch cuts logins through that provider. This is our deduction, not an instruction from the advisories: test it on a staging realm, and measure the impact for that client's users.","**Do not rely on \"HTTP-POST Binding Response\"** — according to the documentation, this setting chooses the binding Keycloak uses to answer requests from the external provider. Nothing indicates that it stops Keycloak from accepting a redirect message.","**Do not promise an nginx filter** — you can look for requests with an encoded parameter name, but no source validates a complete blocking rule, and encoding can touch any character of the name. Use the reverse proxy to detect, not to feel protected.","**Fix the upgrade date** — a dated maintenance window, the backup made and tested, a named owner. The risk of an unpatched SSO is measured in days.","**Inform the clients concerned** — if you run their SSO, say which flaw, which version, which upgrade date. Without adding exploitation details.",{"type":40,"title":139,"body":140},"Checking the fix, then looking for traces","Verify: read the version again in Server Info and with `kc.sh --version`; it should show 26.8.2 for the community image. Then replay your functional tests: login through each SAML provider, logout. Do not try to replay the attack on production: a forged message on a live system is an impersonation attempt. If proof is required, build an isolated staging realm with test accounts.\n\nLooking for traces: the attack goes through a GET request with an encoded parameter name. In the reverse proxy access logs, a search such as `zgrep -iE '[?&][a-z]*%[0-9a-f]{2}[a-z]*=' \u002Fvar\u002Flog\u002Fnginx\u002Faccess.log*` finds parameter names containing an encoded character. A hit is a clue, not proof, and no hit is not proof either: rotated logs, unlogged parameters, another proxy upstream.\n\nOn the Keycloak side, user events are not kept by default; only errors are. Enable Save events in Realm settings, Events, to keep history from now on, and review unusual federated logins: time, IP address, account. Before you enabled it, nothing was recorded: what you do not find may simply never have been written.",{"type":40,"title":142,"body":143},"Troubleshooting after the version jump","Moving to 26.8 changes several behaviors, listed in the upgrade guide. These are the ones that most often look like an outage. The guide quotes no startup error message: the symptoms below are the ones it describes.",{"type":44,"title":145,"items":146},"Symptoms and remedies, from the upgrade guide",[147,148,149,150,151,152],"**401 errors from the admin API** — tokens must carry the new `kc-admin-api` scope. Custom clients and service accounts must be assigned it; `admin-cli` and the console are updated automatically. During a rolling upgrade, temporary 401 errors are possible.","**SAML login that no longer works** — assertions must carry a bearer subject confirmation, and ProxyRestriction conditions are rejected by default. On the adapter side, `entityID=\"idp\"` must be replaced with the realm URL.","**Automatic account linking refused** — it now requires a verified email address or the Trust Email option on the provider. Federated users who used to link on their own may suddenly see a linking screen.","**Database or CPU under more load** — login failures are stored in the database by default, which increases connections and CPU. `--features=login-failures:v1` restores in-memory storage.","**Migration taking too long** — the default timeout is 30 minutes, adjustable with `--transaction-setup-timeout`. If the stop happened mid-migration, restore the backed-up database before restarting.","**Users logged out** — with `persistent-user-sessions` disabled, all sessions except offline sessions are lost, and login flows in progress must be restarted. Warn users before the maintenance window.",{"type":40,"title":154,"body":155},"Official documentation","The following links are the sources of this guide; reread them before acting.\n\nGitHub advisory: https:\u002F\u002Fgithub.com\u002Fadvisories\u002FGHSA-c85j-3hq2-q6wj\n\n26.8.2 release notes: https:\u002F\u002Fwww.keycloak.org\u002F2026\u002F11\u002Fkeycloak-2682-released\n\nProject tracker: https:\u002F\u002Fgithub.com\u002Fkeycloak\u002Fkeycloak\u002Fissues\u002F54714\n\nUpgrade guide: https:\u002F\u002Fwww.keycloak.org\u002Fdocs\u002Flatest\u002Fupgrading\u002Findex.html\n\nRed Hat CVE page: https:\u002F\u002Faccess.redhat.com\u002Fsecurity\u002Fcve\u002FCVE-2026-117691\n\nRed Hat advisory 26.6.9: https:\u002F\u002Faccess.redhat.com\u002Ferrata\u002FRHSA-2026:96040\n\nFor an SSO you run yourself, the Keycloak entry in the ServOrbit catalog offers a ready-to-deploy VPS template, with PostgreSQL and HTTPS, to which the procedure above applies as is.","Keep Keycloak up to date on your VPS","Keycloak is available in the ServOrbit Marketplace as a VPS template: official image, PostgreSQL database and HTTPS, on a server where you stay in control of applying your updates.","See Keycloak in the Marketplace","\u002Fapplications\u002Fcybersecurity-bastion\u002Fkeycloak",[161,178,196],{"id":162,"slug":163,"slugs":164,"title":168,"excerpt":169,"readTime":170,"views":18,"isPinned":19,"noindex":19,"publishedAt":171,"updatedAt":172,"category":173,"categories":174,"featuredImage":30,"bgImage":31,"posterImage":176,"relatedSolution":177},112,"deploy-keycloak-for-sso-on-your-vps",{"fr":165,"en":163,"ar":166,"es":167},"keycloak-sso-vps","نشر-keycloak-لتسجيل-الدخول-الموحد-sso-على-خادمك-vps","desplegar-keycloak-sso-en-un-vps","Deploy Keycloak for SSO on Your VPS","Deploy Keycloak on your VPS for enterprise-grade SSO: OIDC, SAML, realms and federation. A complete Docker guide and comparison.",10,"2026-02-28T00:00:00+00:00","2026-11-04T16:30:25+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[175],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fkeycloak-sso-vps-poster.svg",{"categorySlug":34,"appSlug":35},{"id":179,"slug":180,"slugs":181,"title":185,"excerpt":186,"readTime":187,"views":18,"isPinned":19,"noindex":19,"publishedAt":188,"updatedAt":189,"category":190,"categories":191,"featuredImage":30,"bgImage":31,"posterImage":193,"relatedSolution":194},372,"keycloak-cves-week-38-migrate-authelia-zitadel-vps",{"fr":182,"en":180,"ar":183,"es":184},"keycloak-cves-semaine-38-migrer-authelia-zitadel-vps","ثغرات-keycloak-الأسبوع-38-هجرة-إلى-authelia-zitadel","keycloak-cves-semana-38-migrar-authelia-zitadel-vps","Keycloak v26.7.4: 6 CVEs — migrate to Authelia or ZITADEL","Keycloak v26.7.4 patches 6 CVEs including two unauthenticated DoS. For fewer than 10 SSO apps on a VPS, Authelia (\u003C 30 MB) or ZITADEL cut the attack surface.",12,"2026-09-23T00:00:00+00:00","2026-11-04T16:30:27+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[192],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fkeycloak-cves-semaine-38-migrer-authelia-zitadel-vps-poster.svg",{"categorySlug":34,"appSlug":195},"authelia",{"id":197,"slug":198,"slugs":199,"title":203,"excerpt":204,"readTime":205,"views":206,"isPinned":19,"noindex":19,"publishedAt":207,"updatedAt":189,"category":208,"categories":209,"featuredImage":30,"bgImage":31,"posterImage":211,"relatedSolution":212},272,"authentik-authelia-or-keycloak-choosing-your-sso-on-vps",{"fr":200,"en":198,"ar":201,"es":202},"authentik-vs-authelia-keycloak-sso-vps-2026","authentik-أو-authelia-أو-keycloak-اختيار-sso-على-vps","authentik-authelia-o-keycloak-elegir-sso-en-vps","Authentik, Authelia or Keycloak: Choosing Your SSO on VPS","Authentik, Authelia or Keycloak on VPS: compare real memory footprint, covered protocols and Keycloak 26.7.1 CVEs to choose the right self-hosted SSO.",6,3,"2026-08-16T00:00:00+00:00",{"id":23,"name":24,"slug":25,"color":26,"icon":27},[210],{"id":23,"name":24,"slug":25,"color":26,"icon":27},"\u002Fblog\u002Fcovers\u002Fauthentik-vs-authelia-keycloak-sso-vps-2026-poster.svg",{"categorySlug":34,"appSlug":213},"authentik",true,1795186145764]