All vulnerabilities

Servers and applications

GHSA-5m2g-hhqr-84pc

Missing cleanseConfig in "AppController::actionCacheUpdates" allows behavior-injection RCE

Severity
High
Published
22 Sept 2026
Last changed
22 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.18.7, 5.10.14
Weakness
Code injection (CWE-94)
Sources
Project advisories (GitHub)

Description

Missing cleanseConfig in AppController::actionCacheUpdates allows behavior-injection RCE by non-admin control panel users

AppController::actionCacheUpdates() (src/controllers/AppController.php:188+) passes the raw request body parameter updates directly into new UpdatesModel($updateData) (src/services/Updates.php:128) with no Component::cleanseConfig() anywhere on the chain. The UpdatesModel constructor forwards all top-level keys through App::configure() → Yii Component::__set, so attacker-supplied as behavior-attachment keys and on handler-registration keys reach Yii::createObject() / event-handler registration → arbitrary object instantiation and event execution (the RCE class Craft has accepted across GHSA-86vw-x4ww-x467, GHSA-2fph-6v5w-89hh, GHSA-qrgm-p9w5-rrfw).

Requires a non-admin control panel user with the performUpdates permission or Updates-utility access.

From craftcms/cms's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Craft CMSServers and applications · github:craftcms/cms
  • From 4.0.0 before 4.18.7
  • From 5.0.0 before 5.10.14

About Craft CMS

Build bespoke content experiences with Craft.

From its GitHub repository.
Monthly downloads (Packagist)
79,322Packagist, 15 Nov 2026
Total downloads (Packagist)
3,879,755Packagist, 15 Nov 2026
GitHub stars
3,628GitHub, 15 Nov 2026
Forks
713GitHub, 15 Nov 2026
Latest release
5.12.1GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
27 Jan 2017GitHub

Release lines

ReleaseLatestSecurity fixes
55.12.1Until 31 Dec 2031
44.18.9Ended 30 Apr 2026
33.9.15Ended 30 Apr 2024
22.9.2Ended 31 Jan 2022

From endoflife.date.

References