CMS
Craft CMS before 4.18.6 Remote Code Execution via signed cookie
Craft CMS 4.8.0 through 4.18.5 and 5.0.0 through 5.10.12 sign an authenticated user's attacker-controlled license-shun cookie with the same key and format used to validate signed redirect parameters, because the HMAC signature is not bound to its purpose (Yii's cookieValidationKey is derived from the same Craft securityKey used for signed request parameters). An authenticated, non-administrator user (Control Panel access is not required) can set the cookie via the license-shun endpoint and transplant the signed envelope into the redirect parameter; on a successful login, Craft validates the signature and renders the authenticated bytes as an unsandboxed Twig template, where Twig's map filter accepts a string callback and allows PHP system() to execute arbitrary operating-system commands as the web-server user. Exploitation requires an account using password authentication without active 2FA, the default request configuration, and availability of PHP system(). The issue is fixed in 4.18.6 and 5.10.13.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.8.0, < 4.18.6
Fixed in 4.18.6
- >= 5.0.0, < 5.10.13
Fixed in 5.10.13
Mitigation
Upgrade cms to 4.18.6 or later.
Upgrade cms to 5.10.13 or later.
References
- Vendor advisory github.com/craftcms/cms/security/advisories/GH…
Timeline
Days relative to CVE publicationFirst public PoC 16 days after publication; not in CISA KEV. First PoC: godylockz/CVE-2026-92592 (created 3 Oct 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| godylockz/CVE-2026-92592 | 3 Oct 2026 +16 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /admin/actions/app/set-license-shun-cookie
- Body markers
CRAFT_CSRF_TOKEN=hash={{[inapplication/x-www-form-urlencoded- Seen in
- 1 repo: godylockz/CVE-2026-92592
- Evidence
- godylockz/CVE-2026-92592/craftcms_rce.py:103
POST /admin/actions/users/login
- Key headers
Accept: text/html- Body markers
CRAFT_CSRF_TOKEN=action=users/loginloginName=loginPassword=username=password=redirect=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: godylockz/CVE-2026-92592
- Evidence
- godylockz/CVE-2026-92592/craftcms_rce.py:78 godylockz/CVE-2026-92592/craftcms_rce.py:127
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/admin/actions/app/set-license-shun-cookie(?:[?#].*)?$
(?i)^/admin/actions/users/login(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-92592 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/actions/app/set-license-shun-cookie"; http.request_body; content:"CRAFT_CSRF_TOKEN="; http.request_body; content:"hash={{["; reference:url,poc.griffinguard.io/cve/CVE-2026-92592; classtype:web-application-attack; sid:9675483; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-92592 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/actions/users/login"; http.header; content:"Accept: text/html"; nocase; http.request_body; content:"CRAFT_CSRF_TOKEN="; http.request_body; content:"action=users/login"; http.request_body; content:"loginName="; http.request_body; content:"loginPassword="; http.request_body; content:"username="; http.request_body; content:"password="; http.request_body; content:"redirect="; reference:url,poc.griffinguard.io/cve/CVE-2026-92592; classtype:web-application-attack; sid:9556219; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: craftcms cms exploit attempt (CVE-2026-92592)
id: gg-pocmon-cve-2026-92592-9675483
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-92592. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-92592
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/admin/actions/app/set-license-shun-cookie'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.92592
title: craftcms cms exploit attempt (CVE-2026-92592)
id: gg-pocmon-cve-2026-92592-9556219
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-92592. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-92592
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/admin/actions/users/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.92592