CVE-2026-107248 CVE-2026-107248
Authenticated users with Messages permission can execute arbitrary PHP code via server-side template injection in Thelia's back-office.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-107248?
CVE-2026-107248 is a high-severity code injection vulnerability in Thelia, published on 12 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2026-107248?
How do I fix CVE-2026-107248?
No fix has been published for CVE-2026-107248 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-107248 being exploited?
There is no known exploitation of CVE-2026-107248 in the wild and no public exploit code.
Sources
Also known as GHSA-25fx-hhx2-xwq3.