Securing Your cPanel & WHM Installation: A Step-by-Step Update Guide

By ✦ min read

Introduction

Keeping your web hosting control panel up to date is not just a best practice—it’s a necessity. cPanel and Web Host Manager (WHM) recently released patches that fix three security flaws. If left unpatched, these vulnerabilities could allow an attacker to escalate privileges, execute arbitrary code, or cause a denial-of-service condition. One of the issues, tracked as CVE-2026-29201 (CVSS 4.3), stems from insufficient input validation in a feature file name within the feature::LOADFEATUREFILE adminbin call. Other vulnerabilities involve code execution and denial-of-service vectors. This guide walks you through updating your cPanel/WHM installation to protect your server and your clients.

Securing Your cPanel & WHM Installation: A Step-by-Step Update Guide
Source: feeds.feedburner.com

What You Need

Before you begin, ensure you have the following:

Step-by-Step Guide

Step 1: Check Your Current cPanel/WHM Version

Knowing your current version helps you confirm whether the update is needed. Login via SSH as root and run:

/usr/local/cpanel/cpanel -V

Or, browse to WHM >> Home >> Server Information. Look for the version string. If you’re running a release older than the patched tier (refer to cPanel’s release notes for specifics), proceed to Step 2.

Step 2: Create a Full Backup

Always back up before making changes. At minimum, create a system backup using WHM’s Backup feature:

  1. Go to WHM >> Home >> Backup >> Backup Configuration.
  2. Enable full backups to a remote destination or local drive.
  3. Run a manual backup via WHM >> Home >> Backup >> Generate Backup.
  4. Alternatively, use the command /usr/local/cpanel/scripts/backup for a quick snapshot.

Store the backup off-server if possible.

Step 3: Update cPanel/WHM Using the Command Line

The most reliable method is via the built-in updater. Connect via SSH and execute:

/usr/local/cpanel/scripts/upcp --force

This forces a full update check and applies the latest stable release, including patches for the three vulnerabilities. The process may take several minutes. Do not interrupt it.

Alternatively, from WHM:

  1. Navigate to WHM >> Home >> Server Configuration >> Update Preferences.
  2. Ensure the update tier is set to RELEASE (or EDGE for bleeding edge, but RELEASE is recommended for stability).
  3. Click Update to Latest Version and confirm.

Step 4: Verify the Update

After the update completes, confirm the new version:

Securing Your cPanel & WHM Installation: A Step-by-Step Update Guide
Source: feeds.feedburner.com
/usr/local/cpanel/cpanel -V

Compare the version number with the patched release information from cPanel’s security announcements. Also check for any error messages in the update logs:

tail -100 /var/log/cpanel-update.log

If you see failures, refer to cPanel’s documentation or open a support ticket.

Step 5: Run Post-Update Checks

Confirm that the vulnerabilities are addressed by verifying the following:

Additionally, restart any related services that may have been affected:

service cpanel restart && service httpd restart && service mysql restart

Finally, re-check your backup configuration to ensure future backups include the updated files.

Tips for a Smooth Update

By following these steps, you’ll protect your server from the three identified vulnerabilities (including CVE-2026-29201) and maintain a secure hosting environment.

Tags:

Recommended

Discover More

How to Partner with Fishermen to Map Ocean Changes: A Guide for ScientistsRevolutionary Memory Chip Defies Miniaturization Limits for Ultra-Efficient ElectronicsGoogle's AI Overviews: The Click Crisis and the 'Further Exploration' FixPractical Guide to Adaptive Parallel Reasoning for Smarter LLM InferenceWhatnot Mandates Employee Selling and Support — Performance Reviews Hinge on App Usage