Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32263: CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in craftcms cms

0
High
VulnerabilityCVE-2026-32263cvecve-2026-32263cwe-470
Published: Mon Mar 16 2026 (03/16/2026, 18:57:50 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: cms

Description

CVE-2026-32263 is a high-severity vulnerability in Craft CMS versions 5. 6. 0 through 5. 9. 10 involving unsafe reflection due to externally-controlled input. The vulnerability arises because the $settings array parsed from user input is passed directly to Craft::configure() without proper cleansing, allowing injection of Yii2 behavior or event handlers via specially crafted keys. Exploitation requires administrator-level permissions in the Craft control panel and the allowAdminChanges setting enabled. Successful exploitation could lead to remote code execution or unauthorized behavior manipulation within the CMS. The issue was patched in version 5. 9.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/24/2026, 01:02:39 UTC

Technical Analysis

CVE-2026-32263 is a vulnerability classified under CWE-470 (Use of Externally-Controlled Input to Select Classes or Code, also known as unsafe reflection) affecting Craft CMS versions from 5.6.0 up to but not including 5.9.11. The root cause lies in the handling of the $settings array within the src/controllers/EntryTypesController.php file, where input parsed via parse_str is passed directly to the Craft::configure() method without being sanitized by Component::cleanseConfig(). This improper input validation allows attackers with administrator privileges and the allowAdminChanges configuration enabled to inject malicious Yii2 behaviors or event handlers by using keys prefixed with "as" or "on". These keys correspond to Yii2’s dynamic behavior and event system, enabling attackers to manipulate the application’s runtime behavior or execute arbitrary code. The vulnerability does not require user interaction and can be exploited remotely over the network, but it does require high privileges (admin access) within the Craft CMS control panel. The vulnerability has a CVSS 4.0 base score of 8.6, reflecting its high impact on confidentiality, integrity, and availability, as well as ease of exploitation given the required privileges. The issue was addressed and patched in Craft CMS version 5.9.11. No public exploits have been reported yet, but the vulnerability’s nature and severity warrant immediate attention from organizations using affected versions.

Potential Impact

The impact of CVE-2026-32263 is significant for organizations using affected Craft CMS versions, especially those with multiple administrators or where the allowAdminChanges setting is enabled. An attacker who gains or already has administrator access can exploit this vulnerability to inject malicious behaviors or event handlers, potentially leading to remote code execution, unauthorized data access, or manipulation of CMS functionality. This can compromise the confidentiality, integrity, and availability of the affected web applications and their hosted content. Given Craft CMS’s use in various industries for website and content management, exploitation could lead to website defacement, data breaches, or pivoting to internal networks. Although exploitation requires admin privileges, the vulnerability lowers the barrier for attackers to escalate their control or maintain persistence. Organizations with publicly accessible Craft CMS control panels are at higher risk, especially if administrative credentials are weak or compromised. The lack of known exploits in the wild currently reduces immediate risk, but the high CVSS score and ease of exploitation with admin access make this a critical issue to address promptly.

Mitigation Recommendations

1. Upgrade Craft CMS to version 5.9.11 or later immediately to apply the official patch that addresses this vulnerability. 2. Restrict administrative access to the Craft CMS control panel by implementing strong authentication mechanisms such as multi-factor authentication (MFA) and IP whitelisting. 3. Disable the allowAdminChanges setting if it is not required, reducing the attack surface for this vulnerability. 4. Regularly audit and monitor administrator accounts and permissions to detect unauthorized access or privilege escalation attempts. 5. Implement web application firewalls (WAF) with rules to detect and block suspicious requests targeting the EntryTypesController.php or attempts to inject Yii2 behaviors. 6. Conduct code reviews and security testing on custom plugins or extensions that may interact with the configuration or behavior system to ensure they do not introduce similar unsafe reflection issues. 7. Maintain up-to-date backups and incident response plans to quickly recover in case of compromise. 8. Educate administrators about the risks of unsafe reflection and the importance of secure configuration management.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-11T15:05:48.397Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b859da771bdb17492b2da7

Added to database: 3/16/2026, 7:28:26 PM

Last enriched: 3/24/2026, 1:02:39 AM

Last updated: 4/30/2026, 5:43:09 PM

Views: 100

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses