Improper access control in baserCMS - CVE-2025-32957
Published: April 27, 2026
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.