cPanel and WHM: update tiers and keeping servers patched

Updated November 2026

cPanel & WHM can update itself every night and apply security builds every hour, but only if those settings are on and your server runs a supported version. Check your build, confirm /etc/cpupdate.conf, keep operating system updates on, and keep WHM (port 2087) closed to everyone except your admin addresses.

What cPanel and WHM are

cPanel & WHM is a commercial hosting control panel used by web hosts and many self-managed servers. WHM (WebHost Manager) is the root and reseller interface, served on port 2087 over HTTPS. cPanel is the per-account interface for website owners, on port 2083. Webmail runs on 2096. The plain-HTTP ports 2082, 2086 and 2095 also exist; the cPanel documentation strongly recommends using only the SSL versions.

Because WHM runs as root and manages every site, mailbox and database on the server, a flaw in its login code is a full server compromise. In April 2026 an authentication bypass (CVE-2026-41940) was exploited before most servers were patched, which is why update settings and port restrictions both matter.

Check your version

Run these as root (or with sudo):

/usr/local/cpanel/cpanel -V        # e.g. 134.0 (build 57)
cat /usr/local/cpanel/version      # e.g. 11.134.0.57
whmapi1 version                    # same, through the WHM API
grep -E '^(CPANEL|UPDATES|RPMUP|SECURITY_UPDATES)=' /etc/cpupdate.conf

Security advisories quote fixed builds in the long form (for example 11.134.0.57), which is what /usr/local/cpanel/version prints. Compare the last number, the build, against the advisory for your major version.

Release tiers and supported versions

Each server follows a release tier, set as CPANEL= in /etc/cpupdate.conf or as “Release Tier” in WHM’s Update Preferences:

LTS
One major version per year, kept for about a year with security and critical fixes only. Servers on LTS move to the next LTS version when it appears.
STABLE
A version that has had public exposure and testing; published less often than RELEASE.
RELEASE
The default for new installations: feature-complete and tested. Automatic major-version upgrades on this tier may be delayed by a few random business days to spread the load.
CURRENT
A release candidate; tested, but some features may still be in development.
EDGE
Rudimentary testing only, updated up to several times a week. cPanel says not to use it on production servers.
A version moves through the tiers as it is tested EDGE CURRENT RELEASE STABLE LTS Test servers only Default One version a year Updated most often, least tested Updated less often, more tested
cPanel & WHM release tiers. LTS is not a later step but a separate choice that stays on one major version for about a year.
cPanel & WHM versions and approximate end of life, as of November 2026 (from cPanel’s product versions page)
VersionReleased (approx.)End of life (approx.)
138July 2026November 2026
136April 2026August 2026
134 (LTS)January 2026June 2027
110 (LTS)March 2023December 2026; critical security fixes for CentOS 7 and CloudLinux 7 servers through January 1, 2028 (Extended Lifecycle Support)

A non-LTS version does not reach end of life until the next version reaches the RELEASE tier, so the dates above can move. Once a version reaches end of life it gets no more security fixes, and cPanel emails a warning beforehand. Supported operating systems are AlmaLinux (8, 9 and 10), CloudLinux, Rocky Linux and Ubuntu 24.04 LTS. When cPanel adds a new Ubuntu LTS, the older one is deprecated and blocks upgrades to newer cPanel versions. If you are on CentOS 7, you are limited to version 110; see what to do on an end-of-life server.

Update settings in /etc/cpupdate.conf

These are the documented defaults:

CPANEL=release
RPMUP=daily
SARULESUP=daily
SECURITY_UPDATES=hourly
STAGING_DIR=/usr/local/cpanel
UPDATES=daily

It is safer to change these in WHM » Server Configuration » Update Preferences than to edit the file. Missing or invalid values are reset to the defaults.

Update now with upcp

As root:

# update to the newest build allowed by your tier
/usr/local/cpanel/scripts/upcp

# only critical security updates for the current major version
/usr/local/cpanel/scripts/upcp --security

# run in the background and follow the log
/usr/local/cpanel/scripts/upcp --bg
tail -f "/var/cpanel/updatelogs/$(ls -t /var/cpanel/updatelogs/ | head -1)"

Two other options exist for repairs: --sync repairs the installed version without downloading a newer one, and --force reinstalls all files. The cPanel documentation warns that --force overrides your update preferences, so check your tier first; the two cannot be combined. When the update finishes, run /usr/local/cpanel/cpanel -V again and compare the build with the advisory.

Operating system updates under cPanel

cPanel manages its own software, but the kernel, OpenSSL, glibc and other system packages come from the operating system. With RPMUP=daily the nightly update installs them. If it is manual or never, update them yourself:

sudo dnf upgrade --refresh                 # AlmaLinux, Rocky, CloudLinux
sudo apt update && sudo apt upgrade        # Ubuntu 24.04

A kernel update needs a reboot (this restarts every site and service on the server). Check whether one is pending with sudo dnf needs-restarting -r or by looking for /var/run/reboot-required on Ubuntu. See Kernel updates and Kernel live patching for options that reduce reboots.

Recent security releases

Selected 2026 cPanel & WHM advisories (from cPanel and the Canadian Centre for Cyber Security)
IssuePublishedFixed builds (examples)
CVE-2026-41940: authentication bypass in session handling, CVSS 9.8, added to CISA’s Known Exploited Vulnerabilities list on May 1April 28, 202611.110.0.97, 11.118.0.63, 11.126.0.54, 11.130.0.19, 11.132.0.29, 11.134.0.20, 11.136.0.5
CVE-2026-65643: domain parkingAugust 27, 202611.110.0.141, 11.134.0.53, 11.136.0.37, 11.138.0.2
CVE-2026-87899: CalDAV/CardDAVSeptember 22, 202611.134.0.57, 11.136.0.41, 11.138.0.8

For CVE-2026-41940, cPanel also published a script to scan session files for signs of exploitation. Any server that was unpatched in late April 2026 should be checked with it, and with Signs of compromise. More issues are listed on the vulnerability list.

Restrict panel ports to admin IPs

Website owners on a shared server need cPanel (2083) and webmail (2096). WHM (2087, and 2086 if still open) is for administrators and resellers only, so it is the first port to restrict to your office addresses or VPN. The Canadian Cyber Centre’s advice for CVE-2026-41940 was exactly this: allowlist the IPs that may reach the cPanel/WHM interfaces until the patch is in.

The firewall guide covers general rules; restrict SSH the same way.

Turn on two-factor authentication

In WHM » Security Center » Two-Factor Authentication, set the policy to On, then set up 2FA for root under “Manage My Account” with any TOTP app (cPanel mentions Google Authenticator and Duo Mobile). Resellers and cPanel users then enroll in their own interfaces. To require 2FA for API calls too, enable “API requests” in WHM » Security Center » Configure Security Policies; some third-party tools may break. If codes are rejected, check that the server clock is correct.

Where advisories are published

Quick hardening tips

Sources