CVE-2026-41940: cPanel & WHM login-flow authentication bypass

Exploited in the wild Critical 9.3 EPSS 98.5% cPanel & WHM

A flaw in the cPanel & WHM login flow lets an unauthenticated remote attacker gain access to the control panel without valid credentials. All cPanel & WHM versions after 11.40 and WP Squared before 11.136.1.7 are affected. Patched builds were released on 28 April 2026; CISA added it to KEV on 30 April 2026 and lists it as used in ransomware campaigns.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run cPanel & WHM and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. upcp restarts the cPanel services itself; no reboot is needed.
  4. Because this flaw is being exploited, also check the server for signs of compromise.

Affected and fixed versions

Affected:

Fixed in:

Am I affected?

/usr/local/cpanel/cpanel -V

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
not in distro repos: /scripts/upcp
Ubuntu
# as root
/usr/local/cpanel/scripts/upcp --force
RHEL, AlmaLinux, Rocky, Oracle
# as root; --force overrides the server's update preferences and installs the latest build for its tier
/usr/local/cpanel/scripts/upcp --force
Fedora
not supported
SUSE / openSUSE
not supported
Amazon Linux
not supported
Arch Linux
not supported
Alpine
not supported
FreeBSD
not supported

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

https://support.cpanel.net/hc/en-us/articles/40073787579671-cPanel-WHM-Security-Update-04-28-2026 ; https://docs.cpanel.net/release-notes/release-notes/ ; https://docs.wpsquared.com/changelogs/versions/changelog/#13617 ; https://nvd.nist.gov/vuln/detail/CVE-2026-41940"

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC and reviewed by an editor. Always confirm with your vendor's advisory.