A critical vulnerability in cPanel & WHM exposes thousands of hosting to risk

CVE-2026-41940 is an authentication bypass flaw affecting cPanel & WHM, including the DNSOnly version, in versions after 11.40. The vulnerability, discovered by WatchTowr Labs, allows remote unauthenticated attackers to access control panels without authorization. With a CVSS 3.1 score of 9.8, it is classified as CWE-306: Missing Authentication for Critical Function.

Quick Response

  • CVE-2026-41940 is a critical authentication bypass vulnerability in cPanel & WHM
  • Affects all supported versions of cPanel & WHM after 11.40
  • Allows unauthorized access to web hosting control panels
  • The CVSS score is 9.8, indicating an extremely high risk
  • The patch is available, but immediate update is required

Large-scale impact on hosting infrastructures

cPanel & WHM is widely used to manage web hosting environments, with WHM providing administrative access and cPanel controlling individual sites. The flaw, related to session loading and saving behavior, could allow attackers to access high-value administrative functions in hosting environments. This puts thousands of websites managed with this platform at risk.

4,000 attacks recorded in two weeks

Imperva observed nearly 4,000 attack attempts targeting customers in 15 different industrial sectors and 17 countries. The United States was the main target, with 70% of the attacks, followed by Barbados and Israel. The most affected sectors were Business, Companies, and Education, reflecting the spread of hosting control panels in these areas.

Geography of attacks: a global campaign

The geographical distribution of the attacks suggests an opportunistic scanning strategy rather than targeted activity. The United States, with its vast hosting ecosystem, were clearly prioritized by the attackers. However, the presence of smaller countries indicates that attackers are using automated discovery techniques to identify exposed instances of cPanel and WHM on the Internet.

Immediate update recommended

cPanel has released corrected versions and recommends that administrators update immediately. The recommended measures include verifying the cPanel build and restarting the cPanel service. For environments that cannot update immediately, cPanel suggests blocking incoming traffic on ports 2083, 2087, 2095, and 2096 or temporarily stopping the affected services.

Mitigation and protection measures

The definitive solution for CVE-2026-41940 is to update to a corrected version of cPanel & WHM. Organizations should also follow cPanel's detection guidelines, inspect session files for signs of compromise, and check WHM access logs for unauthorized activity. cPanel specifically recommends deleting affected sessions, forcing password resets for root and WHM users, and checking for persistence mechanisms if signs of compromise are found.

Built-in protection for Imperva customers

Imperva customers are protected against this vulnerability. Imperva's Web Application Firewall (WAF) provides virtual patching capabilities, ensuring protection even before customers have applied the necessary updates.

Advanced protection with Imperva

Imperva's solutions offer advanced protection against a wide range of threats, including vulnerabilities like CVE-2026-41940. With Imperva, organizations can benefit from comprehensive security measures designed to safeguard their critical infrastructure.

Editorial Note and Disclaimer

The guides and content published on GoYou are the result of independent research and analysis activities, for informational, educational, and in-depth purposes.

GoYou does not constitute a journalistic publication nor an editorial product pursuant to Law No. 62/2001 and does not perform real-time information activities.

The GoYou project does not provide professional, technical, legal, or financial advice and disclaims any liability for the improper use of the information published.

In the Crypto sector, every investment involves risks: the reader is invited to always inform themselves autonomously before making any decision.

📰 Source: imperva.com ↗
✍️ Elaboration: Sebastiano · GoYou.it