{"id":"CVE-2026-109397","aliases":["CVE-2026-109397"],"related":[],"kind":"vulnerability","state":"published","title":"Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-12T15:16:43.107Z","modified":"2026-10-13T20:41:35.943Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.1.2","status":"affected"},{"type":"semver","introduced":"3.2.0","fixed":"3.2.1","status":"affected"}],"vendor":"Thelia","product":"Thelia","repo":"https://github.com/thelia/thelia","source":"cvelist"}],"references":[{"url":"https://github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9d1fd8191a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f76d06d5bc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/thelia/thelia/blob/3.2.0/core/lib/Thelia/Core/File/Service/FileProcessorService.php#L119-L160","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/thelia/thelia/releases/tag/3.1.2","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/thelia/thelia/releases/tag/3.2.1","tags":["release-notes"],"sources":["cvelist","nvd"]},{"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"],"sources":["cvelist","nvd"]}],"credits":["HunterSploit"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-13T16:40:48.601Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-109397","url":"https://www.cve.org/CVERecord?id=CVE-2026-109397","licence":"CVE Terms of Use","modified":"2026-10-13T16:57:16.106Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-109397","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-109397","licence":"Public domain","modified":"2026-10-13T20:41:35.943Z"}],"updatedAt":"2026-11-25T22:59:43.599Z","epss":{"score":0.00824,"percentile":0.5456,"date":"2026-11-30T12:00:22.000Z"}}