PatchSiren cyber security CVE debrief
CVE-2026-109397 Thelia CVE debrief
The CVE-2026-109397 vulnerability in Thelia, a content management system, allows authenticated back-office users to upload PHP files by appending a trailing space to filenames, potentially leading to remote code execution as the web server user. This issue affects Thelia versions before 3.1.2 and 3.2.x before 3.2.1. The vulnerability arises from the FileProcessorService validating the raw filename but FileManager::sanitizeFileName() stripping the space, storing an executable .php file under public/cache/documents/ for code execution. Defenders should assess their exposure, prioritize patching or mitigating this vulnerability, and monitor for suspicious activity.
- Vendor
- Thelia
- Product
- Unknown
- CVSS
- HIGH 8.6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-12
- Original CVE updated
- 2026-10-12
- Advisory published
- 2026-10-12
- Advisory updated
- 2026-10-12
Who should care
Defenders managing Thelia installations, especially those with exposed back-office access, should assess their exposure and prioritize patching or mitigating this vulnerability. This includes operators, platform administrators, vulnerability management teams, and security teams who need to ensure the security of Thelia deployments.
Why it matters
CVE-2026-109397 allows authenticated users to upload malicious PHP files, potentially leading to remote code execution. Defenders should prioritize patching, restrict back-office access, and monitor for suspicious activity.
- Potential remote code execution as the web server user
- Elevation of privileges for authenticated back-office users
- Possible data breaches or unauthorized modifications
Technical 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.
Defensive priority
Defenders should prioritize patching or mitigating this vulnerability, especially in environments where back-office access is exposed to untrusted users or networks.
Recommended defensive actions
- Patch Thelia to version 3.1.2 or 3.2.1
- Restrict back-office access to trusted users and networks
- Monitor public/cache/documents/ for suspicious files
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The vulnerability is caused by the FileProcessorService validating the raw filename but FileManager::sanitizeFileName() stripping the space, storing an executable .php file under public/cache/documents/ for code execution as the web server user. Official sources confirm this issue.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-109397 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-109397
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-109397 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-109397
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/109xxx/CVE-2026-109397.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/thelia/thelia/security/advisories/GHSA-5524-qfxp-33v9
Supplemental source - vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://github.com/thelia/thelia/commit/6b706f5cb96e6b12d890c6d16edb1c9d1fd8191a
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/thelia/thelia/commit/b71258902b5dd278007d0f37ddad45f76d06d5bc
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/thelia/thelia/blob/3.2.0/core/lib/Thelia/Core/File/Service/FileProcessorService.php
Supplemental source - technical-description
-
Source reference
Unverified legacy reference
URL: https://github.com/thelia/thelia/releases/tag/3.1.2
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
URL: https://github.com/thelia/thelia/releases/tag/3.2.1
Supplemental source - release-notes
-
Source reference
Unverified legacy reference
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
Supplemental source - third-party-advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.