CVE-2026-29206

SQL Injection via sqloptimizer in cPanel when Slow Query logging is enabled

Published May 13, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Insufficient sanitization of SQL queries in the `sqloptimizer` utility script allows SQL Injections on behalf of the root user if Slow Query logging is enabled.

Analysis

AI-generated

Technical impact

The sqloptimizer utility script in cPanel and related WebPros products fails to properly sanitize SQL queries, permitting a privileged SQL injection that executes under the root account when Slow Query logging is active. This vulnerability enables an attacker to run arbitrary SQL commands with root privileges, potentially compromising confidentiality, integrity, and availability of the system’s database layer.

Affected Systems

The flaw affects WebPros’ WP Squared, cPanel, and cPanel installations on CloudLinux 6 and CentOS 6. No specific version ranges are enumerated in the advisory, so any deployment of these products may be susceptible until a patch is applied.

Risk and Exploitability

With a CVSS score of 8.1 the risk is defined as high; the EPSS score is not available, so current exploitation probability remains uncertain. The anomaly is not listed in CISA’s KEV catalog, but the root‑level nature of the attack vector means exploitation would have severe consequences if an attacker can leverage the disabled Slow Query logging feature. The likely attack requires local privileged access or the ability to influence the logging process, possibly through the web interface or configuration files. Should the vulnerability be exploited, the attacker could execute destructive commands as root, leading to total system compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update cPanel and WP Squared to the latest releases that address the sqloptimizer injection flaw if a vendor patch is available.
  • If an immediate patch is not feasible, disable Slow Query logging in cPanel’s configuration to eliminate the vulnerable execution path.
  • Verify database accounts follow the principle of least privilege and audit root‑level scripts for unexpected queries.

Generated by OpenCVE AI on May 13, 2026 at 23:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Webpros
Webpros cpanel
Webpros cpanel (cloudlinux 6, Centos 6)
Webpros wp Squared
Vendors & Products Webpros
Webpros cpanel
Webpros cpanel (cloudlinux 6, Centos 6)
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
Title SQL Injection via sqloptimizer in cPanel when Slow Query logging is enabled
Type Values Removed Values Added
Description Insufficient sanitization of SQL queries in the `sqloptimizer` utility script allows SQL Injections on behalf of the root user if Slow Query logging is enabled.
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
May 14, 2026, 1:55 PM
Reserved
Mar 4, 2026, 3:00 PM
Status
Deferred
Published
May 13, 2026, 11:16 PM
Modified
Oct 26, 2026, 2:10 PM