Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-9558

Mautic has Server-Side Template Injection (SSTI) in Theme Templates
Back to all
CVE

CVE-2026-9558

Mautic has Server-Side Template Injection (SSTI) in Theme Templates

Summary

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.

Impact

An authenticated user with theme upload and creation privileges can bypass boundaries to execute arbitrary system commands on the hosting server (Remote Code Execution) or access restricted system files and configuration settings.

Patched Versions

This security issue has been addressed in the following releases:

  • 7.1.2
  • 6.0.9
  • 5.2.11

For users on Mautic 4.x, this fix is available in:

Mautic strongly recommend upgrading to a patched version immediately.

Workarounds

There are no official workarounds. To mitigate this vulnerability without upgrading, restrict theme upload and creation permissions (core:themes:create) to only highly trusted administrators.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://github.com/mautic/mautic/security/advisories/GHSA-9fx4-7cmj-47vg, https://nvd.nist.gov/vuln/detail/CVE-2026-9558, https://github.com/mautic/mautic

Severity

9.9

CVSS Score
0
10

Basic Information

Base CVSS
9.9
EPSS Probability
0.00439%
EPSS Percentile
0.35386%
Introduced Version
1.3.0,5.0.0,6.0.0,7.0.0
Fix Available
5.2.11,6.0.9,7.1.2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading