CVE-2026-41940 – Critical Authentication Bypass in cPanel & WHM
Key Takeaways
- Critical authentication bypass in cPanel and WHM.
- Affects all versions released after 11.40, including DNSOnly and WP² (WordPress Squared) deployments.
- Active exploitation observed in the wild; included in CISA KEV.
- Patch released 2026‑04‑28 – update to the latest branch versions immediately.
- After patching, rotate all privileged credentials and audit for compromise.
Overview#
The CVE-2026-41940 vulnerability is rated Critical (CVSS 3.1 base 9.8, CVSS 4.0 base 9.3) and permits an unauthenticated remote attacker to bypass the login flow of cPanel and its administrative counterpart WHM. By manipulating a session cookie and injecting crafted data into the temporary session file, the attacker can force the control panel to treat the request as an already‑authenticated root session. The flaw affects every supported release after version 11.40, including the DNSOnly mode and the WP² (WordPress Squared) integration.
Active exploitation was reported within days of disclosure, and the vulnerability was added to the CISA KEV catalog on 2026‑04‑30. Threat actors have leveraged the bypass to deploy ransomware (e.g., “Sorry” ransomware) and install backdoors on compromised hosting environments.
For live threat activity, signal trends, and detailed indicator counts, see the .
Technical Details#
- Pre‑auth session creation – An attacker sends a deliberately failed login request. cPanel creates a temporary “login attempt” record on disk and issues a session cookie tied to that record.
- – By flipping a single flag in the cookie, the attacker disables the normal password‑encryption step, causing the password field to be stored in clear text.



