Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M

CVE-2025-32957baserCMS: unsafe File Upload Leading to Remote Code Execution (RCE)

High 8.7

In plain English

A high-severity unrestricted file upload in basercms from baserproject. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.7High
Exploit odds (30 days)0.6%top 51.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistbaserproject/basercms5.2.3GHSA-hv78-cwp4-8r7r

Affected products (as reported)

VendorProductVersions
baserproject basercms < 5.2.3

Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

References