CVE-2026-77612: TastyIgniter: TemplateSandbox Bypass via Higher-Order PHP Functions Leads to Remote Code Execution

Published Dec 2, 2026
·
Updated

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(), shellexec(), and similar functions by name, but does not restrict higher-order functions such as calluserfunc, calluserfuncarray, arraymap, arrayfilter, and pregreplacecallback. 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.

Affected Software

1 affected component
TastyIgniter TastyIgniter>=4.0.0<4.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.3.1

Event History

Dec 2, 2026
CVE Published
via MITRE·03:01 PM
Data Sourced
via MITRE·03:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

TastyIgniter versions 4.0.0 through versions before 4.3.1 are affected. The issue is patched in version 4.3.1.

2

What access does an attacker need to exploit this issue?

An attacker must be authenticated as a staff user and have the Site.Themes permission. They can use higher-order PHP functions in templates to invoke dangerous PHP functions that the sandbox blocks only by name.

3

What is the practical impact of successful exploitation?

Successful exploitation allows remote code execution on the server. The stated impact includes high confidentiality, integrity, and availability consequences, with scope changed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203