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

Critical severity, published 2026-11-25. Update tastyigniter/tastyigniter to 4.3.1 or later: composer update tastyigniter/tastyigniter.

Canonical URL: https://buzzphp.com/security/ghsa-743w-g9pf-8p94 · Data from GitHub as of 2026-11-26.

| | |
| --- | --- |
| Severity | critical (CVSS 9.1) |
| Published | 2026-11-25 |
| Updated | 2026-11-25 |
| CVE | [CVE-2026-69178](https://nvd.nist.gov/vuln/detail/CVE-2026-69178) |
| GHSA | [GHSA-743w-g9pf-8p94](https://github.com/advisories/GHSA-743w-g9pf-8p94) |
| Weakness | CWE-1336 |

| Package | Affected versions | Fixed in |
| --- | --- | --- |
| tastyigniter/tastyigniter | < 4.3.1 | 4.3.1 |

## What to do

Update tastyigniter/tastyigniter to 4.3.1 or later: composer update tastyigniter/tastyigniter.

Check which version you run with `composer show tastyigniter/tastyigniter`, and every affected package with `composer audit`.

## About this advisory

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.

## Links

- [GHSA-743w-g9pf-8p94 on GitHub](https://github.com/advisories/GHSA-743w-g9pf-8p94)
- [CVE-2026-69178 on the National Vulnerability Database](https://nvd.nist.gov/vuln/detail/CVE-2026-69178)
- [All Composer security advisories](https://buzzphp.com/security)
