CVE-2026-103521
HighCVSS 7.2Summary
In Thelia v2.6.0, the document update endpoint does not perform the same validation as the upload endpoint, which blocks executable file types. An attacker with administrative Thelia permissions can exploit this to upload arbitrary executable files, such as malicious PHP scripts, achieving remote code execution.
Risk Assessment
An attacker with admin privileges can upload malicious executable files, leading to remote code execution and server compromise.
Recommendation
Update Thelia to a patched version. Ensure all file upload and update endpoints have consistent file type validation.
Other vulnerabilities in Thelia
See all- CVE-2026-109397High
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-109396Medium
Thelia before 3.1.2 and 3.2.x before 3.2.1 contains a CSV formula injection vulnerability that allows unauthenticated visitors to inject spreadsheet formulas by supplying crafted registration, checkout or newsletter fields.
- CVE-2026-107248Unknown
Thelia 3.0.0's back-office Email/Messages feature contains a server-side template injection (SSTI) flaw allowing any authenticated user with 'Messages' permission to supply unsandboxed Twig templates, executed as raw code. Can lead to full compromise of application and host.
- CVE-2026-103537Unknown
Thelia 2.6.1 contains an absolute path traversal vulnerability in its Smarty template handling that enables SSTI and remote code execution. The checkTemplate() validation restricts relative directory traversal sequences but does not reject absolute paths, allowing an authorized user to supply an arbitrary filesystem path as a template. Smarty then loads and compiles the referenced file without an effective security policy, so depending on filesystem layout and deployment configuration, template code in the file can be executed with the web server's privileges.
- CVE-2026-103535Unknown
Thelia v2.6.1 contains path traversal and PHP code injection vulnerabilities in its translation editor that can be chained to achieve remote code execution. The item_name parameter does not sanitize directory traversal sequences, allowing an authenticated user with UPDATE-level permissions to write files outside the expected templates directory, including web-accessible paths. Additionally, the translation-writing logic does not escape backslashes, allowing inputs to break out of PHP string literals and inject executable code. Chained together, these flaws allow a malicious PHP file to be written to a web-accessible path and executed with web-server privileges.
- CVE-2026-103529Unknown
Thelia v2.6.0 permits authenticated administrators to upload and install modules via the ZIP upload function without validating or sandboxing embedded PHP code. An attacker can include malicious PHP code in a module's install() method which will then be executed upon installation, enabling remote code execution with the privileges of the web server.
- CVE-2026-103528Unknown
Thelia 2.6.0 uses Smarty for email templates without properly restricting access to dangerous PHP functions. An authenticated administrator can inject malicious Smarty expressions into email templates via the messages configuration interface, and when the template is previewed or rendered, functions such as system(), exec(), file_put_contents(), and file_get_contents() can be executed with the privileges of the web process. This allows arbitrary OS command execution, file read/write operations, and RCE on the underlying server.
- CVE-2026-103527Unknown
Thelia v2.6.0's Smarty templates (address.html and address-update.html) fail to properly escape double quotes in the 'next' parameter, enabling reflected Cross-Site Scripting (XSS) when an authenticated user visits the malicious link containing attacker-controlled JavaScript.
- CVE-2026-103526Low
In Thelia v2.6.0, both the admin login and forgotten password endpoints return different responses for invalid usernames and incorrect passwords, allowing unauthenticated attackers to enumerate admin accounts. Lack of rate limiting facilitates scalable attacks.
- CVE-2026-103524Unknown
Thelia v2.6.0 is vulnerable to multiple stored XSS vulnerabilities within the administrative interface. User-supplied input is stored without sufficient output encoding or sanitization and is later rendered in the administrator interface and/or the web store's product pages, allowing arbitrary JavaScript execution when the affected pages are viewed. The vulnerability affects multiple administrative functions including category creation and product creation.
Original NVD description (English source)
In Thelia v2.6.0, the document upload endpoint properly blocks the upload of executable file types, but the document update endpoint does not perform the same validation. An attacker with administrative Thelia permissions can exploit this vulnerability to upload arbitrary executable files, such as malicious PHP scripts, to achieve remote code execution on the underlying server.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

