Our SOC has seen exploitation of a nasty authentication bypass flaw (CVE-2026-41940) in the popular web server management software cPanel and WebHost Manager (WHM). cPanel is a web-based web hosting control panel that’s widely used by hosting providers and companies that want to manage websites or public-facing resource portals. That means there’s potentially a pretty big attack surface for this bug - and threat actors are already taking advantage.
The vulnerability, which was disclosed and patched in April, could allow threat actors to remotely bypass cPanel’s login screen and access its administration panel. What we saw: On May 1, we detected malicious activity after two sets of attackers (coming from two different IP addresses) exploited the cPanel flaw on a Linux host. Here’s some of the things the threat actors did:
- Executed reconnaissance commands via the cPanel API
- Set up persistence by adding an SSH public key to
/root/.ssh/authorized_keys– before modifying SSH configuration files to enable password authentication and changing the root password - Created two rogue WHM reseller accounts with full administrative privileges
- Used
wgetto download a malicious script, which was saved as/tmp/a.sh - Deployed XMRig cryptocurrency mining malware (
/root/.rsyslogd)
Luckily, the malicious activity was caught and remediated by our SOC. Shout out to Tanner Filip for his investigation into this incident!