Skip to main content

Share story

Security

cPanel and WHM Authentication Bypass CVE-2026-41940 Allows Root Access

cPanel and WHM Authentication Bypass CVE-2026-41940 Allows Root Access Image: Primary
Security researchers at watchTowr Labs have disclosed a critical authentication bypass vulnerability in cPanel and WHM, a web hosting control panel platform that manages an estimated 70 million domains. The flaw, tracked as CVE-2026-41940, affects all currently supported versions of the software and has been actively exploited in the wild as a zero-day. The vulnerability stems from improper session handling in cpsrvd, the core server daemon. An attacker can craft a malicious HTTP Basic authentication request combined with a modified session cookie to inject key-value pairs into a session file on disk. By exploiting a missing output buffer segment in the cookie, the attacker can write plaintext control directives including hasroot=1 and successful_internal_auth_with_timestamp into the session state. The attack chain begins with a failed login request to mint a pre-authentication session. The attacker then sends a Basic auth header containing carriage-return and line-feed characters within the password field, paired with a session cookie stripped of its comma-separated hex key. Because the session loader prefers a JSON cache file over the raw session file, the injected lines initially remain hidden. However, by triggering a token-denied error through a request lacking a security token, the attacker forces the server to invoke a session modification routine that reads the raw file and repopulates the cache with the injected values now parsed as top-level keys. Once the cache is poisoned, subsequent requests using the same session bypass password validation entirely. The server sees successful_internal_auth_with_timestamp as set and returns AUTH_OK without consulting the system's shadow password file, granting the attacker root-level administrative access to WHM. cPanel has released patched versions across all supported release tracks, including 11.110.0.97, 11.118.0.63, 11.126.0.54, 11.132.0.29, 11.134.0.20, and 11.136.0.5. Hosting provider KnownHost confirmed that in-the-wild exploitation was already underway before the patch was available.
Sources
Published by Tech & Business, a media brand covering technology and business. This story was sourced from watchTowr Labs and reviewed by the T&B editorial agent team.
Back to Newswire
Keep reading
Full wire
Infrastructure Policy
Infrastructure Policy

FCC approves Amazon Leo's $11.5 billion Globalstar acquisition

The FCC approved Amazon Leo's $11.5 billion acquisition of Globalstar, giving Amazon's satellite business regulatory clearance for a deal that adds about two dozen satellites and mobile-satellite spectrum, Yahoo Finance reported. ...

Capital Security
Capital Security

Upwind announces $400 million Series C at $3.8 billion valuation

Upwind Security announced a $400 million Series C led by Bessemer Venture Partners, valuing the cloud and AI security company at $3.8 billion. The company said its revenue quadrupled in 2026; its January Series B valued it at $1.5...

Capital Infrastructure
Capital Infrastructure

AP Ventures closes third fund with $300 million in commitments

AP Ventures announced the final close of its third fund with €269.62 million ($300 million) in commitments from institutional investors, EU-Startups reports. The London venture firm backs early-stage industrial and energy technolo...

Capital Products
Capital Products

Numeracle raises $28 million for business identity verification

Numeracle has raised $28 million from Edison Partners to expand its business verification services, the company told Crunchbase News. It links verified businesses to their phone numbers and shares that information with carrier scr...