Critical cPanel Flaw Lets Authenticated Users Gain Database Root Privileges
Patch & Detection Intelligence · 4 sources · Updated 3mo ago · First seen Aug 4, 2026

cPanel disclosed and patched CVE-2026-58048, a critical privilege-escalation flaw in cPanel & WHM that allows an authenticated user with MySQL or MariaDB access to execute arbitrary SQL commands with full database administrator privileges. The bug, rated CVSS 9.4, affects all supported cPanel & WHM versions and WP Squared, and stems from the database rename process failing to preserve SQL mode correctly, enabling escalation into the database root context.
The company warned that in some shared-hosting, database, and operating-system configurations, the flaw could extend beyond database control to OS-level compromise and potentially full server takeover. cPanel said customers should upgrade immediately to fixed releases; if patching is delayed, administrators should temporarily revoke the MySQL feature from cPanel users and review database audit logs for suspicious administrative activity. CISA said no active exploitation had been observed and classified the issue as non-automatable despite its severe technical impact.


