CVE-2024-51567: Unauthenticated Root Command Execution in CyberPanel
- Vendor
- Cyberpanel
CVE-2024-51567 is an authentication-bypass and OS command-injection vulnerability in CyberPanel versions through 2.3.6 and unpatched 2.3.7. The upgrademysqlstatus handler accepts an unauthenticated, user-controlled statusfile property and concatenates it into shell commands executed through sudo. CyberPanel's secMiddleware applies its security checks only to POST requests, while the handler parses request bodies independently of the HTTP method. A remote attacker can therefore use a non-POST method, such as PUT, to bypass middleware checks and inject shell metacharacters, achieving arbitrary command execution as root without user interaction. PSAUX exploited the vulnerability in October 2024, and exploitation by Earth Lamia has also been observed.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality, integrity, and availability of the affected server through root-level command execution. Attackers can access hosted data and credentials, modify or delete files, deploy malicious software, establish persistence, and disrupt CyberPanel and hosted services. The vulnerability has been exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities catalog.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict network access to the CyberPanel management interface to trusted administrative systems, preferably through a VPN or allowlist. If operationally feasible, block access to /dataBases/upgrademysqlstatus at a reverse proxy or web application firewall. POST-only filtering is insufficient because non-POST requests can reach the vulnerable handler. These controls reduce exposure but do not replace the security update.
Remediation
Patch, then assume compromise.
Apply the CyberPanel security update incorporating commit 5b08cd6d53f4dbc2107ad9f555122ce8b0996515 or upgrade to a release containing that fix. Versions through 2.3.6 and unpatched 2.3.7 are affected; do not assume that upgrading to 2.3.7 alone resolves the issue.
Exploits
3 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-51567 exploited in the wild?
- Yes. As of Oct 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 7, 2024.
- Is there a public exploit for CVE-2024-51567?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2024-51567, the earliest disclosed Oct 27, 2024.
- Is there a patch for CVE-2024-51567?
- Apply the CyberPanel security update incorporating commit 5b08cd6d53f4dbc2107ad9f555122ce8b0996515 or upgrade to a release containing that fix. Versions through 2.3.6 and unpatched 2.3.7 are affected; do not assume that upgrading to 2.3.7 alone resolves the issue.
- What products are affected by CVE-2024-51567?
- Cyberpanel.
- How severe is CVE-2024-51567?
- CVE-2024-51567 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 84.4% (100th percentile) as of Oct 26, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.