How to Fix CVE-2026-41940: Missing Authentication in cPanel
By Sai Kiran Pandrala
| Severity | CVSS 9.3 - Critical |
|---|---|
| Actively exploited? | Yes, listed in CISA KEV (added 2026-04-30) |
| Affected | cPanel 11.40.0.0 up to (excluding) 11.86.0.41; cPanel 11.88.0.0 up to (excluding) 11.94.0.28; cPanel 11.96.0.0 up to (excluding) 11.102.0.39; cPanel 11.104.0.0 up to (excluding) 11.110.0.97; see advisory for full list |
| Fixed in | 11.102.0.39, 11.110.0.97, 11.118.0.63, 11.124.0.35, 11.126.0.54 (see advisory) |
| Type (CWE) | CWE-306: Missing Authentication for Critical Function |
Patch immediately. CISA added CVE-2026-41940 to the Known Exploited Vulnerabilities catalog on 2026-04-30. Federal civilian agencies must remediate by 2026-05-03. Treat every internet-reachable instance as a priority patch.
What is CVE-2026-41940?
CVE-2026-41940 is a Missing Authentication flaw in WebPros cPanel. It carries a CVSS base score of 9.3 (critical). CISA confirmed real-world exploitation by adding it to the Known Exploited Vulnerabilities catalog on 2026-04-30.
From the source record: 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.
Why it matters in practice: KEV-listed CVEs draw continuous internet-wide scanning. Any unpatched, internet-reachable installation is on borrowed time. The blast radius depends on how the affected service is exposed. An internet-facing instance with no compensating controls is the highest-risk configuration.
Am I affected?
You are affected if your installation of cPanel matches a version listed in the Affected row above.
Check the installed version of cPanel against the Affected row above. If the version sits at or below the affected range and the vendor patch has not been applied, you are vulnerable.
How to fix CVE-2026-41940
Apply the vendor patch. Target a build at or above: 11.102.0.39, 11.110.0.97, 11.118.0.63, 11.124.0.35, 11.126.0.54 (see advisory). The runnable command set below covers the most common deployment patterns for cPanel.
Generic upgrade path
# Debian / Ubuntu
sudo apt-get update && sudo apt-get install --only-upgrade cpanel
# RHEL / Rocky / Alma
sudo dnf upgrade --security -y
# Windows
# PowerShell:
# winget upgrade --all --silent --accept-package-agreements --accept-source-agreements
# macOS
sudo softwareupdate -i -a -R
After applying the patch
- Restart the service or device so the patched binary loads.
- Confirm the running version matches the Fixed in row using the verification command below.
- Rotate credentials and API keys that the affected service could access if the asset was exposed during the disclosure window.
If you can't patch immediately
Until the patch lands, narrow the attack surface with these runnable controls.
Reduce the attack surface
Restrict network reach to the affected service to the smallest set of hosts that must access it. On Linux:
# Vendor advisory: https://support.cpanel.net/hc/en-us/articles/40073787579671-cPanel-WHM-Security-Update-04-28-2026
sudo iptables -A INPUT -p tcp --dport <service-port> -s 10.10.10.0/24 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport <service-port> -j DROP
On Windows:
# Vendor advisory: https://support.cpanel.net/hc/en-us/articles/40073787579671-cPanel-WHM-Security-Update-04-28-2026
New-NetFirewallRule -DisplayName "Block CVE-2026-41940 inbound" -Direction Inbound -Action Block -Protocol TCP -LocalPort <service-port>
Mitigations are temporary. Apply the vendor patch as soon as a maintenance window opens.
How to verify the fix worked
Confirm the patched build is the one actually running.
Run the product's --version or about command and compare against the Fixed in row (11.102.0.39, 11.110.0.97, 11.118.0.63, 11.124.0.35, 11.126.0.54 (see advisory)). Re-run an authenticated vulnerability scan and confirm the scanner no longer flags CVE-2026-41940.
Also worth doing: pull recent log windows for any indicators of compromise listed in the vendor advisory, and re-run an authenticated vulnerability scan with up-to-date signatures.
Frequently asked questions
Related fixes
Other vulnerabilities in the same area that are worth patching alongside this one:
- How to Fix CVE-2026-2352: Critical Vulnerability in Autoptimize — Critical Vulnerability in Autoptimize
- How to Fix CVE-2026-2871: Stack buffer overflow in A21 — Stack buffer overflow in A21
- How to Fix CVE-2026-7289: Buffer Overflow in DIR-825M , Buffer Overflow in DIR-825M
- How to Fix CVE-2026-34750: payload (Bundle Sibling) , payload (Bundle Sibling)
- How to Fix CVE-2026-5848: Code Injection in JimuReport , Code Injection in JimuReport
Is CVE-2026-41940 being exploited in the wild?
Yes. CISA added CVE-2026-41940 to the Known Exploited Vulnerabilities catalog on 2026-04-30. KEV listing means at least one confirmed real-world exploitation report exists.
Do I have to take downtime to patch?
For most WebPros cPanel deployments, the patched build needs a service restart or device reboot. HA pairs and clusters can roll the upgrade by patching the standby first, failing over, then patching the former primary.
Will a WAF or IDS rule alone close CVE-2026-41940?
No. Network filters cut down opportunistic scans but they do not remove the flaw. The vendor patch is the only durable fix.
Why is CVE-2026-41940 rated critical?
The CVSS base score of 9.3 reflects network reach, low attack complexity, and high impact on confidentiality, integrity, and availability. That combination is what the rating model maps to critical.
References
- Official vendor advisory: https://support.cpanel.net/hc/en-us/articles/40073787579671-cPanel-WHM-Security-Update-04-28-2026
- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2026-41940
- CISA KEV catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- CISA KEV entry: "WebPros cPanel & WHM and WP2 (WordPress Squared) Missing Authentication for Critical Function Vulnerability" - added 2026-04-30, due 2026-05-03
- Additional reference: https://docs.cpanel.net/release-notes/release-notes
- Additional reference: https://docs.wpsquared.com/changelogs/versions/changelog/#13617
- Additional reference: https://github.com/watchtowrlabs/watchTowr-vs-cPanel-WHM-AuthBypass-to-RCE.py
- Additional reference: https://labs.watchtowr.com/the-internet-is-falling-down-falling-down-falling-down-cpanel-whm-authentication-bypass-cve-2026-41940/
*Assembled from the official vendor advisory, the NVD record, and the CISA KEV listing on 2026-05-25. Always confirm against the vendor advisory before applying changes in production.*