CVE-2026-115189
Description
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.
How to fix
- mautic/core5.2.12, 6.0.10, 7.2.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mautic/core | 1.3.0 ≤ v < 5.2.12, 6.0.0 ≤ v < 6.0.10, 7.0.0 ≤ v < 7.2.2 | 5.2.12, 6.0.10, 7.2.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.