High severity7.2NVD Advisory· Published Oct 12, 2026
CVE-2026-109397
CVE-2026-109397
Description
Thelia before 3.1.2 and 3.2.x before 3.2.1 contains an unrestricted file upload vulnerability that allows authenticated back-office users to upload PHP files by appending a trailing space to filenames. FileProcessorService validates the raw filename but FileManager::sanitizeFileName() strips the space, storing an executable .php file under public/cache/documents/ for code execution as the web server user.
Affected products
1Patches
Vulnerability mechanics
References
7- github.com/thelia/thelia/blob/3.2.0/core/lib/Thelia/Core/File/Service/FileProcessorService.phpnvd
- github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9d1fd8191anvd
- github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f76d06d5bcnvd
- github.com/thelia/thelia/releases/tag/3.1.2nvd
- github.com/thelia/thelia/releases/tag/3.2.1nvd
- github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9nvd
- www.vulncheck.com/advisories/thelia-before-3.1.2-and-3.2-x-before-3.2.1-file-upload-rce-via-filename-trailing-spacenvd
News mentions
0No linked articles in our index yet.