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.
Published: 2026-09-29
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

The flaw in MailController::templatePut allows an attacker to inject arbitrary template syntax because the engine fails to neutralize special elements. This missing sanitization constitutes a server‑side template injection weakness (CWE‑1336) that can be abused to execute code on the host. The vendor’s lack of a response further increases the risk for systems still running the vulnerable versions.

Affected Systems

All deployments of Naichen ThinkCMF version 8.0.7 and earlier, especially the Email Template module that contains MailController.php. Administrators using the default configuration of the MailController endpoint must be aware that any request to templatePut can be manipulated to inject template payloads.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate impact, and the lack of an EPSS score or KEV listing suggests limited public exploitation to date. Nevertheless, the vulnerability can be triggered remotely through crafted POST data to the templatePut API, and successful exploitation may lead to full code execution and compromise of the underlying web server.

Generated by OpenCVE AI on September 30, 2026 at 10:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ThinkCMF to the latest release that fixes the SSTI defect or apply any vendor‑issued patch targeting versions 8.0.7 and earlier.
  • If no official patch is available, remove or disable the template rendering feature in the Email Template component, or restrict the endpoint to accept only safe literals.
  • Implement input validation or sanitization for all data passed to MailController::templatePut to strip template tokens before processing.
  • Monitor application logs for suspicious template syntax and apply rate limiting or firewall rules to block repeated injection attempts.

Generated by OpenCVE AI on September 30, 2026 at 10:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Naichen
Naichen thinkcmf
Vendors & Products Naichen
Naichen thinkcmf

Wed, 30 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 29 Sep 2026 22:15:00 +0000

Type Values Removed Values Added
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.
Title Naichen ThinkCMF Email Template MailController.php templatePut special elements in template engine
First Time appeared Thinkcmf
Thinkcmf thinkcmf
Weaknesses CWE-1336
CWE-791
CPEs cpe:2.3:a:thinkcmf:thinkcmf:*:*:*:*:*:*:*:*
Vendors & Products Thinkcmf
Thinkcmf thinkcmf
References
Metrics cvssV2_0

{'score': 5.8, 'vector': 'AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 4.7, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Naichen Thinkcmf
Thinkcmf Thinkcmf
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-30T14:01:20.255Z

Reserved: 2026-09-29T16:34:50.898Z

Link: CVE-2026-102771

cve-icon Vulnrichment

Updated: 2026-09-30T14:01:16.913Z

cve-icon NVD

Status : Deferred

Published: 2026-09-29T22:17:08.623

Modified: 2026-09-30T15:22:22.117

Link: CVE-2026-102771

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T20:35:00Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-791

    Incomplete Filtering of Special Elements