The analysis of the security patch for CVE-2026-7500 reveals a forced browsing vulnerability in Keycloak. The root cause was the failure to properly disable all Account REST API endpoints when the feature was turned off. The provided commit e52d0501f94d912ad808ca15700d9fd62a92d46a directly addresses this issue. The key change is in services/src/main/java/org/keycloak/services/resources/account/AccountLoader.java, where the getAccountRestService method is modified. This method acts as a gateway to the versioned Account REST API. The patch introduces a call to checkAccountApiEnabled() within this method. Previously, this check was missing, allowing the creation and use of the AccountRestService even when the feature was disabled. This exposed several read/write endpoints under /account/v1alpha1. Therefore, the getAccountRestService function is identified as the vulnerable function because it was the entry point that failed to enforce the security control (i.e., checking if the feature was enabled), leading to the vulnerability.