{"id":"CVE-2026-109397","revision":"b6224f2a2f534dd49a35434bb0667686","records":[{"revision":"b6224f2a2f534dd49a35434bb0667686","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-109397","aliases":[],"title":"Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space","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.","state":0,"publishedAt":"2026-10-12T15:16:43.107+00:00","modifiedAt":"2026-10-13T16:57:16.106+00:00","affected":[{"ecosystem":"Vendor product","name":"Thelia","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Thelia\",\n                    \"product\": \"Thelia\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"3.1.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"3.2.0\",\n                            \"lessThan\": \"3.2.1\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"packageURL\": \"pkg:composer/thelia/thelia\",\n                    \"repo\": \"https://github.com/thelia/thelia\"\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"},{"system":"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,"severity":"HIGH"}],"references":["https://github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9","https://github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9d1fd8191a","https://github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f76d06d5bc","https://github.com/thelia/thelia/blob/3.2.0/core/lib/Thelia/Core/File/Service/FileProcessorService.php#L119-L160","https://github.com/thelia/thelia/releases/tag/3.1.2","https://github.com/thelia/thelia/releases/tag/3.2.1","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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-109397","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-109397","identifiers":["CVE-2026-109397"]},"retained":false,"historicalAffected":[]}],"coverage":[]}