CVE-2026-103535

CVE-2026-103535

Published Oct 12, 2026 CVSS 3.1 · 8.8 High EPSS 1.1% KEV · Not listed
Description
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, used to build the translation file's write path, does not sanitize directory traversal sequences such as `../`. This enables an authenticated user with `UPDATE`-level permissions on `admin.configuration.language` to write files outside the expected `templates/` directory, including to web‑accessible paths. Separately, the translation‑writing logic does not escape `\` in user‑supplied values, allowing inputs to break out of the PHP string literal and inject executable code into the translation file. Chained together, these flaws allow a malicious PHP file to be written to a web-accessible path and executed with the web‑server’s privileges.

Analysis

AI-generated

Technical impact

Thelia version 2.6.1 has a combined path traversal and PHP code injection flaw in its translation editor. The editor uses an unvalidated item_name parameter to create the path for translation files, allowing an attacker to write files outside the expected templates directory. A separate issue in the translation-writing logic fails to escape backslashes in user input, enabling the injection of executable PHP code into the translation file. When these two weaknesses are chained, an authenticated user with UPDATE rights on admin.configuration.language can create a PHP file in a web‑accessible location and trigger remote code execution with the web‑server’s privileges.

Affected Systems

This vulnerability affects Thelia 2.6.1 and any installations running that exact version without applying later fixes. No other Thelia releases are identified as affected in the current advisory.

Risk and Exploitability

The vulnerability provides a remote code execution path for authenticated users, representing a high impact. The CVSS score is not provided, and the EPSS score is unavailable; however, the exploitation vector does not require privileged access beyond existing user permissions, increasing the likelihood of use. The vulnerability is not listed in CISA KEV catalog, but the lack of public exploitation data must not lower the urgency of remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Thelia to a patched version that eliminates the path traversal and code injection flaws.
  • Restrict users to the minimum required permission level; avoid assigning UPDATE rights on admin.configuration.language to accounts that do not need it.
  • Configure the web server so that the directory used for translation files does not allow execution of PHP scripts, or delete any PHP files unintentionally placed there.

Generated by OpenCVE AI on October 12, 2026 at 16:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
Weaknesses CWE-434
CWE-94
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Thelia
Thelia thelia
Vendors & Products Thelia
Thelia thelia
Type Values Removed Values Added
Weaknesses CWE-20
CWE-22
Type Values Removed Values Added
Description 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, used to build the translation file's write path, does not sanitize directory traversal sequences such as `../`. This enables an authenticated user with `UPDATE`-level permissions on `admin.configuration.language` to write files outside the expected `templates/` directory, including to web‑accessible paths. Separately, the translation‑writing logic does not escape `\` in user‑supplied values, allowing inputs to break out of the PHP string literal and inject executable code into the translation file. Chained together, these flaws allow a malicious PHP file to be written to a web-accessible path and executed with the web‑server’s privileges.
Title CVE-2026-103535
References
Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-434

    Unrestricted Upload of File with Dangerous Type

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Oct 15, 2026, 5:03 PM
Reserved
Sep 30, 2026, 7:07 PM
Status
Deferred
Published
Oct 12, 2026, 3:17 PM
Modified
Oct 15, 2026, 6:17 PM