Skip to main content

Mautic CVE-2026-9558

| EUVDEUVD-2026-33276 CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-05-29 Mautic GHSA-9fx4-7cmj-47vg
9.9
CVSS 3.1 · Vendor: Mautic
Share

Severity by source

Vendor (Mautic) PRIMARY
9.9 CRITICAL
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

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVE Published
Jun 22, 2026 - 06:03 cve.org
CRITICAL 9.9
Analysis Generated
May 29, 2026 - 11:00 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

Affected ProductsAI

The affected product is Mautic, the open-source marketing automation platform maintained by the Mautic project; the vulnerability resides in the theme engine that renders uploaded Twig templates. Specific fixed and vulnerable version ranges were not enumerated in the supplied data and no CPE strings were provided, so administrators should consult the vendor's GitHub Security Advisory at https://github.com/mautic/mautic/security/advisories/GHSA-9fx4-7cmj-47vg for the authoritative version matrix.

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.

More in Ssti

View all
CVE-2024-23692 CRITICAL POC
9.8 May 31

Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c

CVE-2025-47916 CRITICAL POC
10.0 May 16

Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e

CVE-2024-6386 CRITICAL POC
9.9 Aug 21

Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor

CVE-2025-23211 CRITICAL POC
9.9 Jan 28

Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve

CVE-2024-32651 CRITICAL POC
10.0 Apr 26

changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic

CVE-2024-4040 CRITICAL POC
10.0 Apr 22

A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all

CVE-2026-15734 CRITICAL POC
9.8 Aug 06

Remote code execution in WGDashboard 4.3.2 and earlier lets authenticated attackers inject Server-Side Template Injectio

CVE-2024-24724 CRITICAL POC
9.8 Apr 03

Gibbon through 26.0.00 allows /modules/School%20Admin/messengerSettings.php Server Side Template Injection leading to Re

CVE-2026-77136 CRITICAL POC
9.5 Aug 25

Server-side template injection in the TYPO3 'Powermail' extension lets an anonymous user submit Fluid template syntax th

CVE-2026-28496 CRITICAL POC
9.4 Jun 23

Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb

CVE-2025-1040 HIGH POC
8.8 Mar 20

AutoGPT versions 0.3.4 and earlier are vulnerable to a Server-Side Template Injection (SSTI) that could lead to Remote C

CVE-2026-69118 HIGH POC
8.7 Aug 10

Remote code execution in Cachet through version 2.4.1 allows authenticated low-privilege users to inject Blade directive

Share

CVE-2026-9558 vulnerability details – vuln.today

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