Code Injection in baserCMS - #VU140523
Published: July 30, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to code injection in schema file loading in BcDatabaseService.php when restoring a backup containing a crafted schema PHP file. A remote user can upload a malicious backup archive to execute arbitrary code.
The schema validation can be bypassed because PHP code outside the class definition executes unconditionally during require_once processing.