Server-side template injection in Thelia allows code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-1336.
Summary
Thelia from 3.0.0 has a server-side template injection flaw in the back-office Email/Messages feature. The feature compiles unsandboxed Twig templates supplied by users and runs them as raw code (CWE-94). An authenticated user with the Messages permission can execute arbitrary PHP functions, read sensitive files and potentially write to the filesystem by editing message content.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update thelia/twig-engine-module to version 1.0.9, which patches this vulnerability. The sources list no fixed version for Thelia.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Timeline
- 2026-10-12 Threatist record created from CVE-2026-107248
- 2026-10-12 Alias added: GHSA-25fx-hhx2-xwq3
- 2026-10-16 CVSS score added · CISA ADP
- 2026-10-16 Weakness changed · CISA ADP
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-16 Priority changed: LOW → MEDIUM
References
More Thelia vulnerabilities
- TI-2026-83555 Stored cross-site scripting in Thelia via coupon customer names CVSS 4.0HIGH 7.4
- TI-2026-83574 Cross-site request forgery in Thelia back-office product combination routes CVSS 4.0MEDIUM 6.9
- TI-2026-83557 CSRF in Thelia Page Module delete routes lets attackers remove images CVSS 4.0HIGH 7.0
- TI-2026-83556 Thelia back office CSRF via leaked URL tokens and unprotected actions CVSS 4.0MEDIUM 5.9
- TI-2026-71031 CSV formula injection in Thelia exports lets visitors run spreadsheet formulas CVSS 4.0LOW 2.3
- TI-2026-71005 Thelia translation editor flaws allow remote code execution CVSS 3.1HIGH 8.8
Sources
- CVE-2026-107248 · CVE Program
- CVE-2026-107248 · NVD
- FIRST EPSS
- GHSA-25fx-hhx2-xwq3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences