Blog

cPanel CVE-2026-58048: The Database Root Flaw Every Host Should Patch Today

August 4, 2026 SharedLicense 8 min read

Quick summary

Looking for affordable server licenses? SharedLicense offers cPanel, DirectAdmin, LiteSpeed, CloudLinux, and Windows licenses at wholesale prices with instant delivery.

Browse licenses →

CVE-2026-58048 is a cPanel privilege escalation rated 9.4 on CVSS 4.0. An authenticated cPanel account with MySQL access can run SQL as the database root user, which can extend to OS level compromise. Patched builds are 11.110.0.137, 11.118.0.71, 11.126.0.78, 11.134.0.48, and 11.136.0.32. Update with /usr/local/cpanel/scripts/upcp –force.
cPanel shipped a targeted security release on August 4, 2026 that closes a serious boundary crossing. An authenticated hosting customer with database access could run SQL as the database root user. The flaw, tracked as CVE-2026-58048, carries a 9.4 CVSS 4.0 score and affects every supported cPanel and WHM version, plus WP Squared. Fixes are already out. This post explains what the bug does, which builds are patched, how to update, and what to do if you cannot update immediately.

Disclosure: This is a news analysis based on the cPanel vendor advisory and public CVE records. SharedLicense sells cPanel licenses and has a commercial interest in keeping servers patched and supported.

Fast-Scan Summary

  • The flaw is CVE-2026-58048, CVSS 4.0 score 9.4, a database privilege escalation.
  • Trigger requires a valid cPanel account plus access to the MySQL/MariaDB feature.
  • It lets the account holder run SQL in the database root context, which cPanel says may extend to OS level compromise.
  • Root cause: SQL mode is not preserved when a database is renamed inside cPanel.
  • Patched builds: 11.110.0.137, 11.118.0.71, 11.126.0.78, 11.134.0.48, 11.136.0.32 (and 138.1.6 for WP Squared).
  • Fix command: /usr/local/cpanel/scripts/upcp --force.
  • Temporary mitigation if you cannot patch now: revoke the MySQL feature from cPanel accounts.

What CVE-2026-58048 Actually Does

The flaw lives in cPanel’s database renaming process. When a database is renamed, cPanel creates a replacement database, moves the original data, recreates grants and stored code, and removes the old database. The SQL mode is not preserved during that operation. As a result, the SQL runs in the database administrative, or root, context.

Under normal operation, cPanel grants database privileges that do not require SUPER access or allow global changes. CVE-2026-58048 bypasses those limits. With a valid cPanel account and the MySQL or MariaDB feature enabled, an account holder can execute arbitrary database commands with full administrative privileges. Depending on the operating system and database engine configuration, cPanel says this may extend to operating system level compromise.

There is a naming wrinkle worth knowing. The vendor advisory titles the issue a privilege escalation and does not use the words SQL injection. The CVE record, classified by the HackerOne CNA, labels the same defect CWE-89, SQL injection. Two labels, one bug, viewed from different angles. Neither record names the injected input, the affected SQL mode, or a payload.

{{VERIFY: CVSS score, affected products, and root cause | cPanel vendor advisory CVE-2026-58048; NVD CVE-2026-58048}}

Which cPanel Builds Are Patched

cPanel patched CVE-2026-58048 across every supported branch. If your installed build is older than the one listed for your branch, you are exposed.
Product Branch Patched build
cPanel & WHM 11.110 11.110.0.137
cPanel & WHM 11.118 11.118.0.71
cPanel & WHM 11.126 11.126.0.78
cPanel & WHM 11.134 11.134.0.48
cPanel & WHM 11.136 11.136.0.32
WP Squared 138 138.1.6

Check your installed version in WHM under cPanel & WHM Updates, or run /usr/local/cpanel/cpanel -V from root. Anything below the patched point release for your branch needs updating.

How to Patch CVE-2026-58048 Now

Update from WHM under cPanel & WHM Updates, or run the updater from root. Then confirm the new build matches the patched release for your branch.
/usr/local/cpanel/scripts/upcp --force

After the update finishes, restart cpsrvd if the script asks you to, then recheck the version. On a multi server estate, run the update in a maintenance window, because a failed or partial update can leave cpsrvd mid restart.

Need the best price on server licenses?

Get cPanel, DirectAdmin, LiteSpeed & more with instant delivery and 24/7 support.

{{VERIFY: update command and procedure | cPanel documentation, How do I update cPanel and WHM}}

The Workaround If You Cannot Update Immediately

If patching has to wait, revoke the MySQL feature from cPanel user accounts in WHM. Existing databases keep running. Users lose the ability to add or remove databases until you restore the feature.

This is a containment move, not a fix. The flaw still exists in unpatched code, and any account that already holds database access before you revoke the feature remains a live path. Treat the workaround as a bridge to a same day or same week patch, not as a long term policy.

Two More Flaws Fixed in the Same Release

The August 4 release also closes an HTTP request smuggling issue in the cPanel daemon and an Exim privilege escalation that ships under cPanel’s default mail configuration.
ID What it is Severity Where it is fixed
CVE-2026-58047 HTTP request smuggling in cpsrvd on ports 2083, 2087, 2096. An unauthenticated remote attacker may manipulate responses to other users, and credentials could leak. CVSS 4.0 score 5.6 Same cPanel release. Workaround: set cpsrvd_keepalives_disabled=1 in /var/cpanel/cpanel.config and restart cpsrvd.
GCVE-25-2026-07-45-3 Exim .forward unsafe string expansion in the redirect router under certain pipe transport configs. Under cPanel’s default config it runs as the cPanel user and may allow escalation from Team User sub accounts. Privilege escalation Exim 4.99.5 removes the vulnerable expansion.
GCVE-25-2026-07-45-1 Exim local directory traversal through queue name command line arguments. Can reach files outside the spool area and enable escalation. High Exim 4.99.5.

The request smuggling workaround has a cost. cPanel says disabling backend connection reuse forces a fresh TCP and TLS connection for every request on 2083, 2087, and 2096, which raises latency and CPU use on busy servers. Use it only until you can patch. cPanel credits researcher Vincent55 Yang with reporting both cPanel CVEs. The Exim advisories name no researcher.

{{VERIFY: CVE-2026-58047 and Exim GCVE details | cPanel advisories; Exim Security 2026-06-22 advisories}}

Who Is Actually at Risk

The exploit requires a valid cPanel account with database access. That narrows the threat population to who holds accounts on your server, but it does not make the flaw minor.

A server whose accounts all belong to one company is a different proposition from a shared host selling accounts to strangers. On a shared box, any paying customer who can open phpMyAdmin is inside the trigger conditions. The line is not clean either, because accounts get phished, resold, or taken over. CISA’s August 4 enrichment recorded no exploitation, rated the flaw non automatable, and rated its technical impact as total. That snapshot says nothing about the days since publication, so treat “none exploited” as a moment, not a verdict.

A Build List Discrepancy Worth Checking

Cross referencing the three advisories in this release surfaces one inconsistency worth acting on. The database advisory lists build 11.118.0.71 as patched. The request smuggling and Exim advisories, published in the same release, leave the 11.118 branch off their lists entirely.

If you run any 11.118 build, do not trust the shorter lists from the other two advisories. Check your installed point release against the database advisory, and assume the branch still needs the database patch even if the companion CVEs look unsupported on it. This is the kind of gap that bites operators who skim the headline CVE and skip the build table, and it is the single most useful thing to verify beyond running the updater.

FAQ: CVE-2026-58048, Answered

What is CVE-2026-58048?

CVE-2026-58048 is a privilege escalation flaw in cPanel and WHM rated 9.4 on CVSS 4.0. It lets an authenticated cPanel account with MySQL access run SQL as the database root user. cPanel patched it in builds 11.110.0.137, 11.118.0.71, 11.126.0.78, 11.134.0.48, and 11.136.0.32.

How do I patch CVE-2026-58048?

Update cPanel from WHM under cPanel and WHM Updates, or run /usr/local/cpanel/scripts/upcp --force as root. Then confirm the installed build matches one of the patched releases.

Can I mitigate CVE-2026-58048 without updating?

Yes, as a temporary measure. In WHM, revoke the MySQL feature from cPanel user accounts. Existing databases keep running, but users cannot add or remove databases until you patch and restore the feature.

Which cPanel versions are patched?

Builds 11.110.0.137, 11.118.0.71, 11.126.0.78, 11.134.0.48, and 11.136.0.32 for cPanel and WHM, and 138.1.6 for WP Squared. Any build older than these in the same branch is vulnerable.

Stay Patched, Stay Supported

The pattern with cPanel flaws is consistent. A CVE lands, the patched builds ship the same day, and the hosts who update inside the first 48 hours avoid the window where scanners start probing for the unpatched versions. Run the updater, confirm the build, and if you cannot patch today, revoke the MySQL feature as a bridge.

Keeping cPanel on a current, licensed build is what makes that response possible in the first place. At SharedLicense we keep hosting providers running for less with affordable licenses for cPanel, DirectAdmin, LiteSpeed, CloudLinux, JetBackup, and Imunify360. Compare cPanel license options at SharedLicense.

Sources

  • cPanel vendor advisory: CVE-2026-58048, Database Privilege Escalation (support.cpanel.net)
  • NVD entry: CVE-2026-58048 (nvd.nist.gov)
  • CISA Vulnrichment snapshot, August 4, 2026 (github.com/cisagov/vulnrichment)
  • cPanel advisories: CVE-2026-58047 (HTTP Request Smuggling) and GCVE-25-2026-07-45-3 (Exim .forward)
  • Exim Security 2026-06-22 advisories (exim.org)
  • Original reporting: The Hacker News, August 4, 2026

SharedLicense

Share:

Ready to save on software licenses?

Join thousands of hosting providers who trust SharedLicense for wholesale pricing and instant delivery.