Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with core:themes:create permission
-
DeliveryUpload crafted Twig theme template
-
ExploitTrigger sandbox escape on render
-
ExecutionExecute OS commands as web server
-
PersistRead DB credentials and config files
-
ImpactPivot to internal services
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Requires an authenticated account with the core:themes:create permission, which in default installations is granted only to the Administrator role and may be delegated to other roles in multi-operator setups. The attacker must upload a malicious theme whose template is subsequently rendered; the Twig sandbox introduced for GHSA-9fx4-7cmj-47vg fails to fully enforce its restrictions, permitting the escape. The limiting factor is this privilege requirement (PR:L) - anonymous/unauthenticated users cannot exploit it - so realistic risk centers on malicious or compromised privileged operators rather than mass opportunistic attack. Affected: mautic/core >=1.3.0 <5.2.12, >=6.0.0 <6.0.10, >=7.0.0 <7.2.2; the only complete fix stated by the vendor is upgrading to 7.2.2, 6.0.10, or 5.2.12 (4.4 via ELTS). The vendor's non-upgrade mitigation is to restrict core:themes:create to trusted administrators and not delegate it to operator-level roles; there are no official workarounds beyond this. |
| Impact | This is a genuinely high-priority flaw, not a high-CVSS-but-low-real-risk issue. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity attack requiring only low privileges, and the impact is full compromise (C:H/I:H/A:H) because the outcome is arbitrary code execution as the web server process. The vuln.today decision label is 'this_week', indicating elevated but not emergency urgency. The key limiting signal is PR:L: exploitation requires an authenticated account holding the core:themes:create permission, which by default is restricted to the Administrator role - so widespread opportunistic exploitation is less likely than the 8.8 score alone might suggest, and the realistic threat model is a malicious or compromised operator-level account, especially in multi-operator setups where theme creation is delegated. No EPSS score, no CISA KEV listing, and no PoC reference were provided in the input, so exploitation probability and in-the-wild activity cannot be assessed from the available data. One notable aggravating factor stated by the vendor: this is an INCOMPLETE fix for the prior GHSA-9fx4-7cmj-47vg sandbox, meaning a previously-patched sandbox is again bypassable - attackers aware of the earlier issue have a strong starting point. |
| Exploit ScenarioDerived | An authenticated Mautic user holding the core:themes:create permission (by default an administrator, or a delegated operator in multi-operator deployments) uploads a crafted Twig theme template that escapes the rendering sandbox. When that theme is later rendered, the embedded template injection executes arbitrary OS commands as the web server process, letting the attacker read configuration files and database credentials, write files, and pivot to internal services. No public exploit was identified in the provided input, but the vendor confirms this is an incomplete fix for the earlier GHSA-9fx4-7cmj-47vg sandbox escape. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 26, 2026
Server-side template injection in Mautic's Twig theme sandbox lets an authenticated user holding the core:themes:create permission upload a crafted theme that escapes sandbox restrictions and executes arbitrary code as the web server process. The flaw is an incomplete fix for GHSA-9fx4-7cmj-47vg and affects Mautic core branches before 5.2.12, 6.0.10, and 7.2.2. It is a high-priority issue, though exploitation requires privileged theme-creation access; no public exploit identified at time of analysis and no CISA KEV entry is present in the supplied data.
RemediationAI
Vendor-released patch: upgrade to Mautic 7.2.2, 6.0.10, or 5.2.12 depending on the affected branch, and use ELTS for legacy Mautic 4.4 as stated by the vendor. The vendor states there are no official workarounds; the only stated non-upgrade mitigation is to restrict the core:themes:create permission to trusted administrator accounts and not delegate theme creation to operator-level roles, which can limit legitimate delegated theme management but reduces exposure. Advisory: https://github.com/mautic/mautic/security/advisories/GHSA-h7pm-79gc-8867.
Affected ProductsAI
Mautic, distributed as composer/mautic/core, is affected in the ranges >=1.3.0 and <5.2.12, >=6.0.0 and <6.0.10, and >=7.0.0 and <7.2.2, with the vendor advisory at https://github.com/mautic/mautic/security/advisories/GHSA-h7pm-79gc-8867. Fixed releases are 5.2.12, 6.0.10, and 7.2.2; the vendor notes that legacy Mautic 4.4 receives its fix through ELTS rather than a public release. No CPE strings were supplied in the available data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Mautic is a PHP application that renders uploaded theme templates through Twig, and the vulnerability is CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine. A Twig sandbox was introduced to constrain user-uploaded theme templates in the fix for GHSA-9fx4-7cmj-47vg, but the supplied advisory states that this sandbox does not fully enforce its restrictions, allowing a crafted theme template to escape it. The CVSS vector contains PR:L, confirming that authentication is required, specifically an account with the core:themes:create permission; in default installations this is granted to the Administrator role and may be delegated in multi-operator setups. The available sources do not describe the specific Twig constructs or sandbox escape path, only that the malicious theme template is later rendered and leads to arbitrary code execution with web server privileges.
Know when Mautic 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:U/C:H/I:H/A:H
Network-reachable theme upload, no user interaction, but requires the core:themes:create permission (PR:L); sandbox escape yields code execution with full C/I/A impact as the web server process.
Primary rating from Vendor (Mautic).
CVSS VectorVendor: Mautic
DescriptionCVE.org
A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic. The sandbox introduced to restrict user-uploaded theme templates (the fix for GHSA-9fx4-7cmj-47vg) does not fully enforce its restrictions, allowing a crafted theme template to escape the sandbox. An authenticated user with the core:themes:create permission can upload a malicious theme whose template is later rendered, resulting in execution of arbitrary code on the server with the privileges of the web server process. This allows the attacker to execute operating system commands, read server-side files including configuration files and database credentials, write files, and reach internal services. In default installations the core:themes:create permission is granted to the Administrator role, and in multi-operator setups it may be delegated to other roles. This is an incomplete fix for GHSA-9fx4-7cmj-47vg.
Technical POC Analysis
CWE-1336 - Improper Neutralization of Special Elements Used in a Template Engine (server-side template injection, template-engine sandbox escape).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Mautic, the open-source marketing automation platform, contains a high-severity vulnerability (CVE-2026-115189) that allows authenticated users with theme-creation privileges to execute arbitrary code on the server. This could lead to full compromise of the Mautic instance, exposing sensitive customer and campaign data, and potentially enabling further lateral movement within the network. Leadership should prioritize remediation because the flaw bypasses a security sandbox and affects multiple supported branches (before 5.2.12, 6.0.10, and 7.2.2), and while exploitation requires privileged access, the potential impact on data confidentiality and integrity is severe.
Vendor-released patch: 5.2.12, 6.0.10, and 7.2.2
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.
For Mautic versions prior to 3.3.4/4.0.0, there is an XSS vulnerability on Mautic's password reset page where a vulnerab
Remote code execution can result in Mautic 7 (7.0.0 through 7.2.1) when campaign-import archives carry asset files that
Mautic before 2.13.0 allows CSV injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
This advisory addresses two critical security vulnerabilities present in Mautic versions before 5.2.3. Rated critical se
Multiple cross-site request forgery (CSRF) vulnerabilities in Mautic 1.4.1 allow remote attackers to hijack the authenti
In all versions prior to Mautic 3.3.2, secret parameters such as database credentials could be exposed publicly by an au
Stored cross-site scripting in Mautic 7.0.0 through 7.2.1 allows anyone who can write a value into an HTML-type custom c
PHP object injection in Mautic's segment filters and custom field properties can escalate to server-side code execution
This advisory addresses an authorization vulnerability in Mautic's HTTP Basic Authentication implementation. Rated high
Mautic's Contact Activity API endpoint is vulnerable to SQL injection due to insufficient validation of the sort directi
Mautic 2.6.1 and earlier fails to set flags on session cookies. Rated high severity (CVSS 7.5), this vulnerability is re
The function mt_rand is used to generate session tokens, this function is cryptographically flawed due to its nature bei
EUVD-2026-109792
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB