Advisory

GHSA-rvmm-v933-jgxq

Also known as: CVE-2026-14794

Summary

Craft CMS: Missing authorization check allows non-admin control panel users access to user registration metrics

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-08-06 21:42 UTC
Modified
2026-08-31 19:55 UTC

Affected packages and fixes

craftcms/cms

Packagist · All systems

Affected

  • introduced 4.0.0-RC1, fixed 4.18.1 (ecosystem)

Fixed versions

4.18.1

Fix

The export has no generic command for this ecosystem.

craftcms/cms

Packagist · All systems

Affected

  • introduced 5.0.0-RC1, fixed 5.10.3 (ecosystem)

Fixed versions

5.10.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences