Craft CMS: Missing authorization check allows non-admin control panel users access to user registration metrics
`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 of users who joined the specified group in the requested period. ## Impact Any control panel user with only `accessCp` permission can obtain the total number of registered users and their registration date distribution across any time window. In installations with multiple editor roles, this allows a low-privilege control panel user to infer user group sizes and registration trends that would normally require the `viewUsers` permission to access. No user PII (name, email, password) is disclosed; only aggregate counts and timestamps are returned. Confidentiality impact is low. No integrity or availability impact.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-14794US | —OT elevated | — | ||
A flaw has been found in Craft CMS up to 4.18.0.1. Affected by this vulnerability is the function actionGetNewUsersData of the file src/controllers/ChartsController.php of the comp… | ||||
references
External citations — patches, advisories, analysis.
- https://github.com/craftcms/cmsPACKAGE
- https://github.com/craftcms/cms/commit/9ee53efc1314e6aba32771c66a13e072a246f4ceWEB
- https://github.com/craftcms/cms/releases/tag/4.18.1WEB
- https://github.com/craftcms/cms/releases/tag/5.10.3WEB
- https://github.com/craftcms/cms/security/advisories/GHSA-rvmm-v933-jgxqWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-14794ADVISORY
- https://vuldb.com/cve/CVE-2026-14794WEB
- https://vuldb.com/submit/850793WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan