MediumGHSA-rvmm-v933-jgxq
Craft CMS: Missing authorization check allows non-admin control panel users access to user registration metrics
Affected versions
4.0.0-RC1 to before 4.18.1, 5.0.0-RC1 to before 5.10.3 - fixed in 4.18.1Details
`ChartsController::actionGetNewUsersData()` at `/actions/charts/get-new-users-data` is missing a `requirePermission('viewUsers')` authorization check. Any authenticated control panel user, regardless of permissions beyond `accessCp`, can POST to this endpoint to receive time-series user registration counts for the entire site or for an arbitrary user group ID. The `viewUsers` permission is consistently required throughout the control panel before exposing user-related data, but this action enforces only the base `accessCp` check inherited from the framework. Each call returns the total count
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-14794
- https://github.com/craftcms/cms/security/advisories/GHSA-rvmm-v933-jgxq
- https://nvd.nist.gov/vuln/detail/CVE-2026-14794
- https://github.com/craftcms/cms/commit/9ee53efc1314e6aba32771c66a13e072a246f4ce
- https://github.com/craftcms/cms
- https://github.com/craftcms/cms/releases/tag/4.18.1
- https://github.com/craftcms/cms/releases/tag/5.10.3
- https://vuldb.com/cve/CVE-2026-14794
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected