MediumGHSA-9p7c-v5x3-rfx8CVE-2026-14793

Craft CMS: Missing authorization check allows non-admin control panel users to reorder Global Sets

Published 6 Aug 2026 · Updated 6 Aug 2026

Affected packages

craftcms/cmsComposer
Affected
>=4.0.0-RC1 <4.18.1
Fixed in
4.18.1
Update to the fixed version for your release line, for example:composer require craftcms/cms:^4.18.1
craftcms/cmsComposer
Affected
>=5.0.0-RC1 <5.10.3
Fixed in
5.10.3
Update to the fixed version for your release line, for example:composer require craftcms/cms:^5.10.3

Details

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().

Is GHSA-9p7c-v5x3-rfx8 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected craftcms/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.