Skip to main content

Thelia CVE-2026-107248

| EUVDEUVD-2026-97485 HIGH
Code Injection (CWE-94)
2026-10-12 certcc GHSA-25fx-hhx2-xwq3
8.8
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to back-office with Messages permission
  2. Delivery
    Edit Email/Message template content
  3. Exploit
    Inject unsandboxed Twig/SSTI payload
  4. Execution
    Payload compiled and executed as PHP
  5. Persist
    Execute arbitrary functions, read/write files
  6. Impact
    Full 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Thelia 3.0.0

Affected Packages

euvd thelia no fix

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

Vendor (certcc) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Oct 15, 2026 - 18:22 NVD
8.8 (HIGH)
CVE Published
Oct 12, 2026 - 15:06 cve.org
HIGH 8.8
CVE Published
Oct 12, 2026 - 15:06 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
Thelia is a niche open-source PHP e-commerce platform, limited deployment
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in Thelia

View all
CVE-2026-103535 HIGH
8.8 Oct 12

Authenticated back-office users of Thelia through 2.6.1 can chain a path traversal flaw in the translation editor with a

CVE-2026-109397 HIGH
8.6 Oct 12

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

CVE-2026-103521 HIGH
7.2 Oct 12

Remote code execution in Thelia v2.6.0 is achievable by an authenticated administrator who abuses the document update en

CVE-2026-103522 HIGH
7.2 Oct 12

Authenticated attackers holding a Thelia administrator account can achieve remote code execution on the underlying serve

CVE-2026-103523 MEDIUM
6.1 Oct 12

An open redirect in Thelia's address-creation workflow (versions up to and including 2.6.0) lets an attacker craft a URL

CVE-2026-103527 MEDIUM
6.1 Oct 12

Reflected cross-site scripting in Thelia versions up to 2.6.0 allows remote attackers to execute arbitrary JavaScript in

CVE-2026-103528 MEDIUM
5.4 Oct 12

Authenticated administrators of Thelia 2.6.0 and earlier can achieve remote code execution by injecting malicious Smarty

CVE-2026-103537 MEDIUM
5.4 Oct 12

Authenticated template injection in Thelia versions up to and including 2.6.1 lets a logged-in user with access to Smart

CVE-2026-103529 MEDIUM
5.4 Oct 12

Remote code execution in Thelia 2.6.0 and earlier is achievable by an authenticated back-office administrator who uses t

CVE-2026-103524 MEDIUM
4.8 Oct 12

Stored cross-site scripting in Thelia (all versions from 0 through 2.6.0) lets an authenticated back-office user - speci

CVE-2026-103526 LOW
3.7 Oct 12

Username enumeration in Thelia 2.6.0 lets unauthenticated remote attackers determine which administrator accounts exist

CVE-2026-109396 LOW
2.3 Oct 12

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy