CVE-2026-109397 Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space
HighCVSS 8.6
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| thelia/thelia | < 3.1.2; >= 3.2.0, < 3.2.1 | 3.1.2, 3.2.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| thelia/thelia | < 3.1.2 | 3.1.2 |
| thelia/thelia | >= 3.2.0, < 3.2.1 | 3.2.1 |
References
- GitHub Security Advisory (GHSA-5524-qfxp-33v9) vendor-advisory
- github.com patch
- github.com patch
- github.com technical-description
- Thelia 3.1.2 Release Notes release-notes
- Thelia 3.2.1 Release Notes release-notes
- VulnCheck Advisory: Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space third-party-advisory
- ENISA EUVD EUVD-2026-97494 third-party-advisory