{"id":2502,"date":"2026-08-24T13:10:43","date_gmt":"2026-08-24T13:10:43","guid":{"rendered":"https:\/\/thedigitalfortress.us\/?p=2502"},"modified":"2026-08-24T13:10:43","modified_gmt":"2026-08-24T13:10:43","slug":"critical-keycloak-password-reset-flaw-could-let-unauthenticated-attackers-take-over-any-account","status":"publish","type":"post","link":"https:\/\/thedigitalfortress.us\/?p=2502","title":{"rendered":"Critical Keycloak Password Reset Flaw Could Let Unauthenticated Attackers Take Over Any Account"},"content":{"rendered":"<div>\n<p><span class=\"p-author\"><i class=\"icon-font icon-user\">\ue804<\/i><span class=\"author\">Swati Khandelwal<\/span><i class=\"icon-font icon-calendar\">\ue802<\/i><span class=\"author\">Aug 24, 2026<\/span><\/span><span class=\"p-tags\">Vulnerability \/ Identity Security<\/span><\/p>\n<\/div>\n<div id=\"articlebody\">\n<div class=\"separator\" style=\"clear: both;\"><a href=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjhB3jURz2EzucPTALqHju1yDNnbHFvawrKxEfvNEprkdA3QIDyOjuUqvHOyTyiZuYJR-4KwewHnd8CdT37TDxBMBK3OLknOxym2a0klblR6rNUc2lqXHdAQUl1JO8uE7bGupO-WqsaEM0UDLUGyWICu5fkA6x4GwNUCo_w3quxp8joYWhNX8grP55eVg8\/s1700-e365\/keylock.jpg\" style=\"display: block;  text-align: center; clear: left; float: left;\"><\/a><\/div>\n<p>Red Hat and the Keycloak project have released patches to address a critical security flaw in the open-source identity and access management server that could allow an unauthenticated remote attacker to take over any user account by forcing a password reset.<\/p>\n<p>The vulnerability, assigned the CVE identifier <strong>CVE-2026-18963<\/strong>, is rated 9.1 on the CVSS scoring system by Red Hat, which acts as the CVE Numbering Authority (CNA) for the flaw. It has been classified as a weak password recovery mechanism for a forgotten password (CWE-640).<\/p>\n<p>Users of upstream Keycloak are advised to update to version 26.7.2, released August 19, 2026, while customers running Red Hat build of Keycloak (RHBK) should apply the updates shipped for 26.4.15 and 26.6.6.<\/p>\n<p>There is no evidence that the flaw has been exploited, and no verified public exploit has been located as of August 24, 2026.<\/p>\n<p>Red Hat said in <a href=\"https:\/\/access.redhat.com\/security\/cve\/CVE-2026-18963\" target=\"_blank\">its CVE advisory<\/a> that the root cause is \u00abimproper state validation within the reset-credentials authentication flow,\u00bb the sequence Keycloak runs when a user requests password recovery. The company assessed the severity as Critical because an unauthenticated remote attacker can exploit the flaw without any user interaction.<\/p>\n<div class=\"dog_two clear\">\n<div class=\"cf\"><a href=\"https:\/\/thehackernews.uk\/zero-trust-claude-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEj8iAp2j8rqTq6aptj6yiYHC-B73UxnWI2NQMt0azp6OVLq9JkO8cpYokLWa8t_IKqrHKPsaM5D_lQ9Ip7kZTi3at4oYfzN1m1b_T4b6MuzBWtmlhdLcQ0nZHicD94rliREFDRewsKBQCTYrAAVNzYKj84_0EZskDUxvkc972s9fYAqcQGEQjVZTc0cr7TB\/s728-e100\/ThreatLocker-d.jpg\" width=\"729\" height=\"91\"\/><\/a><\/div>\n<\/div>\n<p>The defect lies in how the flow&#8217;s state is managed, according to <a href=\"https:\/\/bugzilla.redhat.com\/show_bug.cgi?id=2511595\" target=\"_blank\">the Red Hat bug report<\/a>. An attacker sends a specially crafted request to the reset-credentials endpoint. The authentication session then transitions directly to the password update phase. The action token that Keycloak normally sends via email is never required.<\/p>\n<p><a name=\"more\"\/><\/p>\n<p>Successful exploitation results in a complete account takeover of any user, \u00abincluding administrative accounts,\u00bb by resetting their password.<\/p>\n<p>Escape researcher Enzo Mongin, writing about <a href=\"https:\/\/escape.tech\/blog\/escape-research-pii-disclosure-keycloak-cve-2026-17059\/\" target=\"_blank\">a separate Keycloak access-control flaw<\/a> he disclosed in July, said an attacker who crosses one of the server&#8217;s boundaries does not stop at Keycloak, and that \u00abthey get into everything sitting behind it.\u00bb<\/p>\n<p>Red Hat issued four errata on August 18, 2026 (<a href=\"https:\/\/access.redhat.com\/errata\/RHSA-2026:56519\" target=\"_blank\">RHSA-2026:56519<\/a>, <a href=\"https:\/\/access.redhat.com\/errata\/RHSA-2026:56520\" target=\"_blank\">RHSA-2026:56520<\/a>, <a href=\"https:\/\/access.redhat.com\/errata\/RHSA-2026:56523\" target=\"_blank\">RHSA-2026:56523<\/a> and <a href=\"https:\/\/access.redhat.com\/errata\/RHSA-2026:56524\" target=\"_blank\">RHSA-2026:56524<\/a>), covering the standalone server packages and the container images for two RHBK streams. The <a href=\"https:\/\/www.keycloak.org\/security\" target=\"_blank\">fixed versions<\/a> are as follows &#8211;<\/p>\n<ul>\n<li><strong>Red Hat build of Keycloak 26.4<\/strong> is unaffected from operator bundle 26.4.15-1, and from the rhbk\/keycloak-rhel9 and rhbk\/keycloak-rhel9-operator images 26.4-23<\/li>\n<li><strong>Red Hat build of Keycloak 26.6<\/strong> is unaffected from operator bundle 26.6.6-1 and from the keycloak-rhel9 and operator containers 26.6-12<\/li>\n<li><strong>Upstream Keycloak<\/strong> is fixed in 26.7.2<\/li>\n<\/ul>\n<p><a href=\"https:\/\/github.com\/advisories\/GHSA-4gv3-mc9p-5wqc\" target=\"_blank\">The GitHub advisory<\/a> for the flaw lists both the affected and the patched versions as unknown, and the CVE record carries only Red Hat product references.<\/p>\n<p>The initial CVE record listed Red Hat Single Sign-On 7 as unaffected and the Red Hat JBoss Enterprise Application Platform Expansion Pack as affected. A later revision narrowed the product list, and NVD&#8217;s display truncates it, so the current status of both is not established.<\/p>\n<p>For deployments that cannot be updated immediately, Red Hat has published a temporary mitigation &#8212; turn off the \u00abForgot password\u00bb functionality across all realms. In the RHBK administration console, the setting sits under Realm settings, then Login, then Forgot password. Red Hat said the setting must be applied to every realm and that customers should upgrade to a fixed version as soon as possible.<\/p>\n<div class=\"dog_two clear\">\n<div class=\"cf\"><a href=\"https:\/\/thehackernews.uk\/corelight-d\" rel=\"nofollow noopener sponsored\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"lazyload\" alt=\"Cybersecurity\" src=\"https:\/\/blogger.googleusercontent.com\/img\/b\/R29vZ2xl\/AVvXsEjuvAqH13TTYyJD3aI-pJcYl54BoxQWMHc2aFwW2HbYUa5IKCjvHlzpzkFwXLTuV8aytky8kqLBgkoOtC8VQM5CGR0N5BXBl8RSXl-PYx_vIPbiLywiqXIvTPmm18cdEm_C0heVB-3U8zfG7K27RCAurtJ7OvxEyfQ0sVV_RRx1N4ZMWkqKgEBmkcDgjD6I\/s728-e100\/code-d.png\" width=\"729\" height=\"91\"\/><\/a><\/div>\n<\/div>\n<p>CVE-2026-18963 was one of eight CVE identifiers listed as fixed in <a href=\"https:\/\/www.keycloak.org\/2026\/08\/keycloak-2672-released\" target=\"_blank\">the Keycloak 26.7.2 release notes<\/a>. The same release addressed CVE-2026-15571, a predictable account-linking hash that enables account takeover through a malicious OpenID Connect (OIDC) client.<\/p>\n<p>Two weeks earlier, on August 5, 2026, Keycloak 26.7.1 shipped <a href=\"https:\/\/github.com\/keycloak\/keycloak\/releases\" target=\"_blank\">fixes for twelve CVEs<\/a>, including a SAML identity-provider-initiated broker login that bypassed a link-only restriction and a default dynamic client registration policy that allowed role forgery via user property mappers.<\/p>\n<p>Separately, Univention said in a post published August 20 that \u00abNubus is not affected by this issue\u00bb because the forgotten-password feature is not activated in its Keycloak deployments. Red Hat credited James Paremain with reporting the flaw.<\/p>\n<p>No source addresses whether the fix fully resolves the flaw.<\/p>\n<p>Whether every realm with the forgotten-password feature enabled is exploitable, or only certain reset-credentials flow configurations, is not stated by any of the published sources.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\ue804Swati Khandelwal\ue802Aug 24, 2026Vulnerability \/ Identity Security Red Hat and the Keycloak project have released patches to address a critical security flaw in the open-source identity and access management server&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2503,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[573,622,58,70,3136,319,3137,725],"class_list":["post-2502","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-account","tag-attackers","tag-critical","tag-flaw","tag-keycloak","tag-password","tag-reset","tag-unauthenticated"],"_links":{"self":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts\/2502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2502"}],"version-history":[{"count":0,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/posts\/2502\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=\/wp\/v2\/media\/2503"}],"wp:attachment":[{"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thedigitalfortress.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}