Security: CVE-2026-58048 Database Privilege Escalation
CVE-2026-58048 is a privilege escalation in cPanel & WHM's database management: an authenticated cPanel account holder with access to the MySQL/MariaDB database feature could execute arbitrary database commands with full administrative privileges and, depending on the operating system and database engine configuration, may extend that to the operating system. All supported versions are affected; update to the latest patched version, or temporarily revoke the MySQL feature from cPanel users on servers that cannot upgrade immediately.
Default Update CMD
sudo /scripts/upcp --force
What this means under a SharedLicense license
An authenticated cPanel user with the database feature can run database commands with full administrative privileges, possibly reaching the operating system itself.
Situation
A privilege escalation vulnerability exists in cPanel & WHM’s database management functionality.
Affected Product Versions
| Product | Affected Versions | Patched Versions |
|---|---|---|
| cPanel/WHM | All supported versions | 11.110.0.137 11.118.0.71 11.126.0.78 11.134.0.48 11.136.0.32 138.1.6 ( WP2 ) |
Impact
An authenticated cPanel account holder with access to the MySQL/MariaDB database feature could potentially execute arbitrary database commands with full administrative privileges. Depending on the operating system and database engine configuration, this may extend to operating-system-level compromise.
Call to action
Update to the latest patched version: How do I update cPanel/WHM?
Mitigation
Servers that cannot immediately upgrade can temporarily revoke the «MySQL» feature from cPanel users. This will not disable existing databases but just prevent adding/removing. To do so, you can follow the steps here:
How to edit a feature list
Acknowledgements
WebPros thanks Vincent55 Yang for responsibly disclosing this issue.
Frequently Asked Questions
Who can exploit CVE-2026-58048?
Which versions are affected?
What can I do if I cannot upgrade immediately?
Is my cPanel license affected?
Check your system for vulnerabilities
Select your product and operating system to see the exact fix commands that apply to you.
Check Your System