Skip to main content

Craft CMS CVE-2026-92592

| EUVDEUVD-2026-81292 HIGH
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-09-16 disclosure@vulncheck.com GHSA-24f9-r76v-62p8
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-priv Craft user
  2. Delivery
    Call license-shun endpoint to mint signed cookie
  3. Exploit
    Transplant signed envelope into login redirect param
  4. Execution
    Signature validated, bytes rendered as unsandboxed Twig
  5. Persist
    map filter invokes PHP system()
  6. Impact
    Execute OS commands as web-server user

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Exploitation requires an authenticated Craft user account (Control Panel/admin rights NOT required - any non-administrator front-end account suffices) that uses password authentication WITHOUT active two-factor authentication. The target must run the DEFAULT Craft request configuration, and the PHP system() function must be callable (not disabled via disable_functions or a restrictive PHP policy). The specific abuse path is the license-shun endpoint, which signs a cookie with the same key/format used to validate signed redirect parameters; the attacker transplants that signed envelope into the login redirect parameter to trigger unsandboxed Twig rendering. Limiting factors that reduce real-world exposure: enforced/active 2FA blocks the required account state; a non-default request configuration or PHP environments with system() disabled neutralize the RCE; the requirement for a valid low-privilege account (rather than fully unauthenticated) narrows the attacker pool.

Impact

This is a genuine high-priority vulnerability, not a high-CVSS-but-low-real-risk issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VC:H/VI:H/VA:H, score 8.7) describes a fully-remote, low-complexity path to arbitrary OS command execution as the web-server user by any authenticated non-administrator - Control Panel access is explicitly NOT required, which dramatically widens the eligible attacker pool (any member/editor account on a Craft site with front-end login). The technical impact is total (full RCE), and the root cause is a clean cryptographic design flaw (HMAC signature not bound to its purpose, CWE-1336: same Craft securityKey backs Yii's cookieValidationKey and signed request parameters), making it deterministic rather than probabilistic to exploit once understood. Countervailing signals lower the URGENCY somewhat: no CISA KEV listing (not confirmed actively exploited), no public POC referenced in the supplied data, and no EPSS score provided - so this reflects disclosed-but-not-yet-weaponized status. Real exploitation is also gated by three concrete non-CVSS conditions (an account using password auth WITHOUT active 2FA, the default request configuration, and PHP system() being callable), which meaningfully reduce the exploitable population on hardened deployments. Net: treat as a priority patch for any multi-user Craft install, especially those without enforced 2FA or with permissive PHP; the absence of KEV/POC lowers immediacy but not the intrinsic severity.

Exploit ScenarioDerived

An attacker who holds (or registers/phishes) any low-privilege Craft user account without 2FA calls the license-shun endpoint to obtain a validly signed cookie envelope, then transplants that signed value into the login redirect parameter. Because the same key validates both, Craft accepts the signature and renders the attacker-supplied bytes as an unsandboxed Twig template, where the map filter's string callback invokes PHP system() to run OS commands as the web-server user. No public POC is referenced in the supplied data, but the mechanism is fully described and deterministic.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 16, 2026

Remote code execution in Craft CMS 4.8.0 through 4.18.5 and 5.0.0 through 5.10.12 lets any authenticated non-administrator user - Control Panel access is not required - run arbitrary operating-system commands as the web-server user. Craft signs the attacker-controlled license-shun cookie with the same key and format it uses to validate signed redirect parameters (the signature is not bound to its purpose), so the attacker can transplant that signed envelope into the login redirect parameter; on a successful login Craft accepts the signature and renders the attacker-supplied bytes as an unsandboxed Twig template, where Twig's map filter accepts a string callback and reaches PHP system(). Exploitation requires a password-authenticated account without active 2FA, the default request configuration, and a callable PHP system(); there is no public exploit code identified at time of analysis, and the flaw is fixed in 4.18.6 and 5.10.13. The high severity score reflects full confidentiality, integrity, and availability impact at the application level once the preconditions are met.

RemediationAI

Upgrade Craft CMS to 4.18.6 (4.x train) or 5.10.13 (5.x train) - these are the vendor-released fixed versions - and confirm the running build after deployment; the vendor advisory GHSA-5r92-75j8-c534 documents the correction. Because the exploit path depends on specific preconditions, the following compensating controls are worth applying during the patch window and as hardening afterwards. Enforce two-factor authentication for every account, including low-privilege front-end users: active 2FA blocks the required password-only account state and neutralizes the attack, at the cost of enrollment overhead and possible friction for programmatic or legacy logins. Disable system() (and sibling execution functions) via PHP's disable_functions, or run Craft under a restrictive PHP policy or open_basedir/container sandbox; this removes the final sink, at the trade-off of breaking plugins, image tooling, or console tasks that legitimately shell out. Review the request configuration and, if feasible, remove or block the license-shun endpoint and any unauthenticated route that can mint signed values; disabling a feature may affect licensing prompts but not core content delivery. Restrict and monitor access to login/redirect handling (rate limiting, WAF rules on the redirect parameter) and alert on redirect parameters that carry signed envelopes or Twig-like syntax in request logs - these are detection measures, not fixes, and can be evaded by careful encoding. Session invalidation and key rotation after upgrading are advisable if compromise is suspected, since the cryptographic weakness is the shared securityKey material.

Affected VersionsENISA

CMS 4.8.0 <4.18.6
CMS 5.0.0 <5.10.13

Affected Packages

euvd cms fix: 4.18.6, 5.10.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause class is CWE-1336, improper neutralization of special elements used in a template engine, i.e. server-side template injection (SSTI) - VulnCheck tags the advisory with PHP, SSTI, and information disclosure. The chain has two distinct links. First, a cryptographic purpose-binding failure: Craft derives Yii's cookieValidationKey from the same securityKey used to sign request parameters, so an HMAC produced for one context (the license-shun cookie) is accepted verbatim in another (the signed redirect parameter). Signatures here prove integrity against outsiders but do not encode what the value was signed for, which makes cross-context envelope substitution possible. Second, a template-rendering sink: the validated redirect bytes are rendered as an unsandboxed Twig template, and Twig's map filter is callable with a string callback, allowing the attacker to invoke PHP's system() rather than a harmless Twig function. The practical effect is command execution in the web-server process context, depending on how PHP is configured (disable_functions or similar policy removes the sink). The supplied CVSS 4.0 vector is CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (score 8.7), which maps to the CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H used in the independent assessment: network-reachable, low complexity, low-privilege (authenticated) attacker, no user interaction other than the attacker's own account, and high impact confined to the vulnerable Craft application. No CPE strings or KEV entry were included in the supplied intelligence.

Know when Craft Cms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Remote low-priv authenticated user (PR:L, no CP rights needed) triggers RCE with low complexity on default config; runs as web-server user on the same system so S:U with full C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Sep 16, 2026 - 23:19 EUVD
CVE Published
Sep 16, 2026 - 22:18 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Technical POC Analysis

Note on identifiers: the supplied advisory (GHSA-5r92-75j8-c534, reporter "Crypto-Cat", Report ID 1590) lists "CVE ID - No known CVE".

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Craft CMS versions 4.8.0 through 4.18.5 and 5.0.0 through 5.10.12 are affected by a high-severity remote code execution vulnerability that lets a non-administrator account holder run operating-system commands as the web-server user. This puts organizations running these versions at risk of full application and data compromise, and leadership should prioritize immediate remediation because a low-privileged account can escalate to server-level control. No public exploit code is identified at time of analysis, but the impact and required account access make urgent action necessary.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular commercial PHP CMS, sizable but not ubiquitous production footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2025-32432 CRITICAL POC
10.0 Apr 25

Craft CMS versions 3.x through 5.x contain a critical remote code execution vulnerability (CVSS 10.0) that allows unauth

CVE-2025-35939 MEDIUM
6.9 May 07

Craft CMS stores arbitrary content provided by unauthenticated users in session files. Rated medium severity (CVSS 6.9),

CVE-2023-41892 CRITICAL POC
9.8 Sep 13

Craft CMS is a platform for creating digital experiences. Rated critical severity (CVSS 9.8), this vulnerability is remo

CVE-2024-56145 CRITICAL POC
9.3 Dec 18

Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Rated critical sev

CVE-2024-37843 CRITICAL POC
9.8 Jun 25

Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint. Rated crit

CVE-2020-9757 CRITICAL POC
9.8 Mar 04

The SEOmatic component before 3.3.0 for Craft CMS allows Server-Side Template Injection that leads to RCE via malformed

CVE-2026-28697 CRITICAL POC
9.1 Mar 04

RCE in Craft CMS before 4.17.0-beta.1/5.9.0-beta.1 via template injection for authenticated admins. PoC and patch availa

CVE-2025-68455 HIGH POC
8.6 Jan 05

Authenticated remote code execution in Craft CMS versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16 lets an

CVE-2026-25495 HIGH POC
8.8 Feb 09

SQL injection in Craft CMS 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21 allows authenticated Control Panel use

CVE-2023-30130 HIGH POC
8.8 May 12

An issue found in CraftCMS v.3.8.1 allows a remote attacker to execute arbitrary code via a crafted script to the Sectio

CVE-2022-29933 HIGH POC
8.8 May 09

Craft CMS through 3.7.36 allows a remote unauthenticated attacker, who knows at least one valid username, to reset the a

CVE-2018-3814 HIGH POC
8.8 Jan 01

Craft CMS 2.6.3000 allows remote attackers to execute arbitrary PHP code by using the "Assets->Upload files" screen and

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy