Moderate severityNVD Advisory· Published Mar 24, 2026· Updated Mar 24, 2026
Craft CMS: Unauthenticated users could execute project configuration sync operations that should be restricted trusted users
CVE-2026-33159
Description
Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.8 and from version 5.0.0-RC1 to before version 5.9.14, 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. This issue has been patched in versions 4.17.8 and 5.9.14.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 5.0.0-RC1, < 5.9.14 | 5.9.14 |
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.17.8 | 4.17.8 |
Affected products
1Patches
17f0ead833f7cFixed GHSA-6mrr-q3pj-h53w
2 files changed · +16 −0
CHANGELOG.md+4 −0 modified@@ -1,5 +1,9 @@ # Release Notes for Craft CMS 4 +## Unreleased + +- Fixed a [moderate-severity](https://github.com/craftcms/cms/security/policy#severity--remediation) access control vulnerability. (GHSA-6mrr-q3pj-h53w) + ## 4.17.7 - 2026-02-24 - The `PDO::MYSQL_ATTR_MULTI_STATEMENTS` attribute is now set to `false` by default for database connections.
src/controllers/ConfigSyncController.php+12 −0 modified@@ -32,6 +32,18 @@ class ConfigSyncController extends BaseUpdaterController public const ACTION_UNINSTALL_PLUGIN = 'uninstall-plugin'; public const ACTION_INSTALL_PLUGIN = 'install-plugin'; + protected array|bool|int $allowAnonymous = self::ALLOW_ANONYMOUS_NEVER; + + public function beforeAction($action): bool + { + if (!parent::beforeAction($action)) { + return false; + } + + $this->requireAdmin(false); + return true; + } + /** * Re-kicks off the sync, after the user has had a chance to run `composer install` *
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- github.com/advisories/GHSA-6mrr-q3pj-h53wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-33159ghsaADVISORY
- github.com/craftcms/cms/commit/7f0ead833f7c2b91ae12003caad833479dd08592ghsax_refsource_MISCWEB
- github.com/craftcms/cms/releases/tag/4.17.8ghsax_refsource_MISCWEB
- github.com/craftcms/cms/releases/tag/5.9.14ghsax_refsource_MISCWEB
- github.com/craftcms/cms/security/advisories/GHSA-6mrr-q3pj-h53wghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.