Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Mautic account with theme permissions
-
DeliveryCraft malicious Twig template payload
-
ExploitUpload template via theme engine
-
ExecutionTrigger template render to execute PHP
-
PersistRun arbitrary OS commands as web user
-
ImpactRead configs and install webshell for persistence
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Exploitation requires an authenticated Mautic account that holds permission to create or upload themes (PR:L in the CVSS vector), and the attacker must be able to reach the Mautic web interface over the network - no user interaction by another victim is needed. The limiting factors are this theme-management privilege and the existence of the theme upload/rendering feature in the deployed Mautic configuration; instances that restrict theme rights to a narrow administrator group, or that have disabled theme uploads, materially reduce who can trigger the SSTI. No specific OS, platform, or non-default toggle beyond standard Mautic theme functionality is required. |
| Impact | The CVSS:3.1 vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H yields 9.9, reflecting network reach, low complexity, low-privilege authenticated abuse, no user interaction, and a changed scope with full CIA impact - appropriate given that an authenticated theme operator can escape Mautic's trust boundary into the underlying OS. Real-world priority is high for any Mautic instance that delegates theme/upload rights beyond a small set of trusted administrators, but the PR:L precondition meaningfully narrows mass-exploitation risk compared to an unauthenticated RCE. EPSS data was not provided in the input, the CVE is not in CISA KEV, and no public PoC is referenced, so this is best treated as a high-severity authenticated RCE rather than an active-exploitation emergency; defenders should still patch promptly because credential theft or a malicious insider with theme rights converts directly into full host compromise. |
| Exploit ScenarioDerived | An attacker obtains or is granted a Mautic account with theme creation/upload rights - for example through credential reuse, a phishing-acquired marketer account that was over-privileged, or a malicious contractor. They craft a Twig template containing an SSTI payload that invokes PHP via the unsandboxed renderer, upload it as part of a theme, and trigger rendering to execute shell commands as the web server user, leading to webshell installation, configuration/secret exfiltration, and lateral movement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Server-Side Template Injection in Mautic's theme engine allows authenticated users with theme creation or upload permissions to execute arbitrary code on the host. Because the platform renders uploaded Twig templates without a sandbox or strict function allowlist, an attacker who already holds theme-management rights can pivot from administrative content control to full server compromise, including reads of restricted system files and configuration. No public exploit identified at time of analysis, and the issue has not been listed in CISA KEV.
RemediationAI
Patch available per vendor advisory - upgrade Mautic to the fixed release identified in GHSA-9fx4-7cmj-47vg at https://github.com/mautic/mautic/security/advisories/GHSA-9fx4-7cmj-47vg, applying the exact patched version listed there as the primary remediation. Until upgrade, restrict the 'create themes' and 'upload themes' permissions to a minimal set of fully trusted administrators and audit existing role assignments, accepting the trade-off that legitimate theme designers will lose self-service ability. As compensating controls, disable theme upload entirely if unused, place the Mautic web root behind tighter filesystem permissions and a hardened PHP configuration (disable_functions for exec/passthru/system, open_basedir scoped to Mautic), and monitor the themes directory for new or modified Twig files; note these reduce blast radius but do not close the SSTI sink itself.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mautic is an open-source marketing automation platform that uses the Twig templating engine (a Symfony-ecosystem template language) to render themes. The flaw maps to CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine), meaning the theme renderer evaluates user-supplied Twig markup outside Twig's sandbox extension and without restricting dangerous functions/filters such as filter, map, or PHP callable bridges. Twig is normally safe only when the SandboxExtension is enabled with an allowlist of tags, filters, and methods; without it, Twig expressions can reach arbitrary PHP, which is why uploaded theme files become a direct path to OS-level code execution and arbitrary file disclosure on the web server.
Know when Ssti 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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from Vendor (Mautic) · only source for this CVE.
CVSS VectorVendor: Mautic
DescriptionCVE.org
A Server-Side Template Injection (SSTI) vulnerability exists in Mautic's theme engine. The platform renders uploaded Twig templates without a sandbox or strict function restrictions. Authenticated users with permissions to create or upload themes can abuse this to execute arbitrary code on the hosting server (Remote Code Execution) or access restricted system files and configuration settings.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c
Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e
Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor
Server-side template injection in Adobe Commerce, Adobe Commerce B2B, and Magento Open Source allows remote unauthentica
Server-Side Template Injection in OpenCTI notifier templates allows privileged administrators with 'Manage customization
Unauthenticated remote code execution in Rejetto HFS2 (HTTP File Server) through version 2.4.0 lets an attacker execute
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve
changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic
A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all
Remote code execution in WGDashboard 4.3.2 and earlier lets authenticated attackers inject Server-Side Template Injectio
Gibbon through 26.0.00 allows /modules/School%20Admin/messengerSettings.php Server Side Template Injection leading to Re
Server-side template injection in the TYPO3 'Powermail' extension lets an anonymous user submit Fluid template syntax th
EUVD-2026-33276
GHSA-9fx4-7cmj-47vg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB