Improper access control in baserCMS - CVE-2025-32957

 

Improper access control in baserCMS - CVE-2025-32957

Published: April 27, 2026


Vulnerability identifier: #VU128067
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-32957
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: baserproject
Affected software:
baserCMS

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper access control in the restore function in BcDatabasesService.php when processing uploaded backup zip files. A remote privileged user can upload a specially crafted zip archive containing a malicious PHP file to execute arbitrary code.

The uploaded archive is automatically extracted, and a PHP file inside the archive is included using require_once without validating or restricting the filename.


How to mitigate CVE-2025-32957

Install security update from vendor's website.

Sources