Arbitrary file upload in Thelia
CVE-2026-109397
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.
Vulnerability class: Unrestricted File Upload
Published .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9 (vendor-advisory)
- github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9d1fd8191a (patch)
- github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f76d06d5bc (patch)
- github.com/thelia/thelia/blob/3.2.0/core/lib/Thelia/Core/File/Service/FileProce… (technical-description)
- github.com/thelia/thelia/releases/tag/3.1.2 (release-notes)
- github.com/thelia/thelia/releases/tag/3.2.1 (release-notes)
- www.vulncheck.com/advisories/thelia-before-3.1.2-and-3.2-x-before-3.2.1-file-up… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-109397?
- CVE-2026-109397 is a high-severity vulnerability in Thelia, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 7.2/10. Published 2026-10-12.
- How severe is CVE-2026-109397?
- High severity. CVSS v3 base score is 7.2 out of 10.