cPanel & WHM CVE-2026-41940: Exploited Login Auth Bypass
Nearly every cPanel server should have auto-updated by early May 2026, but the bug was a zero-day for two months and then mass-exploited for ransomware, so confirm the build and run cPanel's IOC script; any server still unpatched should be presumed compromised.
Must act: Every cPanel & WHM, DNSOnly or WP Squared operator, most urgently servers with updates disabled or pinned, CentOS/CloudLinux 6-7 hosts, and any server that exposed ports 2083/2087/2095/2096 before patching.
Can relax: Hosting customers on managed providers that confirmed patching and IOC scans; plain cPanel end users have nothing to install themselves.
- Check the build with /usr/local/cpanel/cpanel -V and compare it to the fixed list for your tier.
- If behind, run /scripts/upcp --force and then /scripts/restartsrv_cpsrvd --hard; fix pinned or disabled update settings (CentOS 7/CloudLinux 7: whmapi1 set_tier tier=11.110).
- If you cannot update yet, block ports 2083, 2087, 2095 and 2096 and disable service subdomains, or stop cpsrvd and cpdavd.