OS Command Injection in baserCMS - CVE-2026-21861
Published: April 27, 2026
baserCMS
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary OS commands on the server.
The vulnerability exists due to improper neutralization of special elements used in an OS command in the core update functionality when handling a POST request to the get_core_update endpoint. A remote privileged user can send a specially crafted request with a malicious php parameter to execute arbitrary OS commands on the server.
The issue affects PluginsController::get_core_update(), PluginsService::getCoreUpdate(), and the /baser/admin/baser-core/plugins/get_core_update endpoint.