Skip to main content

Mautic CVE-2026-115189

| EUVDEUVD-2026-109792 HIGH
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-10-26 Mautic
8.8
CVSS 3.1 · Vendor: Mautic
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with core:themes:create permission
  2. Delivery
    Upload crafted Twig theme template
  3. Exploit
    Trigger sandbox escape on render
  4. Execution
    Execute OS commands as web server
  5. Persist
    Read DB credentials and config files
  6. Impact
    Pivot 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (Mautic) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

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 (Mautic).

CVSS VectorVendor: Mautic

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Vendor-released patch: 5.2.12, 6.0.10, and 7.2.2

Threat Intelligence Overview

EPSS Score
0.6%
Top 52% exploitable
Prevalence
Medium
popular open-source marketing automation platform, common but not ubiquitous
Data Quality
4 sources
Confidence: Medium

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.6%
Patch available No
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Mautic

View all
CVE-2021-27909 MEDIUM POC
6.1 Aug 30

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

CVE-2026-115188 CRITICAL
9.9 Oct 26

Remote code execution can result in Mautic 7 (7.0.0 through 7.2.1) when campaign-import archives carry asset files that

CVE-2018-8092 CRITICAL
9.8 Apr 18

Mautic before 2.13.0 allows CSV injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2024-47051 CRITICAL
9.1 Feb 26

This advisory addresses two critical security vulnerabilities present in Mautic versions before 5.2.3. Rated critical se

CVE-2017-8874 HIGH
8.8 May 10

Multiple cross-site request forgery (CSRF) vulnerabilities in Mautic 1.4.1 allow remote attackers to hijack the authenti

CVE-2021-27908 MEDIUM POC
4.4 Mar 23

In all versions prior to Mautic 3.3.2, secret parameters such as database credentials could be exposed publicly by an au

CVE-2026-115193 HIGH
8.2 Oct 26

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

CVE-2026-115190 HIGH
8.0 Oct 26

PHP object injection in Mautic's segment filters and custom field properties can escalate to server-side code execution

CVE-2024-47053 HIGH
7.7 Feb 26

This advisory addresses an authorization vulnerability in Mautic's HTTP Basic Authentication implementation. Rated high

CVE-2026-3105 HIGH
7.6 Feb 24

Mautic's Contact Activity API endpoint is vulnerable to SQL injection due to insufficient validation of the sort directi

CVE-2017-1000046 HIGH
7.5 Jul 17

Mautic 2.6.1 and earlier fails to set flags on session cookies. Rated high severity (CVSS 7.5), this vulnerability is re

CVE-2021-27913 LOW POC
3.5 Aug 30

The function mt_rand is used to generate session tokens, this function is cryptographically flawed due to its nature bei

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