Thelia 2.6.0 uses the Smarty templating engine for email templates without properly restricting access to dangerous PHP functions. An authenticated administrator can inject malicious Smarty expressions via the messages configuration interface. When these templates are previewed or rendered, functions like system(), exec(), file_put_contents(), and file_get_contents() can be executed with the web server's privileges, enabling arbitrary OS command execution and file read/write operations on the server.