{"id":"CVE-2026-107248","published":"2026-10-12T16:17:03.203","lastModified":"2026-10-15T18:17:24.270","description":"Thelia 3.0.0's back-office Email/Messages feature contains a server‑side template injection (SSTI) flaw that allows any authenticated user with the “Messages” permission to supply unsandboxed Twig templates, which are then compiled and executed as raw code. By modifying Message content, an attacker can execute arbitrary PHP functions, read sensitive files, and potentially write to the filesystem, leading to full compromise of the application and underlying host. This vulnerability has been patched in thelia/twig-engine-module 1.0.9.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-94","CWE-1336"],"vendors":[],"products":[],"references":[{"url":"https://kb.cert.org/vuls/id/162329","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"Thelia 3.0.0 contains a server-side template injection vulnerability in its back-office email/messages feature that allows authenticated users with 'Messages' permission to inject and execute arbitrary PHP code through unsandboxed Twig templates, potentially leading to full application and host compromise.","exploitability":"Exploitation is relatively straightforward for authenticated users with Messages permission, requiring only the ability to modify message content to inject malicious Twig templates that execute as raw PHP code.","blast_radius":"If exploited, this vulnerability could lead to complete compromise of the Thelia application and underlying host, allowing attackers to execute arbitrary commands, read sensitive files, and potentially write to the filesystem.","remediation":"Upgrade to thelia/twig-engine-module version 1.0.9 which contains the patch for this SSTI vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["ssti","template-injection","php","web"],"model":"garnet-coder","analyzedAt":"2026-10-16T08:53:23.325Z"}}