Greetings,
Massive leak in the hosting world today. CVE-2026-41940 is a critical Authentication Bypass in cPanel & WHM that grants full ROOT access without a password. This is already being exploited in the wild.
The Impact: cPanel runs on ~70M+ sites. Since this hits the WHM layer, we are talking about a full server takeover. One successful hit = total control over every site, DB, and mail on that box.
The Exploit Chain (5 Steps):
Full Write-up for the nerds: The Internet Is Falling Down, Falling Down, Falling Down (cPanel & WHM Authentication Bypass CVE-2026-41940)
Pro-Tip: If you're scanning, watch out for cPHulk. You might need to rotate IPs or use clean proxies to avoid the rate limit.
Don't forget to +REP if this helps your research! ⚡
Massive leak in the hosting world today. CVE-2026-41940 is a critical Authentication Bypass in cPanel & WHM that grants full ROOT access without a password. This is already being exploited in the wild.
The Impact: cPanel runs on ~70M+ sites. Since this hits the WHM layer, we are talking about a full server takeover. One successful hit = total control over every site, DB, and mail on that box.
The Exploit Chain (5 Steps):
- Initial Hit: Send a malformed login request. cPanel generates a temp session file and hands you a cookie.
- Flag Flip: Modify a specific flag in the cookie to force the password field to be stored as plaintext.
- CRLF Injection: Send a "login" with
(newline) smuggled into the password. The unsanitized input injects fake lines into the session file:\n
anduser=root
.authenticated=1
- Poisoning: Hit any page to force cPanel to reload the poisoned session file into memory.
- Win: Next request, the server sees you as "already authenticated" root. No password check, no 2FA.
- 110.0.x < 11.110.0.97
- 118.0.x < 11.118.0.63
- 126.0.x < 11.126.0.54
- 132.0.x < 11.132.0.29
- 134.0.x < 11.134.0.20
- 136.0.x < 11.136.0.5
https://github.com/watchtowrlabs/watchTowr-vs-cPanel-WHM-AuthBypass-to-RCE.pyPro-Tip: If you're scanning, watch out for cPHulk. You might need to rotate IPs or use clean proxies to avoid the rate limit.
Don't forget to +REP if this helps your research! ⚡
