Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32267

CVE-2026-32267: Craft CMS Privilege Escalation Vulnerability

CVE-2026-32267 is a privilege escalation vulnerability in Craft CMS allowing low-privilege or unauthenticated users to gain admin access. This article covers technical details, affected versions, impact, and mitigation.

Published: March 20, 2026

CVE-2026-32267 Overview

CVE-2026-32267 is a privilege escalation vulnerability affecting Craft CMS, a popular content management system. This vulnerability allows low-privilege users or unauthenticated users who have received a shared URL to escalate their privileges to administrator level by abusing the UsersController->actionImpersonateWithToken functionality. The flaw stems from improper authorization checks (CWE-863) that fail to properly validate token usage before granting elevated access.

Critical Impact

Low-privilege or unauthenticated users can gain full administrative access to Craft CMS installations, potentially leading to complete site compromise, data theft, and unauthorized content manipulation.

Affected Products

  • Craft CMS versions 4.0.0-RC1 through 4.17.5
  • Craft CMS versions 5.0.0-RC1 through 5.9.11
  • All installations using the impersonation token feature

Discovery Timeline

  • 2026-03-16 - CVE-2026-32267 published to NVD
  • 2026-03-17 - Last updated in NVD database

Technical Details for CVE-2026-32267

Vulnerability Analysis

This privilege escalation vulnerability exists in the Craft CMS user impersonation mechanism. The actionImpersonateWithToken function in the UsersController fails to properly validate whether an impersonation token has already been consumed or if it should still be valid for reuse. This allows an attacker with access to a shared URL containing an impersonation token to abuse the token repeatedly or in unintended contexts, ultimately escalating their privileges to administrator level.

The vulnerability is particularly dangerous because it can be exploited by unauthenticated users if they have been sent a shared URL containing a valid token. This extends the attack surface beyond authenticated low-privilege users to include anyone who can intercept or obtain such URLs.

Root Cause

The root cause is classified as CWE-863 (Incorrect Authorization). The vulnerable code in src/helpers/UrlHelper.php failed to check if a token still had remaining usages before including it in generated URLs. The system would propagate tokens through URL generation without verifying their validity status, allowing tokens that should have been single-use to be reused for privilege escalation.

Attack Vector

The attack is network-based and exploits the impersonation token functionality within Craft CMS. An attacker can leverage shared URLs containing impersonation tokens to bypass authorization controls:

  1. Obtain a shared URL containing an impersonation token (through legitimate sharing, interception, or social engineering)
  2. Access the URL to trigger the actionImpersonateWithToken function
  3. The system fails to properly validate token usage, granting administrative privileges
  4. Attacker gains full administrative access to the CMS

The patch introduced validation logic to check remaining token usages before including tokens in URLs:

php
// Security patch in src/helpers/UrlHelper.php
                $params[$generalConfig->siteToken] = $siteToken;
            }
            if ($request->getIsSiteRequest()) {
-                if ($addToken && !isset($params[$generalConfig->tokenParam]) && ($token = $request->getToken()) !== null) {
+                if (
+                    $addToken &&
+                    !isset($params[$generalConfig->tokenParam]) &&
+                    ($token = $request->getToken()) !== null &&
+                    Craft::$app->getTokens()->getRemainingTokenUsages($token) !== 0
+                ) {
                    $params[$generalConfig->tokenParam] = $token;
                }
+
                if (
                    !isset($params['x-craft-preview']) &&
                    !isset($params['x-craft-live-preview']) &&

Source: GitHub Commit 6301e21

The fix also added token usage tracking in src/services/Tokens.php:

php
// Security patch in src/services/Tokens.php
     */
    private bool $_deletedExpiredTokens = false;

+    /**
+     * @var array<string,int|null>
+     * @see getRemainingTokenUsages()
+     */
+    private array $_remainingTokenUsages = [];
+
    /**
     * Creates a new token and returns it.
     * ---

Source: GitHub Commit 6301e21

Detection Methods for CVE-2026-32267

Indicators of Compromise

  • Unexpected administrative actions in Craft CMS audit logs from low-privilege or unauthenticated sessions
  • Multiple requests to actionImpersonateWithToken endpoints from the same token value
  • Unusual user privilege changes or new administrator accounts being created
  • Access logs showing repeated use of URLs containing tokenParam parameters

Detection Strategies

  • Monitor web server logs for requests containing impersonation token parameters with repeated usage patterns
  • Implement alerting on privilege escalation events within Craft CMS user management
  • Review authentication logs for session changes where users gain administrative access without proper authorization flow
  • Deploy web application firewall rules to flag suspicious token reuse attempts

Monitoring Recommendations

  • Enable comprehensive audit logging within Craft CMS to track all administrative actions
  • Configure alerts for any user impersonation events, especially those involving privilege elevation
  • Monitor for unusual patterns in shared URL access, particularly those with embedded tokens
  • Implement session monitoring to detect sudden privilege level changes

How to Mitigate CVE-2026-32267

Immediate Actions Required

  • Upgrade Craft CMS version 4.x installations to version 4.17.6 or later immediately
  • Upgrade Craft CMS version 5.x installations to version 5.9.12 or later immediately
  • Audit administrative accounts for any unauthorized access or recent changes
  • Invalidate all existing impersonation tokens and review shared URLs

Patch Information

Craft CMS has released security patches that address this vulnerability. The fix implements proper token usage validation before including tokens in generated URLs by calling getRemainingTokenUsages() to verify the token hasn't been exhausted. The patches are available in versions 4.17.6 and 5.9.12. For detailed information, refer to the GitHub Security Advisory GHSA-cc7p-2j3x-x7xf and the security commit.

Workarounds

  • Disable user impersonation functionality if not required for business operations until patching is complete
  • Implement network-level access controls to restrict administrative interface access to trusted IP ranges
  • Review and revoke any previously shared URLs that may contain impersonation tokens
  • Enable multi-factor authentication for all administrative accounts as a defense-in-depth measure
bash
# Upgrade Craft CMS using Composer
composer update craftcms/cms --with-dependencies

# Verify installed version after upgrade
./craft version
# Expected output for 5.x: Craft CMS 5.9.12 or higher
# Expected output for 4.x: Craft CMS 4.17.6 or higher

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechCraft Cms

  • SeverityHIGH

  • CVSS Score7.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-863
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32263: Craft CMS Privilege Escalation Vulnerability

  • CVE-2026-25497: Craft CMS GraphQL Privilege Escalation

  • CVE-2026-41129: Craft CMS SSRF Vulnerability

  • CVE-2026-41130: Craft CMS SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English