{"id":"CVE-2026-109397","published":"2026-10-12T15:16:43Z","modified":"2026-10-13T16:57:16Z","title":"Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space","vendor":"Thelia","product":"Thelia","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00441,"percentile":0.39221,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9","tags":["vendor-advisory"]},{"url":"https://github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9d1fd8191a","tags":["patch"]},{"url":"https://github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f76d06d5bc","tags":["patch"]},{"url":"https://github.com/thelia/thelia/blob/3.2.0/core/lib/Thelia/Core/File/Service/FileProcessorService.php#L119-L160","tags":["technical-description"]},{"url":"https://github.com/thelia/thelia/releases/tag/3.1.2","tags":["release-notes"]},{"url":"https://github.com/thelia/thelia/releases/tag/3.2.1","tags":["release-notes"]},{"url":"https://www.vulncheck.com/advisories/thelia-before-3.1.2-and-3.2-x-before-3.2.1-file-upload-rce-via-filename-trailing-space","tags":["third-party-advisory"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":7.84},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"thelia","affectedVersions":[{"vendor":"Thelia","product":"Thelia","versions":["< 3.1.2",">= 3.2.0, < 3.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-13T16:40:48.601402Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-97494","exploited":false,"provenance":"source"}}