CVE-2026-58048 SQL injection in WP Squared

Critical 9.4 Published Updated

Attackers can execute SQL commands with root privileges by exploiting improper SQL mode preservation during database renaming in cPanel.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-58048?

CVE-2026-58048 is a critical SQL injection vulnerability in WebPros WP Squared, published on 31 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Improper preservation of SQL mode when renaming databases in cPanel allows execution of SQL in root context.

Weakness: CWE-89

Which versions are affected by CVE-2026-58048?

How do I fix CVE-2026-58048?

No fix has been published for CVE-2026-58048 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-58048 being exploited?

There is no known exploitation of CVE-2026-58048 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-xgvx-cwxw-9vpj.

Is CVE-2026-58048 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free