CVE-2026-102771 Naichen ThinkCMF Email Template MailController.php templatePut special elements in template engine
Remote attackers can inject malicious code into the email template engine, potentially leading to arbitrary code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-102771?
CVE-2026-102771 is a medium-severity code injection vulnerability in Naichen ThinkCMF, published on 29 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A security vulnerability has been detected in Naichen ThinkCMF up to 8.0.7. Affected by this issue is the function MailController::templatePut of the file cmf-api/src/admin/controller/MailController.php of the component Email Template. The manipulation leads to improper neutralization of special elements used in a template engine. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Which versions are affected by CVE-2026-102771?
How do I fix CVE-2026-102771?
No fix has been published for CVE-2026-102771 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-102771 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102771 exists.
Sources
Also known as GHSA-8648-mq73-m727.