Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to back-office with Messages permission
-
DeliveryEdit Email/Message template content
-
ExploitInject unsandboxed Twig/SSTI payload
-
ExecutionPayload compiled and executed as PHP
-
PersistExecute arbitrary functions, read/write files
-
ImpactFull application and host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated back-office account that holds the specific 'Messages' permission; the attacker must use the Email/Messages template-editing feature to supply Twig template content. The decisive enabling condition is that the Twig templating engine is used UNSANDBOXED, so operator-supplied template markup is compiled and executed as raw PHP rather than rendered as inert text. Limiting factors that reduce realistic risk below the raw CVSS score: valid credentials plus the 'Messages' privilege are mandatory (PR:L, not unauthenticated), there is no mass-exploitation vector against anonymous users, and the affected component is the specific Thelia Twig engine module in Thelia 3.0.0; environments on the patched thelia/twig-engine-module 1.0.9 or without operator access to message templates are not exploitable. |
| Impact | Signals are mostly aligned toward a genuine but access-gated threat. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity flaw requiring only low privileges and no user interaction, yielding full C:H/I:H/A:H impact via arbitrary PHP execution (CWE-94 SSTI) - a legitimately high base score of 8.8. However, EPSS is very low at 0.19% (8th percentile), the CVE is NOT on CISA KEV, and no public exploit (POC) is referenced, so there is no evidence of active or widespread exploitation. The key limiting factor NOT captured by the raw score is the PR:L requirement combined with the specific 'Messages' back-office permission: the attacker must already be an authenticated back-office operator with that permission, which sharply narrows the realistic attacker population to insiders or those who have already compromised privileged credentials. Net assessment: a real priority to patch for anyone running Thelia 3.0.0, because successful exploitation yields full host compromise, but it is NOT a drop-everything internet-wide emergency - the low EPSS and privileged-access precondition make this closer to a high-impact post-authentication/insider risk than a mass-exploitation external threat. No signals are directly conflicting; the CVSS network vector is consistent with the back-office being an authenticated web UI. |
| Exploit ScenarioDerived | An authenticated back-office user (or an attacker who has phished or otherwise obtained such credentials) who holds the 'Messages' permission edits an Email/Message template and injects a malicious Twig payload. Because the templates are unsandboxed and compiled to raw PHP, the payload executes arbitrary PHP functions on the server - reading sensitive files, and potentially writing to the filesystem - leading to full application and host compromise. No public proof-of-concept exploit is referenced at time of analysis, so exploitation would currently require custom Twig/SSTI payload crafting. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Server-side template injection in the back-office Email/Messages feature of Thelia 3.0.0 lets an authenticated user holding the 'Messages' permission submit unsandboxed Twig templates that the application compiles and executes as raw PHP, enabling arbitrary function calls, sensitive file reads, and potential filesystem writes that can compromise both the application and its underlying host. Exploitation requires valid back-office credentials plus the 'Messages' privilege (CVSS vector PR:L), so there is no anonymous or mass-exploitation path; EPSS is low at 0.19% (8th percentile) and no public exploit code or CISA KEV entry has been identified, though the flaw is remotely triggerable and rated 8.8 for its high confidentiality, integrity, and availability impact once the privilege prerequisite is met. The vendor has shipped a fix in thelia/twig-engine-module 1.0.9.
RemediationAI
Apply the vendor fix by upgrading thelia/twig-engine-module to 1.0.9 or later, which restores the sandbox that prevents operator-supplied Twig from executing as PHP; confirm the update through your Composer lockfile and redeploy the back office. If immediate patching is not possible, remove or disable the 'Messages' permission from all non-essential back-office roles and, where the module permits it, run Twig with the SandboxExtension enabled and an explicit allowlist of tags, filters, and functions so that message templates can only interpolate approved values - the trade-off is that legitimate dynamic templates using disallowed constructs will fail to render and must be rewritten. Restrict back-office network exposure (IP allowlisting, VPN, or reverse-proxy ACLs) since the flaw is reachable only through authenticated administrative interfaces, and audit existing message and email templates plus web/PHP logs for injected Twig payloads or unexpected PHP function invocations, rotating application secrets and database credentials if any tampering is found. Advisory context is available at https://kb.cert.org/vuls/id/162329 and https://nvd.nist.gov/vuln/detail/CVE-2026-107248.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Thelia is a PHP/MySQL e-commerce application built on Symfony components, and it renders back-office message and email bodies through Twig, the PHP templating engine. Twig normally offers a SandboxExtension that whitelists permitted tags, filters, and functions, but in the Email/Messages editing path of Thelia 3.0.0 the template content supplied by an operator is compiled and evaluated without that sandbox. This is the classic CWE-94 (Improper Control of Generation of Code) pattern: user-controlled text is treated as template source rather than as inert data, and because Twig templates can invoke arbitrary PHP callables when unrestricted, an attacker can call functions such as file readers, shell helpers, or filesystem writers directly from template markup. CPE data identifies the affected target as cpe:2.3:a:thelia:thelia:*:*:*:*:*:*:*:* (Thelia), and the vulnerable module is thelia/twig-engine-module prior to 1.0.9, which is where the patched enforcement of the template sandbox exists. The impact class also explains why the integrity and confidentiality scores are High: code execution within the web process typically yields access to application secrets, database credentials, and the host filesystem.
Know when Thelia gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Back-office is network-reachable (AV:N) and exploit is straightforward (AC:L) but needs an authenticated user with the Messages permission (PR:L); SSTI-to-PHP RCE yields full C/I/A:H.
Primary rating from Vendor (certcc).
CVSS VectorVendor: certcc
Lifecycle Timeline
3DescriptionCVE.org
Thelia 3.0.0's back-office Email/Messages feature contains a server‑side template injection (SSTI) flaw that allows any authenticated user with the “Messages” permission to supply unsandboxed Twig templates, which are then compiled and executed as raw code. By modifying Message content, an attacker can execute arbitrary PHP functions, read sensitive files, and potentially write to the filesystem, leading to full compromise of the application and underlying host. This vulnerability has been patched in thelia/twig-engine-module 1.0.9.
Executive ViewAI
Thelia 3.0.0's back-office Email/Messages feature contains a server-side template injection flaw that lets an authenticated user with the 'Messages' permission execute arbitrary PHP, threatening application and host compromise. Although exploitation requires valid back-office credentials and no public exploit code or CISA KEV entry has been identified at time of analysis, successful abuse could expose customer data, alter transactions, and disrupt e-commerce operations. Leadership should prioritize confirming exposure, minimizing the affected privilege, and validating and deploying the vendor-released fix in thelia/twig-engine-module 1.0.9.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Authenticated back-office users of Thelia through 2.6.1 can chain a path traversal flaw in the translation editor with a
Remote code execution in the Thelia e-commerce platform (all versions before 3.1.2 and 3.2.x before 3.2.1) allows an aut
Remote code execution in Thelia v2.6.0 is achievable by an authenticated administrator who abuses the document update en
Authenticated attackers holding a Thelia administrator account can achieve remote code execution on the underlying serve
An open redirect in Thelia's address-creation workflow (versions up to and including 2.6.0) lets an attacker craft a URL
Reflected cross-site scripting in Thelia versions up to 2.6.0 allows remote attackers to execute arbitrary JavaScript in
Authenticated administrators of Thelia 2.6.0 and earlier can achieve remote code execution by injecting malicious Smarty
Authenticated template injection in Thelia versions up to and including 2.6.1 lets a logged-in user with access to Smart
Remote code execution in Thelia 2.6.0 and earlier is achievable by an authenticated back-office administrator who uses t
Stored cross-site scripting in Thelia (all versions from 0 through 2.6.0) lets an authenticated back-office user - speci
Username enumeration in Thelia 2.6.0 lets unauthenticated remote attackers determine which administrator accounts exist
CSV formula injection in Thelia (before 3.1.2 and 3.2.0 through 3.2.0, fixed in 3.2.1) lets unauthenticated visitors pla
EUVD-2026-97485
GHSA-25fx-hhx2-xwq3
NVD
CVE.org
EPSS
Exploit-DB