New cPanel Critical Flaw Could Let Hosting Customers Run SQL as Database Root
cPanel fixed a critical flaw allowing hosting customers to run SQL as the database root, crossing the boundary between their account and the server's administrative identity.
Overview
cPanel released a security update to fix a flaw that allowed a logged-in user to run databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software commands with full administrative privilegesThe highest permission level on a computer or network, allowing full control over software and settings. This issue, tracked as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-58048, affects all supported versions of cPanel and WHM as well as WP Squared. The bug occurs during the database renaming process when the system fails to preserve the correct security mode. This failure causes the commands to execute in the rootThe highest administrator permission level on a system, with unrestricted control over all files and programs context instead of the limited user context. The vulnerability has a CVSS 4.0The standard rating scale used to score how severe a software security flaw is score of 9.4 and can potentially lead to operating-systemThe core software on a computer or phone that manages hardware, files, memory, and running apps-level compromise. Servers that cannot update immediately can temporarily revoke the MySQL feature to prevent users from adding or removing databases.
Terms in this story
- Database
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- administrative privileges
- The highest permission level on a computer or network, allowing full control over software and settings. Attackers try to steal accounts with administrative privileges because those accounts can turn off antivirus tools, read any file, and install malware across the network.
- privileges
- The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- Root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- CVSS 4.0
- The standard rating scale used to score how severe a software security flaw is. Security advisories include a CVSS rating from low to critical based on how easy a bug is to exploit and how much damage it allows. Security+ objective 4.3 lists the term
- SQL
- The standard query language used to read, add, update, and delete records in relational databases. Almost every banking, retail, and hospital system stores its records in a database controlled by SQL, which is why SQL injection bugs that alter those queries are so dangerous.
- patched
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- authenticated
- A person or account that has already signed in with valid credentials. Some vulnerabilities cannot be triggered by a stranger on the internet and instead require an authenticated user who already holds at least a basic account on the system.
- server's
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- operating system
- The core software on a computer or phone that manages hardware, files, memory, and running apps. Because every application relies on the operating system, a security flaw in the operating system itself affects millions of devices until users install a system update.
- configuration
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"...cpanel has patched a flaw that let an authenticated hosting customer execute sql in the databases root context..." Found by reading the article; these exact words are in it - Security+ 2.3 Explain various types of vulnerabilities.
"New cPanel Critical Flaw Could Let Hosting Customers Run SQL as..." Found in the headline - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"...cPanel has patched a flaw that let an authenticated hosting..." Found in the opening sentences - Security+ 4.3 Explain various activities associated with vulnerability management.
"New cPanel Critical Flaw Could Let Hosting Customers Run SQL as..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......cPanel account and the server's administrative database identity. It shipped in a targeted security..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"New cPanel Critical Flaw Could Let Hosting Customers Run SQL as..." Found in the headline - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"...cPanel has patched a flaw that let an authenticated hosting..." Found in the opening sentences
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- CVE-2026-58048: cPanel Bug Enables Full Database Administrator Access
- Critical cPanel Vulnerability Allows Execution of SQL Commands as Root User