The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-32264

CVE-2026-32264: Craft CMS Behavior Injection RCE Vulnerability

CVE-2026-32264 is a behavior injection remote code execution vulnerability in Craft CMS affecting versions 4.0.0-RC1 to 4.17.4 and 5.0.0-RC1 to 5.9.10. This article covers technical details, affected versions, and mitigation steps.

Published: March 20, 2026

CVE-2026-32264 Overview

Craft CMS, a popular content management system used by developers and digital agencies, contains a critical Behavior injection vulnerability that enables Remote Code Execution (RCE). The vulnerability exists in the ElementIndexesController and FieldsController components, affecting Craft CMS versions from 4.0.0-RC1 to before 4.17.5 and from 5.0.0-RC1 to before 5.9.11.

This vulnerability requires the attacker to have Craft control panel administrator permissions and the allowAdminChanges configuration option must be enabled. While these prerequisites limit the attack surface, successful exploitation allows an authenticated administrator to execute arbitrary code on the underlying server, potentially leading to complete system compromise.

Critical Impact

Authenticated administrators can leverage behavior injection in ElementIndexesController and FieldsController to achieve remote code execution, potentially compromising the entire web server and underlying infrastructure.

Affected Products

  • Craft CMS versions 4.0.0-RC1 through 4.17.4
  • Craft CMS versions 5.0.0-RC1 through 5.9.10
  • All Craft CMS installations with allowAdminChanges enabled

Discovery Timeline

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

Technical Details for CVE-2026-32264

Vulnerability Analysis

This vulnerability is classified as CWE-470 (Use of Externally-Controlled Input to Select Classes or Code), commonly known as behavior injection or unsafe reflection. The flaw exists in how Craft CMS processes configuration data within two critical controllers: ElementIndexesController and FieldsController.

The root cause lies in insufficient sanitization of user-controlled configuration arrays before they are passed to component instantiation methods. In PHP applications like Craft CMS, configuration arrays that specify class names or behavior definitions can be manipulated by attackers to instantiate arbitrary classes or execute malicious code when the framework attempts to configure components based on these arrays.

The vulnerability is exploitable over the network without requiring user interaction, though it does require high privileges (administrator access). Successful exploitation grants attackers complete control over the confidentiality, integrity, and availability of the affected system, enabling them to execute arbitrary commands, steal sensitive data, modify content, or deploy persistent backdoors.

Root Cause

The vulnerability stems from improper input validation when processing serialized condition configurations and field settings. The ElementIndexesController failed to properly sanitize condition configurations before creating condition objects, while the FieldsController did not cleanse settings before applying them via Craft::configure(). This allowed attackers to inject malicious class references or behavior definitions that would be executed during object instantiation.

Attack Vector

The attack is network-based and targets the Craft CMS control panel endpoints. An attacker with administrator credentials can craft malicious requests to the affected controllers, injecting specially crafted configuration data that specifies arbitrary classes or code to be executed. The attack requires:

  1. Valid administrator credentials for the Craft CMS control panel
  2. The allowAdminChanges configuration option must be set to true
  3. Network access to the Craft CMS admin panel endpoints

The following patch shows how the vulnerability was addressed in ElementIndexesController.php:

php
         $conditionsService = Craft::$app->getConditions();
 
+        if (!$conditionConfig && $serialized) {
+            parse_str($serialized, $conditionConfig);
+            $conditionConfig = $conditionConfig['condition'];
+        }
+
         if ($conditionConfig) {
             $conditionConfig = Component::cleanseConfig($conditionConfig);
             /** @var ElementConditionInterface $condition */
             $condition = $conditionsService->createCondition($conditionConfig);
-        } elseif ($serialized) {
-            parse_str($serialized, $conditionConfig);
-            /** @var ElementConditionInterface $condition */
-            $condition = $conditionsService->createCondition($conditionConfig['condition']);
         } else {
-            /** @var ElementConditionInterface $condition */
             $condition = $this->elementType()::createCondition();
         }

Source: GitHub Commit

The fix ensures that Component::cleanseConfig() is called on all condition configurations before they are passed to createCondition(), preventing malicious class injection.

Similarly, the FieldsController.php was patched:

php
                 }
             }, ARRAY_FILTER_USE_KEY);
 
+            $settings = Component::cleanseConfig($settings);
             Typecast::properties($type, $settings);
             Craft::configure($field, $settings);
         }

Source: GitHub Commit

Detection Methods for CVE-2026-32264

Indicators of Compromise

  • Unusual POST requests to /admin/element-indexes/* or /admin/fields/* endpoints containing serialized data with unexpected class references
  • Web server logs showing malformed condition configurations or field settings with injected class names
  • Unexpected PHP processes spawned by the web server user after admin panel interactions
  • File system changes or new files created in unexpected locations following administrative actions

Detection Strategies

  • Monitor HTTP request bodies to Craft CMS admin endpoints for suspicious class names or behavior injection patterns
  • Implement Web Application Firewall (WAF) rules to detect serialized PHP object injection attempts
  • Enable detailed application logging and audit all administrative actions within Craft CMS
  • Deploy file integrity monitoring on the Craft CMS installation directory to detect unauthorized modifications

Monitoring Recommendations

  • Configure alerting for any requests to the affected controller endpoints that contain unusual parameters or serialized data
  • Review administrator access logs regularly for accounts accessing element indexes or field configuration endpoints
  • Implement runtime application self-protection (RASP) to detect and block behavior injection attempts
  • Monitor system process creation events for child processes spawned by the PHP runtime in the context of web requests

How to Mitigate CVE-2026-32264

Immediate Actions Required

  • Upgrade Craft CMS to version 4.17.5 or later for version 4.x installations
  • Upgrade Craft CMS to version 5.9.11 or later for version 5.x installations
  • Set allowAdminChanges to false in production environments as an immediate mitigation if patching is delayed
  • Audit administrator accounts and remove unnecessary administrative access
  • Review recent administrative activity logs for signs of exploitation

Patch Information

Craft CMS has released security patches addressing this vulnerability. The fixes are included in versions 4.17.5 and 5.9.11. Organizations should apply the appropriate patch based on their Craft CMS version branch.

Detailed information about the vulnerability and patches can be found in the GitHub Security Advisory GHSA-4484-8v2f-5748 and GitHub Security Advisory GHSA-7jx7-3846-m7w7.

Workarounds

  • Disable allowAdminChanges in production by setting it to false in your config/general.php file
  • Restrict access to the Craft CMS control panel using IP allowlisting at the network or web server level
  • Implement additional authentication factors for administrator accounts
  • Deploy a Web Application Firewall with rules to block serialized object injection patterns
bash
# Configuration example - Disable allowAdminChanges in config/general.php
# Add or modify the following setting:
'allowAdminChanges' => false,

# Or use environment-based configuration:
'allowAdminChanges' => App::env('CRAFT_ALLOW_ADMIN_CHANGES') ?? false,

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCraft Cms

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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-470
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Security Advisory

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33157: Craftcms Craft CMS RCE Vulnerability

  • CVE-2026-32261: Webhooks for Craft CMS RCE Vulnerability

  • CVE-2026-31857: Craft CMS RCE Vulnerability

  • CVE-2026-28783: Craft CMS RCE Vulnerability
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