Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged cPanel user
-
DeliveryOpen database management interface
-
ExploitSubmit crafted database-rename request
-
ExecutionSQL mode not preserved, injection reaches root context
-
PersistExecute arbitrary SQL as root
-
ImpactCompromise other tenant databases or DB server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated low-privileged cPanel account (PR:L) with access to the database-management interface, and specifically invokes the database-rename operation, where the active SQL mode is not preserved and injected SQL is executed in the root database context. No end-user interaction is needed (UI:N) and the vector is network-reachable (AV:N). The principal limiting factor is that the attacker must already possess a valid hosting account on the target server, so the realistic exposure is malicious or compromised tenants in shared/multi-tenant cPanel and WP Squared deployments rather than fully anonymous internet attackers. |
| Impact | The signals point to a genuine high-priority issue for multi-tenant hosting environments. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity attack needing only low privileges and no user interaction, with high confidentiality, integrity and availability impact on both the vulnerable system and subsequent systems (SC:H/SI:H/SA:H) - consistent with a tenant escaping into the root database context. EPSS and KEV data were not provided, so exploitation probability and active-exploitation status are unknown; there is no public exploit identified at time of analysis, so this is not confirmed as actively exploited. The primary caveat is that PR:L means an attacker must already hold a valid cPanel account, which limits exposure to shared-hosting operators and their tenants rather than the open internet, but in a shared-hosting threat model a malicious or compromised tenant reaching root SQL context is a severe, realistic outcome. |
| Exploit ScenarioDerived | A malicious customer on a shared cPanel server logs into their standard hosting account and triggers a database-rename operation crafted to abuse the unpreserved SQL mode. Because the rename executes in the root database context, the injected SQL runs with full server privileges, letting the tenant read, modify, or destroy other customers' databases or escalate control of the database server. No public exploit code has been identified at time of analysis, and the attack requires only low-privileged authenticated access with no user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 31, 2026
Privilege escalation to SQL root context in cPanel (and WP Squared) occurs when the database-rename operation fails to preserve the active SQL mode, permitting a low-privileged authenticated hosting user to have SQL executed with root-level database privileges (CWE-89). This carries a CVSS 4.0 base score of 9.4 with a scope change to subsequent systems, and no public exploit has been identified at time of analysis. It is fixed in the cPanel 138 release series per the vendor advisory.
RemediationAI
Apply the vendor fix by upgrading to the patched cPanel build in the 138 release series as documented in the cPanel change log (https://docs.cpanel.net/changelogs/138-change-log) and the CVE advisory (https://support.cpanel.net/hc/en-us/articles/42285745783703-CVE-2026-58048-Database-Privilege-Escalation); exact fixed build should be confirmed from those pages before scheduling. cPanel's automatic-update mechanism should be enabled so the patched tier is picked up on the standard release cadence. Until the update is applied, compensating controls include restricting or temporarily disabling the database-rename feature for untrusted tenants and tightening which accounts can create or manage databases, accepting that this removes self-service database management for those users; on shared hosts, prioritizing patching of nodes with untrusted or numerous tenants reduces the window of exposure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
cPanel is a Linux-based web-hosting control panel that brokers unprivileged user actions (such as database creation and renaming) into privileged operations performed by root-owned daemons against the underlying MySQL/MariaDB server. The flaw is a CWE-89 SQL injection class issue rooted in improper preservation of the server SQL mode during the database-rename workflow: when the SQL mode is not correctly re-applied, attacker-influenced input in the rename path is interpreted such that SQL runs in the root database context rather than the confined user context. The affected CPE strings webpros:cpanel and webpros:wp_squared indicate both the standard cPanel product and the WP Squared managed-WordPress offering share the vulnerable code path.
Know when Cpanel gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable, low-complexity action needing only a standard cPanel account (PR:L); the escape into root DB context is a scope change (S:C) with full C/I/A impact.
Primary rating from Vendor (hackerone).
CVSS VectorVendor: hackerone
Lifecycle Timeline
2DescriptionCVE.org
Improper preservation of SQL mode when renaming databases in cPanel allows execution of SQL in root context.
Executive ViewAI
A critical privilege escalation vulnerability in cPanel (CVE-2026-58048, CVSS 9.4) allows database users with minimal privileges to assume root-level database access through a failed rename operation. In multi-tenant hosting environments, this enables low-privilege customer accounts to directly access and modify databases of other customers on the same server, creating an immediate cross-customer data breach risk and regulatory exposure.
Apply vendor patch (cPanel 138 release series).
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Root-level remote code execution in WebPros cPanel is achievable by any mail-enabled account through a SQL injection fla
An issue was discovered in cPanel before 11.109.9999.116. Rated medium severity (CVSS 6.1), this vulnerability is remote
cPanel through 74 allows XSS via a crafted filename in the logs subdirectory of a user account, because the filename is
OS command injection in cPanel and WP Squared allows an authenticated, low-privileged hosting account holder to execute
cPanel before 88.0.13 mishandles file-extension dispatching, leading to code execution (SEC-488). Rated critical severit
In cPanel before 88.0.3, insecure chkservd test credentials are used on a templated VM (SEC-554). Rated critical severit
In cPanel before 88.0.3, insecure RNDC credentials are used for BIND on a templated VM (SEC-549). Rated critical severit
chsh in cPanel before 88.0.3 allows a Jailshell escape (SEC-497). Rated critical severity (CVSS 9.8), this vulnerability
cPanel before 88.0.3 mishandles the Exim filter path, leading to remote code execution (SEC-485). Rated critical severit
cPanel before 84.0.20 allows a demo account to achieve code execution via PassengerApps APIs (SEC-546). Rated critical s
cPanel before 84.0.20 allows a demo account to achieve remote code execution via a cpsrvd rsync shell (SEC-544). Rated c
Argument injection in WP Toolkit for cPanel 6.11.2-10794 and earlier allows a remote authenticated (low-privileged, PR:L
EUVD-2026-51573
GHSA-xgvx-cwxw-9vpj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB