When Keycloak is started with --features-disabled=account,account-api, the Account REST API is only partially disabled. Five endpoints under the versioned path /account/v1alpha1 remain fully functional — including both read and write operations — because they lack the checkAccountApiEnabled() gate that correctly blocks four other endpoints in the same REST service class. The user needs to have permissions to use the API.
{
"cwe_ids": [
"CWE-425"
],
"github_reviewed": true,
"github_reviewed_at": "2026-05-07T00:07:16Z",
"nvd_published_at": "2026-04-30T15:16:23Z",
"severity": "MODERATE"
}