critical

CVE-2026-9558

Packagist · mautic/core

Summary

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

Severity
critical
CVSS
9.9
EPSS
0.6% (p45)
CWE
CWE-1336
Also known as
GHSA-9fx4-7cmj-47vg
Published
2026-07-02
Updated
2026-07-02

Advisory details

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:

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.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.