Description
baserCMS is a website development framework. Prior to version 5.2.3, the application's restore function allows users to upload a .zip file, which is then automatically extracted. A PHP file inside the archive is included using require_once without validating or restricting the filename. An attacker can craft a malicious PHP file within the zip and achieve arbitrary code execution when it is included. This issue has been patched in version 5.2.3.
Published: 2026-03-31
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises when the restore function accepts a ZIP file and extracts its contents, automatically including any PHP file inside the archive using require_once without validating the filename. Attackers can embed a malicious PHP file in the archive and achieve arbitrary code execution on the server.

Affected Systems

The issue affects baserCMS, a website development framework produced by baserproject, and impacts all installations running any version prior to 5.2.3. Only versions 5.2.3 and later include the patch that removes the unsafe include behavior.

Risk and Exploitability

This flaw carries a CVSS score of 8.7, indicating high severity, and it is not listed in CISA’s KEV catalog. The exploit requires the ability to upload a file to the restore function, which is typically part of the application’s web interface; an attacker who can perform this action can execute arbitrary code on the server. The EPSS score is unavailable, so the exact likelihood of exploitation is unknown, but the high severity suggests that active monitoring and patching are urgent.

Generated by OpenCVE AI on March 31, 2026 at 05:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade baserCMS to version 5.2.3 or later.

Generated by OpenCVE AI on March 31, 2026 at 05:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hv78-cwp4-8r7r baserCMS has Unsafe File Upload Leading to Remote Code Execution (RCE)
History

Tue, 31 Mar 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 31 Mar 2026 03:00:00 +0000

Type Values Removed Values Added
Description baserCMS is a website development framework. Prior to version 5.2.3, the application's restore function allows users to upload a .zip file, which is then automatically extracted. A PHP file inside the archive is included using require_once without validating or restricting the filename. An attacker can craft a malicious PHP file within the zip and achieve arbitrary code execution when it is included. This issue has been patched in version 5.2.3.
Title baserCMS: unsafe File Upload Leading to Remote Code Execution (RCE)
Weaknesses CWE-434
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-31T19:09:23.581Z

Reserved: 2025-04-14T21:47:11.452Z

Link: CVE-2025-32957

cve-icon Vulnrichment

Updated: 2026-03-31T19:05:50.145Z

cve-icon NVD

Status : Received

Published: 2026-03-31T01:16:34.530

Modified: 2026-03-31T20:16:25.910

Link: CVE-2025-32957

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-31T19:56:45Z

Weaknesses