All vulnerabilities

Servers and applications

GHSA-5r92-75j8-c534

Authenticated RCE through signed-cookie/redirect confusion

Severity
High
Published
1 Sept 2026
Last changed
1 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
4.18.6, 5.10.13
Weakness
Server-side template injection (CWE-1336)
Sources
Project advisories (GitHub)

Description

Craft signs an authenticated user’s attacker-controlled license-shun cookie with the same key and format used to validate signed redirect parameters. The cookie envelope can therefore be transplanted into redirect.

On a successful login, Craft validates the signature and renders the authenticated bytes as unsandboxed Twig, allowing PHP system() to execute an arbitrary command. A non-administrator account is sufficient; access to the Control Panel is not required.

  • A valid Craft account using password authentication and without active 2FA.
  • The account can access the live site, or has accessSiteWhenSystemIsOff while the system is offline.
  • The default request configuration is used, so cookieValidationKey and signed request parameters use Craft’s securityKey.
  • PHP system() and the server's sh and base64 commands are available.
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.8.0 before 4.18.6
  • From 5.0.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