cPanel Zero-Day CVE-2026-41940 Exploited Since February; Patches Released

Summary
CVE-2026-41940, an authentication bypass in cPanel/WHM, has reportedly been exploited since Feb. 23. WebPros released patches April 28; guidance includes updating, restarting cpsrvd, and restricting exposed ports.
Key points
- The authentication bypass in cPanel’s cpsrvd service can let unauthenticated remote attackers gain administrator-level access to hosting systems.
- The reported exploit manipulates the whostmgrsession cookie and injects raw `rn` characters through a malicious Basic Authorization header to alter session files.
- In-the-wild exploitation was observed from February 23 and may have begun earlier, according to the article.
- WebPros published an advisory and released security updates on April 28.
- The vulnerability affects cPanel and WHM versions after v11.40, as well as WP Squared v136.1.7.
- Recommended steps include updating, verifying the cPanel build, restarting cpsrvd, restricting inbound traffic on ports 2083, 2087, 2095, and 2096, and checking for indicators of compromise.
- KnownHost CEO Daniel Pearson said the cases he reviewed showed access checks but no signs of further activity or active compromise.
Article Details
- Vulnerability Types
- Authentication bypass
- Severity
- Critical
- Affected Versions
- cPanel versions after v11.40
- WHM versions after v11.40
- WP Squared v136.1.7
- Exploitation Status
- active
- Exploit Availability
- unknown
- Patch Status
- available
- Workarounds
- Block inbound traffic on ports 2083, 2087, 2095, and 2096 at the firewall.
- Stop the cpsrvd and cpdavd services.
MITRE ATT&CK
CVE
People
Daniel PearsonKnownHost CEO who described the provider's response to the vulnerability and reported his review found no signs of active compromise in the cases he reviewed.Ryan EmmonsRapid7 researcher who explained how the vulnerability enables manipulation of the whostmgrsession cookie and injection of properties into session files.
Vendors
Products
cPanelA critical authentication-bypass vulnerability (CVE-2026-41940) in cPanel/WHM is being actively exploited in the wild, allowing unauthenticated attackers to gain administrator-level control of hosting systems.WHMA critical authentication-bypass vulnerability (CVE-2026-41940) in cPanel/WHM is being actively exploited in the wild, allowing unauthenticated attackers to gain administrator-level control of hosting systems.WordPress Squared (WP2)CVE-2026-41940 affects all cPanel and WHM versions after v11.40, and v136.1.7 of WP Squared, a managed WordPress hosting platform built on top of cPanel.
