CVE-2026-58048

Privilege Escalation via SQL Mode Preservation During Database Rename

Published Jul 31, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
Description
Improper preservation of SQL mode when renaming databases in cPanel allows execution of SQL in root context.

Analysis

AI-generated

Technical impact

Renaming databases in cPanel fails to preserve the SQL mode, permitting a user with rename permissions to execute arbitrary SQL statements as the database root user. This flaw is a classic SQL injection (CWE‑89) that escalates database privileges and can compromise data integrity and confidentiality.

Affected Systems

The vulnerability impacts cPanel installations managed by WebPros, notably the cPanel product itself. Affected versions are not explicitly listed, but the issue exists in releases prior to the fix referenced in the cPanel changelog and support article.

Risk and Exploitability

With a CVSS score of 9.4 the flaw is considered critical, yet the EPSS score is below 1%, suggesting exploitation is unlikely under current threat intelligence. The vulnerability is not cataloged in the CISA KEV list but remains a high‑impact risk for any environment where database renaming privileges are granted.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade cPanel to the latest patch level as documented in the cPanel changelog and support article releasing a fix for SQL mode preservation during database renaming
  • Restrict database rename permissions to trusted, least‑privileged administrators and audit recent rename actions for suspicious activity
  • If an immediate upgrade is not possible, temporarily disable the database rename feature to block exploitation paths

Generated by OpenCVE AI on August 2, 2026 at 04:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Privilege Escalation via SQL Mode Preservation During Database Rename
Type Values Removed Values Added
First Time appeared Webpros
Webpros cpanel
Webpros wp Squared
Vendors & Products Webpros
Webpros cpanel
Webpros wp Squared
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper preservation of SQL mode when renaming databases in cPanel allows execution of SQL in root context.
Weaknesses CWE-89
References
Metrics cvssV4_0

{'score': 9.4, 'vector': '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'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 7, 2026, 6:00 PM
Reserved
Jun 27, 2026, 3:00 PM
Status
Awaiting Analysis
Published
Jul 31, 2026, 5:16 PM
Modified
Sep 3, 2026, 5:02 PM