All vulnerabilities

Servers and applications

GHSA-5jmw-g85v-7jv2

Incomplete fix for CVE-2026-55794: authenticated unsandboxed Twig SSTI RCE

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

Description

A low-privilege authenticated Craft control-panel user can achieve Remote Code Execution. The fix for CVE-2026-55794 left the sink Controller::getPostedRedirectUrl() -> View::renderObjectTemplate() UNSANDBOXED, and the same fix commit introduced a new self-signing oracle in Cp::elementLabelHtml().

Because Craft/Yii HMAC tokens are not bound to a parameter name, a token minted over attacker-controlled Twig for returnUrl can be replayed as the redirect POST param to reach the unsandboxed sink -> authenticated RCE.

Authenticated Remote Code Execution (arbitrary PHP via unsandboxed Twig) is achievable by a low-privilege control panel user with edit rights on a single element type - a privilege escalation to full server compromise. This is the identical sink the maintainer classifies as RCE for the seed CVE-2026-55794.

Report ID: 1560

From craftcms/cms's security advisory.

Affected software

SoftwareAffected versions
Craft CMSServers and applications · github:craftcms/cms
  • From 5.10.0 before 5.10.13

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