On this page (7 sections)

TastyIgniter, the open source restaurant ordering and management platform, has a critical flaw in its Media Manager. According to the GitHub advisory GHSA-7wwv-x6mc-pxqx, the upload feature accepts a file named .htaccess, and that file can be used to make the web server run PHP code. The issue is tracked as CVE-2026-69179 and the advisory lists 4.3.1 as the patched version.

If you run a TastyIgniter site, especially one where several people or agencies hold admin accounts, you should check your version and update. The advisory's proof of concept starts from a logged-in admin session, which lowers the odds of a drive-by attack but raises the stakes if any admin credential is weak or stolen.

What happened

The advisory was published on July 6, 2026 and last updated on November 25, 2026. It is titled as remote code execution through an unrestricted file upload in the Media Manager. The description is short: the upload function accepts a .htaccess file, and that file can be used to let any file extension run as PHP.

So far this rests on a single source, the GitHub advisory itself. The advisory does not say whether the flaw has been exploited, and no other write-ups were available. Treat the severity as the rating given in the CVE record data and watch for further analysis.

How the weakness works

Media managers are meant to store images and documents. A safe one restricts what can be uploaded by file name and type. This one reportedly lets through a file whose only purpose is to change web server behavior. On Apache, a .htaccess file placed in a directory can override handler settings for that directory. If it tells the server to treat a harmless-looking extension such as .jpg as PHP, then a later upload with that extension is executed instead of served.

That turns an image upload form into a code execution path. Code running as the web server user can typically read application configuration, including database credentials and the application key, and can change site files. The advisory's proof of concept needs a logged-in admin, and it relies on the web server honoring .htaccess overrides. I am deliberately not reproducing the request or payload here.

Who is exposed

  • Any TastyIgniter installation below 4.3.1 (the affected package is listed under Composer).
  • Sites served by Apache, or another server that honors .htaccess files, with overrides allowed in the media directory. The advisory does not state how Nginx-only setups are affected, so do not assume you are safe or unsafe on that basis alone; update either way.
  • Installations with shared, reused or weak admin passwords, or with admin accounts for former staff and contractors, since the proof of concept needs admin access.
  • Admin panels reachable from the open internet without extra access controls.
The CVE record data lists no CWE identifier. The advisory title describes the class as unrestricted file upload.

How to check your exposure

First find the installed version. Run this from the project root on the server. It prints the installed tastyigniter/tastyigniter package and version. Anything below 4.3.1 is affected.

Show the installed TastyIgniter version (run in the project root)Shell
composer show tastyigniter/tastyigniter

Next, look for files that should not be there. This read-only command lists any .htaccess files under a storage path where uploads may live. The path below is an assumption, so adjust it to wherever your Media Manager stores files. A .htaccess file inside a media folder that you did not create deserves investigation.

List .htaccess files below a media directory (adjust the path to your install)Shell
find /var/www/your-site/storage/app/public -name ".htaccess" -type f -ls

Also check for PHP code hiding under image extensions in the same folders. This grep lists .jpg, .png and .gif files that contain a PHP opening tag. Real images almost never do.

Find image files that contain PHP tags (adjust the path)Shell
grep -rlE --include='*.jpg' --include='*.png' --include='*.gif' '<\?php' /var/www/your-site/storage/app/public

What to do now

  1. Back up the site files and database before changing anything.
  2. Upgrade TastyIgniter to 4.3.1 or later using the upgrade method you normally use, then confirm the version with composer show.
  3. Review the list of admin accounts and remove any that are unused or unknown.
  4. Reset passwords for admin users, use unique strong ones, and enable any additional sign-in protection available to you.
  5. Run the .htaccess and PHP-in-image checks above. If you find unexpected files, treat the site as possibly compromised.
  6. Restrict access to the /admin path by IP address or a VPN where practical.
  7. Make sure upload directories cannot execute PHP, using your web server configuration, as a second layer of defense.
Caution. Upgrading can change behavior or break custom themes and extensions. Take a backup and test on a staging copy before updating production.

The advisory only states that 4.3.1 is the patched version; it does not prescribe an update command. Follow the upgrade process you normally use for your installation and the project's own documentation. The key point is ending up on 4.3.1 or later.

Tip. If you find a suspicious file, do not just delete it. Save a copy for analysis, check web server access logs for requests to it, and rotate the database password, application key and any API keys stored on the server. Our guide on what to do when a website is hacked walks through the cleanup.

Detection and monitoring

Because the proof of concept needs an admin session, logs are your best evidence. Look in web server and application logs for POST requests to the admin media manager path from unfamiliar IP addresses, and for uploads of unusual file names around them. Then look for requests to image-extension files that return dynamic output or errors instead of images.

Longer term, keep admin access narrow, keep dependencies current, and watch for unexpected file changes. An outside-in view helps too: a read-only scan of your site and change monitoring can surface new exposed files or changed headers, though they cannot see everything happening inside the server. See what outside-in malware detection can and cannot see for the limits.

Timeline

Dates from the GitHub advisory
DateEvent
Jul 6, 2026Advisory GHSA-7wwv-x6mc-pxqx published on GitHub
Nov 25, 2026Advisory last updated

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-69179 - GitHub Advisory Databasegithub.com
  • TastyIgniter
  • CVE-2026-69179
  • RCE
  • file upload
  • Composer