Unauthenticated Root RCE Found in CyberPanel Upgrade Endpoint
Vulnerability Disclosure · 2 sources · Updated 2mo ago · First seen Sep 3, 2026

CyberPanel 2.3.6 contained an unauthenticated, zero-click remote code-execution flaw in the /dataBases/upgrademysqlstatus endpoint. A user-controlled statusfile parameter was concatenated into sudo cat and sudo rm -f commands, allowing an unauthenticated attacker to execute commands with root privileges.
CyberPanel's secMiddleware attempted to block malicious POST input, but the endpoint processed request bodies regardless of HTTP method; attackers could use methods such as PUT to bypass the filter. Maintainers were notified and published a patch commit, and the issues were assigned CVE-2024-51567 and CVE-2024-51568. The disclosure also noted a separate prior 2.3.5 File Manager upload weakness in which exception handling could bypass authentication and reach a command-execution sink.


