CVE-2026-77612 - TastyIgniter: TemplateSandbox Bypass via Higher-Order PHP Functions Leads to Remote Code Execution
Vulnerability · Reported by NVD · · CWE-184
- Severity
- Critical Risk score 91/100
- CVSS
- 9.1 v3.1 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
TastyIgniter is an open-source online ordering, table reservation, and restaurant management system. From version 4.0.0 to before version 4.3.1, TastyIgniter's TemplateSandbox class, uses an incomplete blocklist of dangerous PHP functions. The blocklist explicitly forbids system(), exec(), shell_exec(), and similar functions by name, but does not restrict higher-order functions such as call_user_func, call_user_func_array, array_map, array_filter, and preg_replace_callback. These functions can invoke any PHP callable -- including all the blocked ones -- allowing an authenticated staff user with the Site.Themes permission to achieve Remote Code Execution (RCE) on the server. This issue has been patched in version 4.3.1.
How this vulnerability can be exploited
An attacker can exploit this vulnerability remotely over the network, only with administrator-level privileges, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data, modify data or code and crash or disrupt the service. The impact can spread beyond the vulnerable component to other parts of the system.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Tags
rce, #patch, CVE-2026-77612
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-77612 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.