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 on the hosting server (Remote Code Execution) or access restricted system files and configuration settings.
Casky was already ahead
This CVE exploits attack patterns that Casky's 0matched skills already investigate — long before this vulnerability was disclosed. Claude's reasoning model maps these techniques to MITRE ATT&CK, so practitioners who ran these skills have already seen the threat behaviour in their findings.
Server-Side Template Injection (SSTI) in Mautic's theme engine represents a critical threat because it allows authenticated users with theme management permissions to execute arbitrary code directly on hosting servers. The vulnerability stems from unsafe rendering of Twig templates without sandbox restrictions or function whitelisting, transforming what should be a templating feature into a remote code execution (RCE) vector. This affects organizations deploying Mautic for marketing automation, particularly those with multiple administrators or delegated theme management roles, where insider threats or compromised credentials pose significant risk. With a CVSS score of 9.9, this vulnerability can lead to complete system compromise, unauthorized access to sensitive customer data, and lateral movement within enterprise networks.
While this CVE currently maps to zero Casky skills, practitioners defending against similar SSTI patterns should focus on detecting suspicious Twig function calls and object instantiation attempts within template uploads. Casky's Claude-powered analysis would identify attack indicators including use of dangerous functions like `system()`, `exec()`, or object instantiation (`_self`, `app`) in uploaded template files, correlating to techniques under Execution and Defense Evasion. Security teams should implement detection rules monitoring for template files containing backticks, process spawning functions, or filesystem access patterns, paired with behavioral analysis of theme upload events followed by unexpected system process execution. Practitioners would see findings flagging template syntax anomalies and correlating file uploads with subsequent command execution or information gathering activities on the server.
Composite risk scoring from EPSS, CISA KEV, Shodan, and GreyNoise — 21 security APIs correlated into a single Casky Risk Score. Coming in Casky Pro. Join early access →
Casky has 0 skills that investigate the attack patterns behind CVE-2026-9558. Run one and get CVSS-scored findings in 3 minutes.
Run the skill that detects this →© 2026 Casky.AI, Inc. · AI Security Investigation