CVE-2026-71232 Details
Description
MacCMS10's admin template editor (application/admin/controller/Template.php) blocks dangerous PHP functions in template content via a blacklist regex, but the blacklist omitted exec, passthru, popen, show_source, create_function, register_shutdown_function, register_tick_function, and error_log.
A remote code execution vulnerability exists in MacCMS10's admin template editor, specifically in the file application/admin/controller/Template.php. The issue arises because the template editor's blacklist regex, intended to block dangerous PHP functions, omitted several critical functions including exec, passthru, popen, show_source, create_function, register_shutdown_function, register_tick_function, and error_log. This oversight allows an authenticated administrator to inject a payload using ThinkPHP's {if} template tag, which directly embeds the condition into raw PHP. As a result, the injected command could be executed, leading to remote code execution.
Users can update to the version of MacCMS10 that includes the patch for this vulnerability, specifically the release following the commit on June 22, 2026, which added the missing functions to the blacklist filter.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/magicblack/maccms10/commit/71ad3bb29570e110d8e973acff68040a3050ddf0 | TuranSec | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| MacCMS10 | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | TuranSec |
Volerion