A server-side template injection vulnerability exists in the Twig theme rendering sandbox of Mautic.
Impact
A server-side template injection vulnerability exists in Mautic's Twig theme rendering sandbox, affecting versions 1.3.0 to 5.2.11, 6.0.0 to 6.0.9, and 7.0.0 to 7.2.1. An authenticated user with the core:themes:create permission can upload a malicious theme, potentially executing arbitrary code on the server. The vulnerability allows execution of operating system commands and access to server-side files.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.What to do
There are no official workarounds. To mitigate this vulnerability without upgrading, restrict the core:themes:create permission to trusted administrator accounts only and do not delegate theme creation to operator-level roles.
Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Vendor not supplied · Mautic
mautic/core
3 ranges
Vendor not supplied · Mautic
mautic/core
Compare with this publisher’s ranges. This does not inspect your installation.
affected
1.3.0 → before 5.2.12
semver versions
6.0.0 → before 6.0.10
semver versions
7.0.0 → before 7.2.2
semver versions
Other versions: unaffected
Original source 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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-115189View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.