CVE-2026-9558: CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
CVE-2026-9558 is a critical Server-Side Template Injection (SSTI) vulnerability in Mautic's theme engine. It allows authenticated users with theme creation or upload permissions to execute arbitrary code on the hosting server or access restricted system files. The vulnerability arises because the platform renders uploaded Twig templates without sandboxing or strict function restrictions. This can lead to remote code execution and full compromise of confidentiality, integrity, and availability of the affected system.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-9558) in Mautic's theme engine involves improper neutralization of special elements used in the Twig template engine (CWE-1336). Authenticated users who can create or upload themes can exploit the lack of sandboxing and function restrictions in template rendering to perform Server-Side Template Injection (SSTI). This enables remote code execution on the hosting server and unauthorized access to sensitive files and configuration settings. The CVSS 3.1 base score is 9.9, reflecting critical impact with network attack vector, low attack complexity, and privileges required. The vulnerability affects specific versions of Mautic (1.3.0, 5.0.0, 6.0.0, and 7.0.0). No official patch or remediation guidance is currently documented.
Potential Impact
Successful exploitation allows an authenticated user with theme upload or creation permissions to execute arbitrary code on the server hosting Mautic. This can lead to full system compromise, including unauthorized access to sensitive files and configuration data, and disruption of service. The vulnerability impacts confidentiality, integrity, and availability at a critical level.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict theme creation and upload permissions to fully trusted users only. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-9558: CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
Description
CVE-2026-9558 is a critical Server-Side Template Injection (SSTI) vulnerability in Mautic's theme engine. It allows authenticated users with theme creation or upload permissions to execute arbitrary code on the hosting server or access restricted system files. The vulnerability arises because the platform renders uploaded Twig templates without sandboxing or strict function restrictions. This can lead to remote code execution and full compromise of confidentiality, integrity, and availability of the affected system.
CVSS v3.1
Score 9.9critical
Affected software
pkg:github/mautic/mauticRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-9558) in Mautic's theme engine involves improper neutralization of special elements used in the Twig template engine (CWE-1336). Authenticated users who can create or upload themes can exploit the lack of sandboxing and function restrictions in template rendering to perform Server-Side Template Injection (SSTI). This enables remote code execution on the hosting server and unauthorized access to sensitive files and configuration settings. The CVSS 3.1 base score is 9.9, reflecting critical impact with network attack vector, low attack complexity, and privileges required. The vulnerability affects specific versions of Mautic (1.3.0, 5.0.0, 6.0.0, and 7.0.0). No official patch or remediation guidance is currently documented.
Potential Impact
Successful exploitation allows an authenticated user with theme upload or creation permissions to execute arbitrary code on the server hosting Mautic. This can lead to full system compromise, including unauthorized access to sensitive files and configuration data, and disruption of service. The vulnerability impacts confidentiality, integrity, and availability at a critical level.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict theme creation and upload permissions to fully trusted users only. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Mautic
- Date Reserved
- 2026-05-26T08:36:52.218Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a196b7ee29bf47b50da1b9f
Added to database: 05/29/2026, 10:33:34 UTC
Last enriched: 07/02/2026, 23:10:50 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 111
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.