PT-2026-70178 · Craft Cms · Craft Cms

·

CVE-2026-72778

·

Published

2026-08-06

·

Updated

2026-08-14

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Craft CMS versions 4.0.0-RC1 through 4.18.1 Craft CMS versions 5.0.0-RC1 through 5.10.5
Description An authenticated remote code execution issue exists in the control panel element-search condition handling. The software uses Component::cleanseConfig() to cleanse the outer request-controlled condition array, but the Conditions::createCondition() function subsequently decodes and merges the JSON string in condition.config without re-applying the cleansing process. This allows special configuration keys, such as as ... and on ..., to be hidden within the JSON string. Upon decoding, these keys are interpreted as behavior or event configurations during the creation of the FieldLayout object. An attacker with a valid control panel session and a CSRF token can exploit this to execute operating system commands with the privileges of the PHP/web user.
Recommendations Update to version 4.18.2 or later. Update to version 5.10.6 or later.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-72778
GHSA-265M-7826-WJQM
GHSA-W36C-QXRQ-V7FW

Affected Products

Craft Cms