Back to Feed
Zero-dayApr 30, 2026

Critical cPanel & WHM Vulnerability Exploited as Zero-Day for Months

Critical cPanel & WHM authentication bypass (CVE-2026-41940) exploited as zero-day since February.

Summary

A critical authentication bypass vulnerability in cPanel & WHM (CVE-2026-41940, CVSS 9.8) has been actively exploited since February 2026, allowing unauthenticated attackers to gain full administrative access to affected servers. The flaw affects all versions after 11.40 and impacts approximately 1.5 million internet-accessible instances. cPanel released patches in April 2026, and major hosting providers including KnownHost, HostPapa, InMotion, and Namecheap have deployed fixes.

Full text

Hackers have been exploiting a critical-severity authentication bypass vulnerability in the cPanel & WHM (WebHost Manager) server and site management platform for months. Tracked as CVE-2026-41940 (CVSS score of 9.8), the flaw was disclosed on April 28, when cPanel urged immediate patching, warning that all software versions after 11.40 are affected, but refraining from sharing technical information. Affecting the login flow, the security defect could allow remote, unauthenticated attackers to gain administrative access to the control panel, essentially leading to system takeover. As the Canadian Centre for Cyber Security points out, successful exploitation of the issue could allow an attacker to modify server configurations and potentially compromise all websites on shared hosting servers. “Successful exploitation of CVE-2026-41940 grants an attacker control over the cPanel host system, its configurations and databases, and websites it manages,” cybersecurity firm Rapid7 notes. A Shodan search, the company warns, shows around 1.5 million internet-accessible cPanel instances that may be exposed to attacks.Advertisement. Scroll to continue reading. Analyzing CVE-2026-41940, attack surface management firm WatchTowr discovered that upon a failed login attempt, the cPanel service daemon would write a pre-authentication session file to the disk, and that an attacker could manipulate a cookie so that attacker-controlled credentials are written to it in plaintext. Essentially, the bug allows an attacker to inject specific characters via an authorization header to write specific parameters to the session file, and then trigger a reload of the file to authenticate using the injected credentials. According to a Reddit post by hosting provider KnownHost, the vulnerability has been exploited in the wild since February 23, 2026. Immediately after being notified of the issue, KnownHost, HostPapa, InMotion, Namecheap, and other hosting providers blocked access to cPanel & WHM ports to securely deploy patches. The fixes were included in cPanel & WHM versions 11.86.0.41, 11.110.0.97, 11.118.0.63, 11.126.0.54, 11.130.0.19, 11.132.0.29, 11.136.0.5, and 11.134.0.20, and in WP Squared version 136.1.7. “If your server is not running a supported version of cPanel that is eligible for this update, it is highly recommended that you work toward updating your server as soon as possible, as it may also be affected,” cPanel notes in its advisory. cPanel has published a detection script, and WatchTowr released a Detection Artifact Generator to help administrators identify signs of compromise. Related: ‘Copy Fail’ Logic Flaw in Linux Kernel Enables System Takeover Related: Fresh LiteLLM Vulnerability Exploited Shortly After Disclosure Related: Chrome 147, Firefox 150 Security Updates Rolling Out Related: Apple Patches iOS Flaw Allowing Recovery of Deleted Chats Written By Ionut Arghire Ionut Arghire is an international correspondent for SecurityWeek. More from Ionut Arghire Chrome 147, Firefox 150 Security Updates Rolling OutAlleged Chinese State Hacker Extradited to USDozens of Open VSX Extension Clones Linked to GlassWorm MalwareNo Patch for New PhantomRPC Privilege Escalation Technique in WindowsSpectrum Security Emerges From Stealth Mode With $19 MillionIncomplete Windows Patch Opens Door to Zero-Click AttacksOpenSSH Flaw Allowing Full Root Shell Access Lurked for 15 YearsUNC6692 Uses Email Bombing, Social Engineering to Deploy ‘Snow’ Malware Latest News EnOcean SmartServer Flaws Expose Buildings to Remote Hacking‘Copy Fail’ Logic Flaw in Linux Kernel Enables System TakeoverSandhills Medical Says Ransomware Breach Affects 170,000Fresh LiteLLM Vulnerability Exploited Shortly After DisclosureHundreds of Internet-Facing VNC Servers Expose ICS/OTCheckmarx Confirms Data Stolen in Supply Chain AttackIranian Cyber Group Handala Targets US Troops in Bahrain38 Vulnerabilities Found in OpenEMR Medical Software Trending Daily Briefing Newsletter Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts. Webinar: A Step-by-Step Approach to AI Governance April 28, 2026 With "Shadow AI" usage becoming prevalent in organizations, learn how to balance the need for rapid experimentation with the rigorous controls required for enterprise-grade deployment. Register Virtual Event: Threat Detection and Incident Response Summit May 20, 2026 Delve into big-picture strategies to reduce attack surfaces, improve patch management, conduct post-incident forensics, and tools and tricks needed in a modern organization. Register People on the MoveMongoDB has appointed Doug Bowers as Chief Information Security Officer.Ben Wilkens has been promoted to Director of Cybersecurity at NMFTA.Cato Networks has appointed Meital Koren as Chief Legal Officer.More People On The MoveExpert Insights The Mythos Moment: Enterprises Must Fight Agents with Agents Only with the right platform and an agentic, AI-driven defense, will enterprises be able to protect themselves in the agentic era. (Etay Maor) Why Cybersecurity Must Rethink Defense in the Age of Autonomous Agents From autonomous code generation to decision-making systems that initiate actions without human intervention, the industry is entering a new phase. (Torsten George) Government Can’t Win the Cyber War Without the Private Sector Securing national resilience now depends on faster, deeper partnerships with the private sector. (Steve Durbin) The Hidden ROI of Visibility: Better Decisions, Better Behavior, Better Security Beyond monitoring and compliance, visibility acts as a powerful deterrent, shaping user behavior, improving collaboration, and enabling more accurate, data-driven security decisions. (Joshua Goldfarb) The New Rules of Engagement: Matching Agentic Attack Speed The cybersecurity response to AI-enabled nation-state threats cannot be incremental. It must be architectural. (Nadir Izrael) Flipboard Reddit Whatsapp Whatsapp Email

Indicators of Compromise

  • cve — CVE-2026-41940

Entities

cPanel & WHM (product)WP Squared (product)cPanel (vendor)WatchTowr (vendor)Rapid7 (vendor)