CVE-2026-115189 PUBLISHED

Assigner: Mautic
Reserved: 22.10.2026 Published: 26.10.2026 Updated: 26.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8

Product Status

Package Collection https://packagist.org
Package Name mautic/core
Versions Default: unaffected
  • affected from 1.3.0 to 5.2.12 (excl.)
  • affected from 6.0.0 to 6.0.10 (excl.)
  • affected from 7.0.0 to 7.2.2 (excl.)

Workarounds

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.

Credits

  • AbisheikMagesh (@amagesh1) finder
  • Jace (@manus-use) finder
  • @sec-reex finder
  • Ghost (@prakhar0x01) finder
  • Aleksei Ivanov (@lostfany) finder
  • trung (@trungpv19) finder
  • Submersion AI - Security Research Team (SRT) (@SRTSubmersionAI) finder
  • Abdullah Kareem (@CyberKareem) finder
  • Moath Aloufi (@m0xath) finder
  • @Forrof finder
  • @cxcsec finder
  • Lucas Dodgson (@lucasdodgson) finder
  • @FlowOverFail finder
  • @tal2k9dev-star finder
  • Tal Lavi (@tlavi00) finder
  • @Den1al analyst
  • Patryk Gruszka (@patrykgruszka) remediation reviewer
  • John Linhart (@escopecz) remediation reviewer
  • Leuchtfeuer Digital Marketing (@Leuchtfeuer) sponsor

References

Problem Types

  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine CWE

Impacts

  • CAPEC-242 Code Injection