Skip to main content

Thelia CVE-2026-103537

| EUVDEUVD-2026-97483 MEDIUM
Code Injection (CWE-94)
2026-10-12 certcc GHSA-q9cq-f2v7-j486
5.4
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as back-office user
  2. Delivery
    Submit absolute path as template name
  3. Exploit
    Bypass checkTemplate relative-traversal filter
  4. Execution
    Smarty loads and compiles target file
  5. Impact
    Template code executes as web server user

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 'authorized user' account with access to Smarty template-name handling in Thelia (PR:L), so it is a post-authentication primitive, not remote-unauthenticated. The specific flaw: the checkTemplate() validation rejects relative directory-traversal sequences ('../') but does NOT reject absolute filesystem paths, letting the attacker point Smarty at an arbitrary file. Two deployment-dependent limiting factors gate actual code execution: (1) Smarty must load and compile without an effective security policy enabled, and (2) the attacker must be able to reference a file whose contents contain executable template code - this depends on the filesystem layout and deployment configuration, meaning the full SSTI-to-RCE outcome is not guaranteed on every install. Affected: Thelia versions up to and including 2.6.1.

Impact

This is a moderate, conditional-RCE issue rather than a top-priority emergency, and the signals are largely consistent on that point. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, base 5.4) models a network-reachable flaw requiring an already-authenticated user (PR:L) with only Low confidentiality and integrity impact and no availability impact - which is notably conservative given the description claims SSTI leading to remote code execution. The gap is explained by the description's own hedging: code execution occurs only 'depending on filesystem layout and deployment configuration,' so the scorers appear to have discounted full RCE impact because it is not reliably achievable, leaving C:L/I:L. EPSS is low at 0.40% (32nd percentile), there is no CISA KEV listing, and no public exploit is identified in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' All exploitation signals (low EPSS, no KEV, no POC) align toward low near-term real-world exploitation. The key tension to verify: the description asserts RCE but the official vector caps impact at Low/Low - if a given deployment's filesystem layout allows loading an attacker-controlled template file, the true impact is far higher than 5.4 suggests, so defenders should treat the CVSS score as a floor, not a ceiling. Also note the vulnerability requires an 'authorized user,' consistent with PR:L - this is a privilege-escalation/post-authentication RCE primitive, not an unauthenticated internet-wide threat.

Exploit ScenarioDerived

An authenticated back-office user of a Thelia store supplies an absolute filesystem path (e.g. a path to a file they can influence such as an upload, log, or shared location) as a Smarty template name; checkTemplate() blocks '../' sequences but not absolute paths, so Smarty loads and compiles the attacker-referenced file. If that file contains Smarty/PHP template code, it is executed with the web server's privileges, yielding server-side template injection and potential remote code execution. No public exploit code was identified at time of analysis, and success depends on the specific filesystem layout and deployment configuration.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 15, 2026

Authenticated template injection in Thelia versions up to and including 2.6.1 lets a logged-in user with access to Smarty template-name handling point the engine at an arbitrary absolute filesystem path, which can result in server-side template injection and, in some deployments, remote code execution. The flaw is post-authentication (CVSS vector PR:L) and the RCE outcome is conditional: it depends on Smarty loading/compiling the referenced file without an effective security policy and on a suitable file existing at the referenced path, so impact is not guaranteed on every installation. No public exploit code and no active exploitation were identified at time of analysis (EPSS 0.40%, ~32nd percentile), and no vendor-released fixed version was confirmed from the provided references (CERT/CC advisory VU#162329; CVE-2026-103537).

RemediationAI

No vendor-released patch was identified at time of analysis, so remediation must start with compensating controls rather than an upgrade; monitor https://kb.cert.org/vuls/id/162329 and https://nvd.nist.gov/vuln/detail/CVE-2026-103537 for a fixed Thelia release and apply it as soon as one is available (ruling out untrusted absolute paths entirely rather than blacklisting '../'). The most direct mitigation is to harden checkTemplate()/the template-name input path so that only a whitelist of known relative template names is accepted, rejecting anything containing an absolute path prefix, drive letter, stream wrapper (e.g. php://, file://), or path separator - trade-off: legitimate custom templates must be registered in the whitelist, which requires a small code change. Second, enforce the Smarty security policy at runtime (enable Smarty's security mode with an explicit list of permitted functions, modifiers, and directories) so that even a successfully loaded file cannot execute arbitrary PHP; trade-off: over-restrictive policies can break existing plugins and front-office templates, so test in staging first. Third, restrict the privilege that enables this primitive: remove Smarty template-name/template-selection capability from all but a minimal set of trusted administrators, and audit which accounts currently hold it, since exploitation requires an authenticated authorized user (PR:L). Fourth, reduce blast radius by running the web/PHP process as a low-privileged account with read-only access to application code, no access to writable template compile/cache directories containing attacker-influenced content, and open_basedir restrictions confining PHP file access to the application tree; trade-off: open_basedir and tightened filesystem permissions can surface as breakage in modules that read outside the tree. Finally, since the outcome depends on an attacker being able to reference a file containing executable template code, removing world-writable or user-upload directories from reachable paths and validating upload destinations reduces the practical exploitability of the primitive.

Affected VersionsENISA

Thelia 0 ≤2.6.1

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 e-commerce/framework application that uses the Smarty templating engine to render storefront and back-office views. CWE-94 (Improper Control of Generation of Code / Code Injection) describes the root cause here: the application's checkTemplate() validation routine blocks relative directory-traversal sequences such as '../' but fails to reject absolute filesystem paths, so a supplied template identifier can escape the intended template root entirely. Smarty then loads and compiles the referenced file; because template source is compiled into PHP, a file whose contents are valid Smarty syntax becomes executable code in the web server's context. The security boundary that would normally limit this - the Smarty security policy, which restricts allowed PHP functions, modifiers, and file access - is not effectively enabled in the affected configuration, per the assessment. The CPE cpe:2.3:a:thelia:thelia:*:*:*:*:*:*:*:* and the EUVD version range (Thelia 0 through 2.6.1) confirm the whole product line up to and including 2.6.1, not a single build. The CVSS vector supplied in the feed (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, base 5.4) rates only low confidentiality and integrity impact with no availability impact, whereas the independent assessment (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) treats it as a higher-impact but higher-complexity conditional code-execution issue; the difference centers on how reliably template compilation can be turned into arbitrary code execution, which is deployment-dependent.

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 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 7.5 HIGH

Authenticated back-office user (PR:L) over the network (AV:N); AC:H because reliable RCE depends on filesystem layout, writable template contents, and no active Smarty security policy; achievable code execution yields C:H/I:H/A:H.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/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
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 15, 2026 - 18:22 NVD
5.4 (MEDIUM)
CVE Published
Oct 12, 2026 - 14:56 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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 such as ../ 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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche open-source PHP/Symfony e-commerce platform, limited enterprise footprint
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Medium

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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-107248 HIGH
8.8 Oct 12

Server-side template injection in the back-office Email/Messages feature of Thelia 3.0.0 lets an authenticated user hold

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