cPanel and WHM Authentication Bypass Vulnerability (CVE-2026-41940) Security Advisory
Executive & SecOps Summary
SECOPS ASSESSMENTcPanel and WHM versions after 11.40 (prior to the April 28, 2026 security update)
Unauthenticated remote attackers can bypass the login flow to gain unauthorized administrative access to the control panel, leading to complete server compromise
Immediately apply the latest security patches provided by the vendor, and restrict external access to management ports (2082, 2083, 2086, 2087) until patched
Affected Products & Version Scope
Remediation & Live Workaround Commands
PATCH & WORKAROUND1. Apply Official Security Patches
Immediately update your cPanel & WHM installation to the latest secure version using the official update script.
# Log in to your server via SSH as root and run the update command
/usr/local/cpanel/scripts/upcp2. Temporary Mitigation (If patching cannot be applied immediately)
If immediate patching is not feasible, restrict access to the cPanel/WHM administration ports using a firewall to allow only trusted IP addresses.
- Target Ports:
- cPanel:
2082(HTTP),2083(HTTPS) - WHM:
2086(HTTP),2087(HTTPS)
Example using firewalld:
# Remove public access to WHM HTTPS port
firewall-cmd --permanent --zone=public --remove-port=2087/tcp
# Allow access only from a trusted IP (e.g., 192.168.1.100)
firewall-cmd --permanent --zone=trusted --add-source=192.168.1.100
firewall-cmd --permanent --zone=trusted --add-port=2087/tcp
firewall-cmd --reloadBlock Exploits Instantly with Managed Virtual Patching Rules
Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.
Technical Root Cause & Exploitation Mechanics
CVE-2026-41940 is a critical authentication bypass vulnerability in the login flow of cPanel and WHM. Due to a Missing Authentication for Critical Function (CWE-306), unauthenticated remote attackers can bypass the standard authentication sequence by sending crafted HTTP requests, allowing them to establish unauthorized administrative sessions.
With a CVSS 3.1 score of 9.8 (Critical), this vulnerability requires no privileges or user interaction to exploit. It has been added to the CISA KEV catalog due to active exploitation in the wild, and its high EPSS score of 0.94 highlights the extreme urgency of remediation.
Official Vendor Advisories & References
cPanel and WHM versions after 11.40 contain an authentication bypass vulnerability in the login flow that allows unauthenticated remote attackers to gain unauthorized access to the control panel.
Subscribe to Daily Vulnerability Briefings & KEV Alerts
Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.