Craft CMS: Missing authorization check allows non-admin control panel users to reorder Global Sets
Impact
The reorder-sets action in Craft CMS’s GlobalsController is missing the requireAdmin() check that the adjacent save-set and delete-set actions both enforce. Any authenticated control panel user can POST to /actions/globals/reorder-sets and permanently reorder all global sets in the project config, regardless of whether they have admin access. The reordering is written through to the project config and persists across requests.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 4.0.0-RC1 before 4.18.1Ecosystem versions | 4.18.1 |
| From 5.0.0-RC1 before 5.10.3Ecosystem versions | 5.10.3 |
Version evidence: OSV · GHSA-9p7c-v5x3-rfx8
View original version evidence (425 explicit versions)
Original source description
The reorder-sets action in Craft CMS’s GlobalsController is missing the requireAdmin() check that the adjacent save-set and delete-set actions both enforce. Any authenticated control panel user can POST to /actions/globals/reorder-sets and permanently reorder all global sets in the project config, regardless of whether they have admin access. The reordering is written through to the project config and persists across requests.
Description
GlobalsController exposes three administrative actions for managing global set structure. Two of them gate on admin status; the third does not.
Prerequisites
- A Craft CMS instance with at least two global sets and a non-admin control panel user account.
Impact
A non-admin control panel user can reorder all global sets. While this does not expose or modify content, reordering global sets modifies the project config -- a versioned artifact that is typically committed to source control and deployed across environments. An attacker can create noise in the project config history, trigger config-sync conflicts, or manipulate the display order seen by all editors in the admin panel. The same non-admin user cannot create or delete global sets because those actions correctly enforce requireAdmin().
References
- Security advisory github.com/craftcms/cms/security/advisories/GHSA-9p7c-v5x3-rfx8
- Security advisory nvd.nist.gov/vuln/detail/CVE-2026-14793
- Patch github.com/craftcms/cms/commit/9bd05c91e6a7e6da5e949ec41a31c220c059aa04
- Source reference github.com/craftcms/cms
- Release notes github.com/craftcms/cms/releases/tag/4.18.1
- Release notes github.com/craftcms/cms/releases/tag/5.10.3
- Security advisory vuldb.com/cve/CVE-2026-14793
- Source reference vuldb.com/submit/850792
- Security advisory vuldb.com/vuln/376387