CVE-2026-41940, a CVSS 9.8 authentication bypass in cPanel & WHM, was exploited for months before the vendor disclosed it on April 28, according to SecurityWeek’s April 30 report. cPanel’s advisory covers every version after 11.40, so a server that was reachable before the fix may have been entered before anyone had a patch to apply.
That makes the patch date a poor guide to whether a server is clean. A box updated the day after the advisory, or weeks later, can still hold what an earlier intruder left behind. CrowdStrike’s report, as published by CXOToday, adds that several distinct actors worked the same cPanel instances. The sections below turn those two facts into a lookback date, a hunt order and a rebuild rule.
Don't miss new tech stories on Google
Add Tech Insider once in the Google app and our stories appear in your news suggestions.
The window before April 28 sets your lookback, not the patch date
SecurityWeek’s Ionut Arghire wrote on April 30 that hackers had been exploiting the flaw for months. cPanel disclosed it on April 28, urged immediate patching and held back technical detail, per the same report. The NVD record for CVE-2026-41940 is the reference entry for the vulnerability itself.
Tech Insider’s assessment: “months” means two or more, which reaches back to February or earlier from April 28. We would start the review at 1 January 2026, or at your oldest retained log if that is later, and not at the day you installed the update.
The second reason is who else was on the box. CrowdStrike’s report says: “In many cases, multiple distinct threat actors exploited the same vulnerable cPanel instances, creating a contested environment.” It also expects widespread campaigns that produce such contested environments to rise over the next year, using this cPanel case as its example. Finding one backdoor therefore does not show you have found them all.
A failed login that writes the attacker’s credentials to disk
cPanel did not publish technical detail on April 28. The mechanism came from attack surface management firm watchTowr, as reported by SecurityWeek: after a failed login, the cPanel service daemon writes a pre-authentication session file to disk, and an attacker can manipulate a cookie so that attacker-controlled credentials are written into it in plaintext.
The payoff is full control. Rapid7 notes that “successful exploitation of CVE-2026-41940 grants an attacker control over the cPanel host system, its configurations and databases, and websites it manages.” That sentence defines the scope of any cleanup: the server, every hosted site and every credential stored on it.
Our assessment: because the attacker never guesses a password, rules built to catch password guessing or lockouts have nothing to match. Judge the logs by what an admin session did, not by how the login looked.
Two days from advisory to public analysis
SecurityWeek’s story ran two days after cPanel’s advisory and already carried watchTowr’s account of the mechanism alongside the exploitation reports.
For an admin, that means a server patched the day after the advisory closed the door after months of possible prior use and with the explanation already public. Hosting providers saw the risk quickly: SecurityWeek reports that KnownHost, HostPapa, InMotion, Namecheap and others blocked access to cPanel & WHM ports so they could deploy patches securely. Closing the panel ports first, then patching, then reopening is a pattern any fleet can copy. Our reports on the F5 BIG-IP APM zero-day, the FortiMail zero-day that landed on CISA KEV and the Arista VeloCloud Orchestrator zero-day cover other products where exploitation came before a fix.
Fixed builds by branch, and servers that have no fix listed
SecurityWeek lists the fixes as included in eight cPanel & WHM builds and in WP Squared 136.1.7. Sorted by branch:
| Release branch | First fixed build |
|---|---|
| 11.86 | 11.86.0.41 |
| 11.110 | 11.110.0.97 |
| 11.118 | 11.118.0.63 |
| 11.126 | 11.126.0.54 |
| 11.130 | 11.130.0.19 |
| 11.132 | 11.132.0.29 |
| 11.134 | 11.134.0.20 |
| 11.136 | 11.136.0.5 |
| WP Squared | 136.1.7 |
If your version is not on a supported branch, there is no listed fix for it. cPanel’s advisory says to work toward updating such a server “as soon as possible, as it may also be affected.” Treat such a server as both exposed and unpatched.
# confirm the installed cPanel and WHM build
/usr/local/cpanel/cpanel -V
# pull the latest security build for your release tier
/scripts/upcp --force
Compare the printed version with the table. The table shows the first fixed build, so land on the newest security build your branch offers, not merely the number listed.
1.5 million is a search result, not a victim count
Rapid7 warns, per SecurityWeek, that a Shodan search shows around 1.5 million internet-accessible cPanel instances that may be exposed. That counts panels reachable from the internet. It does not say how many were exploited, and it should not go into a management briefing as a compromise figure. Use it for scale and use your own logs for impact.
Hunt order for a server that was reachable before the fix
Our recommended order, built from the sources above: close the panel ports, capture evidence, update, run the vendor tools, rotate, then decide on a rebuild. SecurityWeek reports that cPanel has published a detection script and that watchTowr released a Detection Artifact Generator to help administrators identify signs of compromise. Run both.
The script below only reads. It writes to a new root-only directory and changes nothing else. Copy the output off the server and review it there, because tools on a compromised host can be altered.
#!/bin/sh
set -eu
umask 077
out="/root/cpanel-review-$(date -u +%Y%m%dT%H%M%SZ)"
mkdir "$out"
/usr/local/cpanel/cpanel -V > "$out/version.txt" 2>&1 || true
ls -la /root/.ssh/ > "$out/ssh-dir.txt" 2>&1 || true
cat /root/.ssh/authorized_keys > "$out/root-keys.txt" 2>&1 || true
crontab -l > "$out/root-crontab.txt" 2>&1 || true
ls -la /etc/cron.d/ > "$out/cron-d.txt" 2>&1 || true
echo "Evidence written to $out; copy it off this host before reading it."
Rapid7’s scope statement sets the rotation list: root and reseller passwords, API tokens, SSH keys, and the database and site credentials of every hosted account. Anything the panel could reach should be treated as readable by whoever held the session.
Set the lookback to 1 January 2026 or your oldest retained log, rotate every credential the server could reach, and rebuild from a known-good image, rather than cleaning in place, if you find any key, cron job or admin session you cannot explain, or any sign that more than one actor was present.





