whostmgrsession cookie is handled. That bypasses authentication, grants administrative access to WHM or cPanel, and can end in root-level remote code execution. It carries a CVSS score of 9.8, it is being actively exploited, and it has been added to CISA's Known Exploited Vulnerabilities catalog. Reported follow-up activity includes ransomware deployment, botnet installation, and credential harvesting.
What an update actually changes
/root/.ssh/authorized_keys. It does not remove a cron job that downloads a payload every hour, a new reseller account created through WHM, an API token generated during the attacker's session, or a modified system binary. It also cannot take back passwords or database credentials that were already copied off the server.
Once an attacker has root, the original vulnerability stops being important to them. A careful one will usually set up a second, quieter way back in within minutes, precisely because they expect the hole to be patched eventually. From their point of view, your update is the expected next step, not a setback.
So there are really two separate questions in every one of these tickets. Is the server still exploitable? The version answers that. Was the server exploited while it was exposed? The version can't answer that at all.
Why the version check feels like enough
Questions to ask before you touch the server
- When the fixed build was installed, and whether updates are automatic or manual.
- Whether WHM and cPanel ports (2087, 2083, and their non-SSL counterparts) were reachable from the whole internet, or restricted to known IPs.
- Whether anyone noticed unexpected WHM logins, new accounts, password reset emails, outbound spam, or unusual CPU load in the relevant period.
- Whether backups exist from before the exposure window, and how far back they go.
Read-only checks worth running
BASH
# Installed cPanel & WHM version. Compare it with the vendor advisory yourself.
/usr/local/cpanel/cpanel -V
# Recent logins and session activity (default paths; format varies by version)
tail -n 200 /usr/local/cpanel/logs/login_log
tail -n 200 /usr/local/cpanel/logs/session_log
# Accounts created, removed, or modified through WHM
tail -n 100 /var/cpanel/accounting.loglogin_log alone proves little. Cross-check against session_log and /usr/local/cpanel/logs/access_log where you can.
Then look for the usual persistence spots an attacker with root tends to use:
BASH
# Any user other than root with UID 0
awk -F: '3 == 0 {print1}' /etc/passwd
# SSH keys trusted for root
ls -la /root/.ssh/
cat /root/.ssh/authorized_keys
# Scheduled jobs (spool path differs on Debian/Ubuntu)
crontab -l -u root
ls -la /etc/cron.d /var/spool/cron
# WHM API tokens that exist for root
whmapi1 api_token_list
# Enabled services, to spot anything unfamiliar
systemctl list-unit-files --state=enabled --type=service
# Recent shell logins
last -a | head -n 30/tmp or a hidden directory are all strong signals. If any of these show up, stop treating it as a patching ticket. It is now an incident, and the guidance in Restoring a Hacked WHM Server? Pick a Backup Taken Before the Breach becomes relevant, because the newest backup may contain the same access you just found.
If nothing turns up, that is useful but limited. These checks catch common, low-effort persistence. They will not reliably catch a modified kernel module, a backdoored system library, or an attacker who cleaned up after themselves.
How to word the escalation
- The server runs a cPanel & WHM build that includes the fix for CVE-2026-41940, installed on a known date.
- WHM was or was not reachable publicly during the exposure window.
- The logs and persistence locations reviewed, the time range covered, and what was found.
- Whether credentials have been rotated, and which ones.
- A clear statement that this review does not rule out compromise, plus the recommended next step.
