Skip to content
OpenAdvisories
High · 7.7 CVE-2026-32267 EUVD-2026-12508GHSA-cc7p-2j3x-x7xf

Craft CMS Vulnerable to Privilege Escalation/Bypass through UsersController->actionImpersonateWithToken()

Published Mar 16, 2026 · Updated Mar 18, 2026 · Assigned by GitHub_M

Description

Craft CMS is a content management system (CMS). From version 4.0.0-RC1 to before version 4.17.6 and from version 5.0.0-RC1 to before version 5.9.12, a low-privilege user (or an unauthenticated user who has been sent a shared URL) can escalate their privileges to admin by abusing UsersController->actionImpersonateWithToken. This issue has been patched in versions 4.17.6 and 5.9.12.

Affected products

VendorProductAffectedFixed
craftcms cms >= 4.0.0-RC1, < 4.17.6, >= 5.0.0-RC1, < 5.9.12 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist craftcms/cms >= 4.0.0-RC1, < 4.17.6 4.17.6 GHSA-cc7p-2j3x-x7xf
Packagist craftcms/cms >= 5.0.0-RC1, < 5.9.12 5.9.12 GHSA-cc7p-2j3x-x7xf

References