Advisory record · GHSA-cc7p-2j3x-x7xf

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

CVSS 7.7 HighEPSS 0.097 · 95th percentile

Published by the GitHub Advisory Database at 16 Mar 2026, 18:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
craftcms/cmsPackagist>=4.0.0-RC1, <4.17.6 || >=5.0.0-RC1, <5.9.124.17.6, 5.9.12
Identifiers
GHSA-cc7p-2j3x-x7xf · CVE-2026-32267 · PKSA-s8c8-j6wr-t4ds
Weakness (CWE)
CWE-863
Published
16 Mar 2026
Updated
17 Mar 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Craft CMS versions 4.0.0-RC1 up to 4.17.6 and 5.0.0-RC1 up to 5.9.12 are vulnerable to a privilege escalation flaw in UsersController->actionImpersonateWithToken. A low-privilege user, or an unauthenticated user holding a shared preview URL, can use a valid preview token to reach the impersonation endpoint and log in as any user, including an admin. Upgrade to Craft 4.17.6 or 5.9.12.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.7 High 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.097, the 95th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.