A critical zero-day authentication bypass vulnerability, CVE-2026-41940, in cPanel & WHM software was actively exploited in the wild for at least two months before a patch was made available. The vulnerability, which scores a 9.8 on the CVSS scale, allows a remote unauthenticated attacker to gain complete administrative (root-level) access to a targeted web hosting server. The flaw was exploited as early as February 2026, while the official security advisory from cPanel was not released until April 28, 2026. Given that cPanel is one of the most popular web hosting control panels, with an estimated 1.5 million internet-facing instances, the impact of this vulnerability is substantial. Hosting providers have rushed to apply patches and implement emergency blocks to mitigate the ongoing threat.
CVE-2026-41940 is a Carriage Return Line Feed (CRLF) injection vulnerability in the login and session management functionality of the cPanel service daemon (cpsrvd). An unauthenticated attacker can exploit this flaw to bypass authentication and create an administrative session.
The attack proceeds as follows:
Authorization header containing CRLF characters and session parameters.cpsrvd daemon improperly handles the injected CRLF characters. It writes the attacker-supplied parameters, such as user=root, into a temporary pre-authentication session file on the server's disk.cpsrvd daemon reads the manipulated session file, which now contains the attacker's desired parameters, and grants them a valid session with the privileges of the specified user (e.g., root).This process allows a remote attacker to gain full administrative control without any prior knowledge of valid credentials. The attack is a classic example of T1190 - Exploit Public-Facing Application.
This vulnerability was actively exploited as a zero-day. Hosting providers confirmed seeing attacks leveraging this flaw as early as February 23, 2026. The public disclosure and patch release did not occur until over two months later, on April 28, 2026. This long window of exposure means a significant number of servers could have been compromised before a fix was available. The vulnerability has been added to CISA's KEV catalog, underscoring its active exploitation.
Successful exploitation of CVE-2026-41940 is catastrophic for a hosting provider or any organization using cPanel. An attacker with administrative access can:
For hosting providers, this can lead to mass customer data breaches, significant reputational damage, and extensive financial liability. The fact that it was exploited for months means attackers may have established persistent access on many servers that remains even after patching the initial vulnerability.
The following patterns may help identify vulnerable or compromised systems:
cpsrvd access logs (typically at /usr/local/cpanel/logs/access_log) for login attempts that contain unusual Authorization headers with encoded CRLF characters (%0d%0a)./var/cpanel/sessions/raw/)./login/ endpoints that have anomalous characteristics.Authorization headers and block requests containing CRLF injection patterns. This is a direct application of D3FEND's Inbound Traffic Filtering.2083, 2087) to trusted IP addresses only. Many hosting providers took this step as an emergency mitigation.Exploitation of cPanel zero-day (CVE-2026-41940) surges, affecting WP Squared, with updated patch versions and CISA/ACSC alerts.
Active exploitation of CVE-2026-41940 in cPanel & WHM has surged, with tens of thousands of IPs scanning for vulnerable instances. The vulnerability also impacts WP Squared, and updated patch versions are now available, including 120.0.10, 118.0.16, 116.0.21, 110.0.21, and WP Squared 136.1.7. The Australian Cyber Security Centre (ACSC) has issued alerts, confirming widespread attacks. Shadowserver reports approximately 650,000 cPanel/WHM instances remain exposed. The flaw, allowing authentication bypass and potential RCE, is due to a missing authentication check in session handling, enabling session cookie manipulation.
Widespread exploitation of cPanel zero-day (CVE-2026-41940) confirmed, with over 40,000 servers compromised and 'Sorry' ransomware deployed.
New intelligence from The Shadowserver Foundation confirms widespread exploitation of CVE-2026-41940, with over 40,000 unique IP addresses associated with compromised cPanel servers observed. Attackers are leveraging this vulnerability to deploy 'Sorry' ransomware, a Go-based Linux encryptor that appends a '.sorry' extension to encrypted files. This represents a significant escalation in the real-world impact of the vulnerability, moving beyond just administrative access to direct data encryption and extortion. New detection methods include monitoring for '.sorry' file extensions and specific process names. An updated list of patched versions is also provided, emphasizing immediate action.
Hosting providers report first observing exploitation of the cPanel zero-day vulnerability.
cPanel issues an official security advisory and releases patches for CVE-2026-41940.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.