{"id":"CVE-2026-9558","published":"2026-05-29T10:01:36Z","modified":"2026-05-29T10:49:06Z","title":"A Server-Side Template Injection (SSTI) vulnerability exists in Mautic's theme engine","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00571,"percentile":0.48153,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/mautic/mautic/security/advisories/GHSA-9fx4-7cmj-47vg","tags":[]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":9.63},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.93}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2026-07-10","earliestUrl":"https://github.com/covepseng/cve-2026-9558-poc","repos":[{"name":"covepseng/cve-2026-9558-poc","url":"https://github.com/covepseng/cve-2026-9558-poc","stars":1,"created":"2026-07-10"}]},"first":{"date":"2026-07-10","source":"PoC-in-GitHub","url":"https://github.com/covepseng/cve-2026-9558-poc"},"provenance":"source"},"affectedVersions":[{"vendor":null,"product":null,"versions":[">= 1.3.0, < 4.4.20",">= 5.0.0, < 5.2.11",">= 6.0.0, < 6.0.9",">= 7.0.0, < 7.1.2"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-242","name":"Code Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-29T10:48:50.985840Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mautic/core","vulnerableRanges":[">=1.3.0, <4.4.13",">=5.0.0, <5.2.11",">=6.0.0, <6.0.9",">=7.0.0, <7.1.2"],"patched":["5.2.11","6.0.9","7.1.2"],"from":["GHSA-9fx4-7cmj-47vg"],"provenance":"source"}],"summary":{"text":"A Server-Side Template Injection flaw in Mautic's theme engine arises because uploaded Twig templates are rendered without a sandbox or strict function restrictions. An attacker with an authenticated account that has permission to create or upload themes can use this to execute arbitrary code on the hosting server or read restricted system files and configuration settings.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:47:59Z"},"euvd":{"id":"EUVD-2026-33276","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-3105","published":"2026-02-24","fixed":"7.0.1","kev":false,"link":{"from":"CVE-2026-3105","to":"CVE-2026-9558","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mautic/core","fromFixed":"5.2.10","toFixed":"5.2.11","daysApart":94},{"kind":"version-step","provenance":"source","package":"Packagist:mautic/core","fromFixed":"6.0.8","toFixed":"6.0.9","daysApart":94}]}},{"cve":"CVE-2026-4776","published":"2026-05-29","fixed":"7.1.2","kev":false},{"cve":"CVE-2026-9557","published":"2026-05-29","fixed":"7.1.2","kev":false},{"cve":"CVE-2026-9558","published":"2026-05-29","fixed":"7.1.2","kev":false},{"cve":"CVE-2026-9559","published":"2026-05-29","fixed":"7.1.2","kev":false},{"cve":"CVE-2026-9808","published":"2026-05-29","fixed":"7.1.2","kev":false},{"cve":"CVE-2026-9809","published":"2026-05-29","fixed":"7.1.2","kev":false}],"package":"Packagist:mautic/core"}}