Description
Pluck CMS through 4.7.21 restricts dangerous file uploads in its admin file-management feature using a fixed blacklist in data/inc/files.php ('.php','php3','php4','php5','php6','php7','phtml','.phtm','.pht','.ph3','.ph4','.ph5','.asp','.cgi','.phar'), checked against the last 4-5 characters of the filename. The blacklist omits the '.php8' extension. An authenticated administrator can upload a file named e.g. shell.php8, which is stored unmodified and, on servers running PHP 8.x, is executed as PHP by the web server, resulting in remote code execution.
Published: 2026-08-05
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Pluck CMS up to version 4.7.21 enforces a hard‑coded blacklist of disallowed file extensions when an administrator uploads files through the file‑management interface. The list includes common PHP extensions such as .php, .php5, and .phtml, but it fails to block the .php8 extension. An attacker with administrative credentials can upload a file named for example shell.php8, which the system stores unchanged. On servers running PHP 8.x, the web server executes .php8 files as PHP, giving the attacker arbitrary code execution. This flaw is a typical example of the "Unrestricted Upload of File with Dangerous Type" weakness (CWE‑434).

Affected Systems

The vulnerability affects users of Pluck CMS version 4.7.21 or earlier. The product name is Pluck CMS 4.7.21, and the problem exists in the files/inc/files.php blacklist logic. Administrators of newer releases that address the .php8 omission are not impacted.

Risk and Exploitability

The CVSS score of 7.2 indicates a moderate to high severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires an authenticated administrator; the attacker must have legitimate admin access to the CMS and the web server must be running PHP 8.x for the uploaded file to be executed. Given that only administrators can exploit the flaw, the exploitation likelihood is limited to environments where admin privileges are compromised or used maliciously. The consequence of successful exploitation is full remote code execution on the affected server.

Generated by OpenCVE AI on August 5, 2026 at 08:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Pluck CMS release that includes the fix for the upload blacklist or manually add ".php8" to the blacklist in files/inc/files.php.
  • Configure the web server or PHP to reject execution of files with the .php8 extension, or rename uploaded files to a safe, non‑executable extension before serving them.
  • Restrict access to the CMS administration interface to trusted personnel only and consider disabling the file‑upload feature if it is not required for your operations.

Generated by OpenCVE AI on August 5, 2026 at 08:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Wed, 05 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description Pluck CMS through 4.7.21 restricts dangerous file uploads in its admin file-management feature using a fixed blacklist in data/inc/files.php ('.php','php3','php4','php5','php6','php7','phtml','.phtm','.pht','.ph3','.ph4','.ph5','.asp','.cgi','.phar'), checked against the last 4-5 characters of the filename. The blacklist omits the '.php8' extension. An authenticated administrator can upload a file named e.g. shell.php8, which is stored unmodified and, on servers running PHP 8.x, is executed as PHP by the web server, resulting in remote code execution.
Title Pluck CMS: Unrestricted File Upload via Missing .php8 Extension in Upload Blacklist
Weaknesses CWE-434
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-05T06:58:23.512Z

Reserved: 2026-06-13T16:39:46.122Z

Link: CVE-2026-54416

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T08:30:04Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type