CVE-2026-69178 — TastyIgniter mail template editor allows remote code execution via server-side template injection
One of 4 composer:tastyigniter/tastyigniter vulnerabilities published together by GitHub Advisory: our article covers all of them.
PHPLinuxChromeSafariWebOperating systemsResearch article
TastyIgniter mail template editor allows admin-triggered server-side template injection and PHP execution (CVE-2026-69178)
| CVE | CVE-2026-69178 |
|---|---|
| Vendor and product | composer:tastyigniter/tastyigniter |
| Published | November 25, 2026 22:50 UTC |
| Research cut-off | November 25, 2026 22:45 UTC |
| Sources reviewed | 2: CISA KEV catalog; GitHub advisory (2026-11-25) |
Executive summary
CVE-2026-69178 (GHSA-743w-g9pf-8p94) is a server-side template injection in the mail template editor of TastyIgniter, classified as CWE-1336 [2]. GitHub scored it CVSS 3.1 9.1 with vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H [2]. The advisory lists tastyigniter/tastyigniter versions below 4.3.1 as affected and 4.3.1 as the fixed version [2]. Exploitation requires a logged-in admin account holding the Admin.MailTemplates permission [2]. The advisory describes arbitrary PHP execution on the server, which would give an attacker with such an account access to the system [2]. The issue is not listed in the CISA KEV catalog as of 2026-11-25 [1], and the pack contains no confirmed in-the-wild exploitation. The most important immediate action is to upgrade to 4.3.1 and, until then, restrict Admin.MailTemplates to the smallest set of trusted administrators [2].
Key points
- CVE-2026-69178 is a server-side template injection (CWE-1336) in the TastyIgniter admin mail template editor, scored CVSS 3.1 9.1 by GitHub [2].
- Exploitation requires an admin account with the Admin.MailTemplates permission, and the advisory describes arbitrary PHP execution [2].
- GitHub lists versions below 4.3.1 as affected and 4.3.1 as fixed [2].
- The CISA KEV catalog does not list the CVE as of 2026-11-25 [1], and the pack shows no confirmed exploitation.
- The advisory is internally inconsistent about scores and fixed versions, so the vendor's release notes should be checked [2].
Vulnerability identification
CVE-2026-69178 is tracked through GitHub Security Advisory GHSA-743w-g9pf-8p94, published 2026-11-25T22:24:13 and last updated 2026-11-25T22:24:14 [2]. The affected product is TastyIgniter, package tastyigniter/tastyigniter, and the flawed feature is the mail template editor in the admin area [2]. The weakness is classified as CWE-1336, Improper Neutralization of Special Elements Used in a Template Engine [2]. In plain terms, user-supplied text is handled by a template engine without first removing or neutralizing the syntax the engine interprets. The only CVSS score in the pack is CVSS 3.1 9.1 with vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H, scored by GitHub [2]. The vector means network reachable, low complexity, high privileges required, no user interaction, scope changed, and high impact to confidentiality, integrity and availability (Analyst assessment, from the vector metric definitions). No NVD record for this CVE is in the pack.
Vulnerability description
The flaw sits in the body field of the admin mail template edit endpoint under the mail_templates path [2]. The advisory states the mail template feature does not adequately validate or sanitize template content before it is processed [2]. Any admin user holding the Admin.MailTemplates permission can trigger the issue [2]. The advisory describes the result as remote code execution with the ability to run arbitrary PHP on the server [2]. The violated security properties are the integrity and confidentiality of the server and its data, because code executes in the application context rather than inside a restricted template sandbox (Analyst assessment, based on the advisory's impact statement [2]).
Attack surface and exploitation prerequisites
The advisory requires a valid admin login with the Admin.MailTemplates permission, which matches the PR:H value in the vector [2]. The described proof of concept saves a crafted mail template body and then triggers a template test through a request handler value [2]. Both steps go through the admin web interface, so the admin panel must be reachable by the attacker (Analyst assessment). The advisory says command output can be checked in the application log, which means a successful attempt leaves a trace in that log [2]. The pack does not describe any configuration setting that enables or disables the flaw, so default-versus-custom exposure cannot be separated from the sources.
Impact analysis
GitHub scores the impact as high for confidentiality, integrity and availability [2]. The advisory reports arbitrary PHP execution and says an attacker with admin account access can gain access to the system [2]. Technically demonstrated impact is therefore code execution in the web application context. Downstream effects such as reading customer data, altering orders, or pivoting to other hosts are plausible consequences of code execution (Analyst assessment) but are not described in the sources. Regulatory or contractual obligations depend on the data each installation holds and are outside the pack.
Affected products and versions
GitHub lists tastyigniter/tastyigniter as affected below 4.3.1 and fixed in 4.3.1 [2]. The pack gives no lower bound for the affected range, so earlier releases cannot be ruled in or out from these sources. There is an internal inconsistency in the advisory: its facts section says the advisory provides no CVSS score, affected range or fixed version, while its structured fields give a CVSS 3.1 score and the version range [2]. The structured fields are used here, but the 4.3.1 boundary should be confirmed against the vendor's own release notes, which are not in the pack.
Exploitation and threat intelligence status
The CISA KEV catalog does not list CVE-2026-69178 as of 2026-11-25 [1]. CISA states this is not evidence that the CVE has not been exploited [1]. The advisory describes a proof of concept [2]. The pack contains no public exploit repository, no vendor or news reports of exploitation, and no EPSS score, so exploitation in the wild is not established by the reviewed sources.
Detection and exposure assessment
Identify installations by version. From the application root directory, run the read-only Composer command 'composer show tastyigniter/tastyigniter' and compare the reported version with 4.3.1 [2]. A version below 4.3.1 means the installation falls within the advisory's stated range; it does not prove the flaw has been exploited. Review which admin accounts hold the Admin.MailTemplates permission in the admin role configuration. Review stored mail template bodies for PHP evaluation syntax that does not belong in a normal email. Review the application log for shell command output, which the advisory identifies as the place where a test run's output appears [2]. Absence of such entries in the log does not prove that no exploitation occurred.
Remediation
Immediate exposure reduction: remove Admin.MailTemplates from every admin role that does not need to edit mail templates, and limit remaining holders to named, trusted administrators [2]. Verify the change by confirming the permission is absent for the other roles. Permanent fix: upgrade tastyigniter/tastyigniter to 4.3.1 or later [2]. Verify the upgrade by rerunning the version check above. The pack includes no vendor-published workaround for the template injection itself, so the permission restriction is the only mitigation the sources support.
Remediation checklist
- Upgrade tastyigniter/tastyigniter to 4.3.1 or later, as listed in the advisory's fixed version field [2].
- After upgrading, run 'composer show tastyigniter/tastyigniter' in the application root and confirm the reported version is 4.3.1 or later [2].
- Until upgraded, remove the Admin.MailTemplates permission from all admin roles that do not need mail template editing, and confirm the change in the admin role settings [2].
- Review every admin account that still holds Admin.MailTemplates and confirm each holder is a trusted, named administrator [2].
- Review stored mail template bodies in the admin mail template editor for PHP evaluation syntax and restore any modified template from a known-good copy [2].
- Review the application log for shell command output and for unexpected test-template activity, as the advisory describes where output appears [2].
- Confirm admin logins are restricted to trusted networks and that admin accounts use strong, unique credentials and multi-factor authentication where the application supports it (Analyst assessment; the pack does not confirm MFA support).
- Check the vendor's release notes for the 4.3.1 boundary and any lower affected version bound, since the pack does not establish them [2].
- If the application log or template contents show unexpected PHP execution, treat the server as compromised and follow your incident response process, including credential rotation for application and database accounts (Analyst assessment).
Evidence gaps
- Vendor advisory or release notes for TastyIgniter confirming the affected range and the 4.3.1 fix, since the only source for these is the GitHub advisory [2].
- Lower bound of the affected version range, because the pack gives only 'below 4.3.1' [2]. Confirm from the vendor's version history.
- Internal inconsistency in the GitHub advisory: its facts say no CVSS score or fixed version is provided, while its fields give CVSS 3.1 9.1 and a fixed version of 4.3.1 [2]. Resolve by checking the advisory's current revision and the vendor release.
- NVD record, CVSS scores from NVD, and NVD CWE mapping, which are absent from the pack; the only CVSS and CWE data is from GitHub [2].
- Exploitation evidence: the pack has no confirmed in-the-wild exploitation, no news reports, and no EPSS score [1, 2]. A threat intelligence source or the KEV entry would be needed to settle this.
- Public exploit repository or proof-of-concept code, which is not in the pack beyond the advisory's description [2].
- Indicators of compromise beyond the application log mention and template content review: the pack gives no file hashes, domains, IP addresses or log event identifiers [2].
- Root cause detail beyond the advisory author's statement that template content is not adequately validated or sanitized [2]. A vendor code fix diff or commit reference would settle this.
- Default configuration: whether the feature or permission is granted by default in any release is not stated [2].
References
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-25. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-25.
- GHSA-743w-g9pf-8p94 / CVE-2026-69178 — TastyIgniter mail template editor allows remote code execution via server-side template injection. GitHub Security Advisory Database, 2026-11-25. https://github.com/advisories/GHSA-743w-g9pf-8p94. Accessed 2026-11-25.
Severity breakdown
Critical · 9.1
An attacker with administrator rights can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, an administrator account
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality, integrity and availability
Weakness
- CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| tastyigniter/tastyigniter (Packagist) | < 4.3.1 | 4.3.1 |
References by type
Vendor advisories
Patches and fixed releases
- github.com/tastyigniter/core/commit/785aa660f77fee9a221857b8b1f11b68a35…
- github.com/tastyigniter/core/releases/tag/v4.3.1
Other references
Details
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
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=eyJpdiI6IkxRY3hrdXkyY01mN3RONXZwNjlDRnc9PSIsInZhbHVlIjoibkZSNHNWWW5hTDZtWXpIbmdnUkM0aFJZZFJRM2V5czVXWUd6TkxwUVFhUUplVGNuY3B5Z1NKZk9TMlc1R1c3akhoakpaUE9MM0ZUcW5tclBtZi80ZXExR3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oiIn0%3D; tastyigniter_session=eyJpdiI6IjRVU3c4T2Y2dnVhREtyZkxQZitPUHc9PSIsInZhbHVlIjoiWFFXaDVNbzJISlJZRjdRTVI3L2FNYUNxdklvVHZpb3FwNFA4M2J0aTBqNFI2VU8vL09lYWhlOVd3K1lhdFR5eEJTWUxxLzRHM0Z5KzlaUkhCOTdVMDEzc25PaWNzOE1yWW9PQkZSWHZZUVJGNnRkNGRuWVhvRC82RVl5YTU1ZnciLCJtYWMiOiI0ZjY2ODIxYWU1N2FkYmUxNGM5OWQ4ODU0MDU2YzRhODY1MmFlNmVkOTgwZTIzN2E0YjE0Y2MwMzg3NTc4MTZhIiwidGFnIjoiIn0%3D
Connection: keep-alive
_token=L22Pxu6L5hHmHgoC4RB1Zz5Py16muXvsRIOBtxuY
- For the response, can check in the log.
<img width="1315" height="516" alt="image" src="https://github.com/user-attachments/assets/2b6a01bf-14d2-4b33-b1d4-d0e284b54107" />
Impact
If attacker have access to admin user, it is possible to abuse this vulnerability to gain access into the system.
Affected
- composer:tastyigniter/tastyigniter
Frequently asked questions
What is CVE-2026-69178?
CVE-2026-69178 (GHSA-743w-g9pf-8p94) is a server-side template injection in the mail template editor of TastyIgniter, classified as CWE-1336. GitHub scored it CVSS 3.1 9.1 with vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. The advisory lists tastyigniter/tastyigniter versions below 4.3.1 as affected and 4.3.1 as the fixed version. Weakness type: Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336).
How severe is CVE-2026-69178?
CVE-2026-69178 has a CVSS 3.1 base score of 9.1 (critical), from GitHub. An attacker with administrator rights can exploit this over the network, without any user action.
Is CVE-2026-69178 being exploited?
Not as far as is known: CVE-2026-69178 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026.
Which versions are affected by CVE-2026-69178?
tastyigniter/tastyigniter (Packagist) < 4.3.1 (fixed in 4.3.1).
How do I fix CVE-2026-69178?
Upgrade tastyigniter/tastyigniter to 4.3.1 or later, as listed in the advisory's fixed version field. After upgrading, run 'composer show tastyigniter/tastyigniter' in the application root and confirm the reported version is 4.3.1 or later. Until upgraded, remove the Admin.MailTemplates permission from all admin roles that do not need mail template editing, and confirm the change in the admin role settings.
Timeline & sources
References
Related vulnerabilities & news
- TastyIgniter Media Manager upload path traversal (CVE-2026-69181) allows admin-authenticated file writes outside media/uploads
- GHSA-7wwv-x6mc-pxqx / CVE-2026-69179 — TastyIgniter allows Remote Code Execution (RCE) via Unrestricted file upload in Media Manager
- Debian ships Chromium update for trixie covering more than 200 CVEs
- Ghostscript Flaw "Upload2Shell" Lets Attackers Hijack WordPress, Webmail and Print Servers
- Debian DSA-6647-1 fixes 24 WebKitGTK flaws, some allowing code execution via web content