Craft CMS: Unauthenticated Users Can Perform Restricted Project Config Sync Operations
Published 24 Mar 2026 · Updated 25 Mar 2026
Affected packages
- Affected
- >=5.0.0-RC1 <5.9.14
- Fixed in
- 5.9.14
composer require craftcms/cms:^5.9.14- Affected
- >=4.0.0-RC1 <4.17.8
- Fixed in
- 4.17.8
composer require craftcms/cms:^4.17.8Details
Summary
Guest users can access Config Sync updater index, obtain signed data, and execute state-changing Config Sync actions (regenerate-yaml, apply-yaml-changes) without authentication.
Details
ConfigSyncController extends BaseUpdaterController, and the base updater is anonymously accessible for control panel requests. index emits signed updater state (data), which can be reused by guests in subsequent requests.
Sensitive actions that are reachable via this method are actionApplyYamlChanges, actionRegenerateYaml, applyExternalChanges, and regenerateExternalConfig.
Reproduction steps
1. Guest POST to:
http POST /admin/actions/config-sync/index
2. Extract data from returned JS state:
Craft.updater = ... setState({"data":"<signedData>", ...});
3. Reuse data as a guest:
POST /admin/actions/config-sync/regenerate-yaml data=<signedData>&<csrfParam>=<csrfToken>
or
POST /admin/actions/config-sync/apply-yaml-changes data=<signedData>&<csrfParam>=<csrfToken>
4. Observe completed response and state/file changes.
Impact
Unauthenticated users can execute project configuration sync operations that should be restricted to trusted admin/deployment contexts.
Depending on the pending YAML/config state, this can cause unauthorized config state transitions and a service integrity risk.
Resources
https://github.com/craftcms/cms/commit/7f0ead833f7
Is GHSA-6mrr-q3pj-h53w 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
- Linkgithub.com/craftcms/cms/security/advisories/GHSA-6mrr-q3pj-h53w
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-33159
- Linkgithub.com/craftcms/cms/commit/7f0ead833f7c2b91ae12003caad833479dd08592
- Packagegithub.com/craftcms/cms
- Linkgithub.com/craftcms/cms/releases/tag/4.17.8
- Linkgithub.com/craftcms/cms/releases/tag/5.9.14
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.