CVE-2026-121980: Role membership of other users disclosed to any backend user
Missing authorization in the role check REST endpoint (GET /api/v1/roles/checkuserroles/userid/{userId}/roleids/{roleIds}, RoleResource#checkRoles) and the equivalent legacy DWR method UserAjax.hasUserRoles in dotCMS before 26.11.02-01, and in 25.07.10 LTS before v26, allows any authenticated backend user, including one with no portlets and no content permissions, to learn whether any other user holds a given role, such as CMS Administrator. This lets a low-privileged user identify the administrator accounts to target. Anonymous and front-end users cannot reach these methods.
Fixed in 26.11.02-01 and later, and in 25.07.10 LTS v26. A user can still check their own roles; checking another user's roles now requires the CMS Administrator role or access to both the Roles and Users portlets.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
dotCMSto a version that resolves this vulnerability.Fixed in 26.11.02-01 - Upgrade
Upgrade
dotCMSto a version that resolves this vulnerability.Fixed in v26
Event History
Frequently Asked Questions
Who can exploit this issue?
Any authenticated dotCMS backend user can exploit it, including a user with no portlets and no content permissions. Anonymous users and front-end users cannot access the affected methods.
What information can an attacker obtain?
An affected backend user can determine whether another user has a specified role, including the CMS Administrator role. This can help identify administrator accounts for follow-on targeting.
Which deployments are affected and which releases fix it?
The issue affects dotCMS releases before 26.11.02-01 and 25.07.10 LTS releases before v26. It is fixed in 26.11.02-01 and later, and in 25.07.10 LTS v26.
What access is required after applying the fix?
Users can still check their own roles. Checking another user's roles requires the CMS Administrator role or access to both the Roles and Users portlets.