TastyIgniter mail template editor allows remote code execution via server-side template injection
Critical severity. Published 25 November 2026. Update tastyigniter/tastyigniter to 4.3.1 or later: composer update tastyigniter/tastyigniter.
Which versions are affected?
| Package | Affected versions | Fixed in |
|---|---|---|
| tastyigniter/tastyigniter (opens in a new tab) | < 4.3.1 | 4.3.1 |
What should you do?
Update every affected package you use to its fixed version, then check that nothing else in your project matches an advisory. To see which version you run, and whether anything is still affected:
composer show tastyigniter/tastyigniter
composer auditAdvisory details
| Severity | CriticalCVSS 9.1 |
|---|---|
| Published | |
| Updated | |
| CVE | CVE-2026-69178 (opens in a new tab) |
| GHSA | GHSA-743w-g9pf-8p94 (opens in a new tab) |
| Weakness | CWE-1336 |
What the advisory says
Summary Where: POST /admin/mailtemplates/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
- save the request - execute the request using X-IGNITER-REQUEST-HANDLER: onTestTemplate
Request
- For the response, can check in the log.
Impact If attacker have access to admin user, it is possible to abuse this vulnerability to gain access into the system.
Source: GHSA-743w-g9pf-8p94 (opens in a new tab) in the GitHub Advisory Database (CC BY 4.0). Data from GitHub (opens in a new tab) as of .
Other recent advisories for this package
- TastyIgniter permits Path Traversal in Media Upload (high, 25 November 2026)
- TastyIgniter allows stored XSS via file upload (opens in a new tab) (medium, 25 November 2026)
- TastyIgniter allows Remote Code Execution (RCE) via Unrestricted file upload in Media Manager (critical, 25 November 2026)