CVE-2026-109397 Details
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.
A vulnerability allowing unrestricted file uploads has been identified in Thelia versions prior to 3.1.2 and in the 3.2.x branch prior to 3.2.1. This vulnerability allows authenticated back-office users to upload PHP files by adding a trailing space to the filename. The FileProcessorService validates the raw filename, but the FileManager's sanitizeFileName() method removes the space, resulting in the storage of an executable .php file in the public/cache/documents/ directory. Consequently, the uploaded file can be executed as the web server user.
Users can update to Thelia versions 3.1.2 or 3.2.1, both of which include the necessary fix. After updating, it is recommended to remove any files that were uploaded before the update and could still be present in the document cache.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 12, 2026CISA-ADP
Assessed Oct 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Thelia | < 3.1.2 (semver) >= 3.2.0, < 3.2.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Modified | CISA-ADP |
| Oct 12, 2026 | New CVE Received | [email protected] |
Volerion