CVE Catalog

CVE-2026-109397

HighCVSS 7.2
Published: Translated: NVD NIST

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.

Risk Assessment

The risk is arbitrary code execution on the server by an authenticated back-office user, potentially leading to full system compromise.

Recommendation

Upgrade Thelia to version 3.1.2 or 3.2.1 and implement additional filename and file type validation controls.

Other vulnerabilities in Thelia

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS