TastyIgniter Media Manager Flaw Allows Unauthenticated-to-RCE Chain via .htaccess Upload (CVE-2026-69179)
What happened
A GitHub Security Advisory (GHSA-7wwv-x6mc-pxqx, CVE-2026-69179) describes an unrestricted file upload vulnerability in TastyIgniter's admin Media Manager. The advisory reports that the upload endpoint (/admin/media_manager) accepts a .htaccess file. In the published PoC, an attacker with admin access uploads a crafted .htaccess that remaps a benign extension such as .jpg to the PHP handler using SetHandler application/x-httpd-php. The attacker then uploads a PHP webshell with that extension to achieve remote code execution. The advisory scores the issue 9.1 (critical) and states the PoC is public.
Why it matters
TastyIgniter is distributed via Composer as tastyigniter/tastyigniter. The advisory states the prerequisite is admin-panel access. This is a post-authentication issue, not a pre-auth RCE. It still matters. Admin-panel compromise, for example through credential reuse or a separate bug, becomes a direct path to server code execution instead of staying contained to the application layer. Any internet-facing deployment with an exposed admin login is exposed to this escalation path. The technique of uploading an Apache config file to change handler behavior is reusable against similarly built file managers.
What defenders should watch for
- Audit Apache-backed PHP upload functionality for acceptance of dotfiles such as
.htaccessor.user.ini. Restrict uploads to an allow-list of content types validated against actual file content, not the declared extension or MIME header. - Hunt for uploaded
.htaccessfiles in media and upload directories. Also look for image-extension files whose content resembles PHP, such as<?phpmarkers in files served as.jpgor.png. - Monitor web server logs for
POSTrequests to admin media endpoints that carry multipart uploads with filenames ending in.htaccess. Watch for process execution spawned by the web server user shortly after such uploads. - As mitigation, disable per-directory
.htaccessprocessing in upload directories, enforce admin-panel MFA, and apply the vendor fix once it is available.
Developing intel
This is a recent advisory and details may change as the vendor responds and a patched version is released. For the authoritative write-up, PoC, and fix status, see the GitHub Security Advisory: GHSA-7wwv-x6mc-pxqx.