Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space
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.
CVE-2026-109397
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-109397
Thelia
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/thelia/thelia",
"vendor": "Thelia",
"product": "Thelia",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "3.1.2",
"versionType": "semver"
},
{
"status": "affected",
"version": "3.2.0",
"lessThan": "3.2.1",
"versionType": "semver"
}
],
"packageURL": "pkg:composer/thelia/thelia",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-109397
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #20498 · Revision 1
- Added to Heist Feed
- Publisher date