The $4 Hosting Account That Could Root an Entire Server
A critical SQL injection in cPanel's EmailTrack feature allows an attacker with only basic mail privileges to create arbitrary files and ultimately execute code as root. This could let one low-privilege mailbox account compromise every other customer on a shared server.
Published on medium.com
Imagine a shared hosting box running 400 different websites. One customer signs up for the cheapest plan available — a single mailbox, nothing more.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
cPanel and WHM are the control panels that sit in front of a large share of the world's shared hosting. The feature at the centre of this story is EmailTrack, the module that logs and reviews email delivery activity: it records what happened to messages as they move through the mail system and gives account holders a way to look that activity up.
CVE-2026-67401 is a critical SQL injection in EmailTrack. cPanel published its advisory on 8 September 2026, and the CVE Program later scored the issue 9.9 out of 10 on the CVSS scale, which the write-up describes as placing it among the most severe cPanel disclosures of the year.
The scenario that makes the severity concrete is a shared hosting box running 400 different websites. One customer signs up for the cheapest plan available, a single mailbox and nothing more. Under the old security model that account is sandboxed, low-privilege and harmless. This vulnerability breaks that assumption.

Setup
The precondition is the interesting part: exploitation does not require an administrator account. It only requires mail-related privileges, which the write-up describes as the default configuration on nearly every basic shared hosting plan sold today. In other words, the attacker's starting position is an ordinary mailbox owner on a multi-tenant server, not a reseller, not a WHM operator, not root.
Finding it
EmailTrack is reachable by users who hold only mail privileges, and it takes input that ends up in a database query.
Exploitation
The chain the write-up describes runs from input to root execution. It does not publish the individual HTTP requests, parameters or payloads, so the steps below follow the described stages rather than reproducing traffic.
Step 1: Reach EmailTrack with a mail-only account
The attacker authenticates with an account that holds mail-related privileges only, the kind created by the cheapest shared hosting plan. No administrative role is needed at this stage.
Step 2: Inject through EmailTrack
The EmailTrack input is passed into a SQL query without adequate handling, giving the attacker SQL injection in the context of the component that serves the mail user.
Step 3: Write arbitrary files
Through the injection, the attacker can create arbitrary files on the server. This is the pivot from database access to the filesystem.
Step 4: Execute code as root
Arbitrary file creation ultimately leads to code execution as the root user. On a multi-tenant server that means one compromised mailbox account becomes the equivalent of the system administrator, with access to every other customer's websites, databases and stored credentials on that machine.
Root cause
The mistake is a SQL injection in the EmailTrack feature: user-supplied input reaches a database query without being properly separated from the query itself. The design failure that turns it from a data-disclosure bug into a server takeover is the privilege model. EmailTrack is exposed to accounts that hold only mail privileges, and the component's position on the host lets the injection be used to write files, which in turn allows code execution as root. The write-up does not detail the query, the parameter or the code path, so the exact mechanism inside EmailTrack is not stated.
Impact
An attacker with a basic mail account can create arbitrary files on the server and ultimately execute code as root. On a shared host, the blast radius is every other customer on the machine: their websites, their databases and their stored credentials. The write-up's example is a box hosting 400 sites, where a single cheap plan compromises all of them.
The condition is mail-related privileges, which the write-up says is the default on nearly every basic shared hosting plan. The write-up does not state whether exploitation requires any further precondition beyond that.
Fix
cPanel published an advisory for CVE-2026-67401 on 8 September 2026, and the write-up points to a full patched-version table covering every affected cPanel/WHM release. The specific version numbers are not reproduced here; administrators should consult the advisory and the linked breakdown for the table and apply the patched build for their release.
The write-up also covers behavioural indicators of compromise for SOC teams to hunt for, the exact commands to check a server's build version, and a layered detection and prevention playbook for hosting providers and SOC teams managing multi-tenant infrastructure.
Variants to test
- Other EmailTrack inputs. Any parameter in the mail tracking and review interface that ends up in a query is worth probing. A positive result is a query that behaves differently from the same request with a benign value, for example a changed result set or a database error surfaced to the mail user.
- Other mail-privileged features. Look for modules reachable with mail-only rights that touch the database or the filesystem. A positive result is any such module where a low-privilege account can influence a query or a file path.
- File-write paths from injection. Where an injection exists, test whether it can be turned into file creation. A positive result is a file appearing on disk that the mail user should not be able to create.
- Privilege boundary checks. On a multi-tenant host, verify what a single mailbox account can reach beyond its own domain. A positive result is any read of another tenant's data or credentials.
- Build version auditing. Run the version check from the advisory across the fleet. A positive result is any host still on an affected build.
What happened, in plain words
A lot of websites do not run on their own private computer. They share one big computer, called a server, with many other websites. The software that lets people manage their slice of that server is called a control panel. Two of the most widely used control panels in the world are cPanel and WHM. If you have ever logged into a hosting dashboard to set up an email address or add a website, there is a good chance you were looking at cPanel.
Inside cPanel there is a feature called EmailTrack. Its job is simple to describe: it keeps a record of what happened to emails as they travel through the mail system, and it lets the account holder look that record up. Think of it like the tracking page for a parcel, except the parcel is an email and the page tells you whether it was delivered, bounced or is still on its way.
In September 2026, cPanel announced that EmailTrack had a serious security flaw. The flaw has an official identifier, CVE-2026-67401. A CVE is a catalogue number for a known security problem, so that everyone in the world can talk about the same bug without confusion. cPanel published its public warning, called an advisory, on 8 September 2026. Later, the CVE Program, the organisation that maintains that catalogue, gave the flaw a severity score of 9.9 out of 10 on a scale called CVSS. CVSS is a standard way of scoring how bad a security problem is; 10 is the worst possible. The write-up describes this as one of the most severe cPanel disclosures of the year.

The image above is headlined as the story of a critical cPanel SQL injection flaw that turns basic mail accounts into root access.
Why does the score matter so much? Because of who can trigger the problem. You do not need to be the person who runs the server. You do not need an administrator account. You only need mail-related privileges, which means the ordinary ability to have and use an email mailbox. The write-up says that is the default setup on nearly every basic shared hosting plan sold today.
So picture a shared server hosting 400 different websites. One customer buys the cheapest plan on offer: a single mailbox, nothing more. In the old way of thinking, that customer is fenced off in a small sandbox. They have very little power, so they are harmless. This vulnerability breaks that assumption completely. Someone with that cheap mailbox can, through the flaw, create files anywhere on the server and eventually run their own code as root. Root is the all-powerful account on a Linux or Unix machine, the equivalent of the system administrator. On a shared server, that means one compromised mailbox can reach every other customer's websites, databases and stored passwords on that machine.
The rest of this article walks through the same ground as the technical breakdown, but from zero. We will look at how the attack chain runs from a simple input to root execution, what the patched-version table covers, what signs of compromise security teams should hunt for, the commands used to check a server's version, and a layered plan for detecting and preventing the problem on shared infrastructure. If you look after cPanel or WHM in any way, or you handle vulnerability response for infrastructure that does, this is worth your time today.
The full technical breakdown lives here:
https://www.xpert4cyber.com/2026/09/cpanel-cve-2026-67401-sql-injection.html
That single line is just a web address. You can paste it into a browser's address bar and press Enter, exactly as you would for any other page. It points to the longer article that this beginner's version is based on.
Context
Before the details, a little background on the two products at the centre of this.
cPanel is the control panel a customer sees. It is the web page where you create email addresses, upload website files, set up databases and read your mail logs. WHM, short for WebHost Manager, is the control panel the hosting company itself uses. WHM sits above cPanel and lets the provider create and manage all the individual cPanel accounts on a machine. A useful comparison: cPanel is the dashboard inside your own flat, while WHM is the building manager's office that controls every flat in the block.
These two products sit in front of a large share of the world's shared hosting. That is the phrase to hold on to: shared hosting. It means many customers' websites live on one physical machine, each with their own account and their own slice of the disk and database. The hosting company's whole business model depends on keeping those slices separate.
The feature at the centre of this story is EmailTrack, the module that logs and reviews email delivery activity. It records what happened to messages as they move through the mail system, and it gives account holders a way to look that activity up. If you have ever searched a hosting dashboard for "did that email to a customer bounce?", you have used something like EmailTrack.
CVE-2026-67401 is a critical SQL injection in EmailTrack. We will unpack SQL injection properly in a moment, but the short version is this: the feature takes something a user types and passes it into a database query in a way that lets the user change the query itself. cPanel published its advisory on 8 September 2026, and the CVE Program later scored the issue 9.9 out of 10 on the CVSS scale. The write-up describes that score as placing it among the most severe cPanel disclosures of the year.
The scenario that makes the severity concrete is a shared hosting box running 400 different websites. One customer signs up for the cheapest plan available, a single mailbox and nothing more. Under the old security model that account is sandboxed, low-privilege and harmless. This vulnerability breaks that assumption.

The banner image again frames the story: a critical cPanel SQL injection flaw that turns basic mail accounts into root access.
Setup
The precondition is the interesting part. Exploitation does not require an administrator account. It only requires mail-related privileges, which the write-up describes as the default configuration on nearly every basic shared hosting plan sold today.
In other words, the attacker's starting position is an ordinary mailbox owner on a multi-tenant server. Multi-tenant simply means one machine serves many separate customers, the tenants. The attacker is not a reseller, not a WHM operator, not root. They are the person who bought the cheapest plan and got one email address.
That is what makes this different from most server takeovers. Usually, to do real damage to a server you first need to break into an account that already has power. Here, the account with almost no power is enough.
Finding it
A trust boundary is the line between two areas that are supposed to have different levels of trust: for example, the line between "what a normal customer is allowed to do" and "what the server's own software is allowed to do". Security work is largely about checking that nothing crosses that line without permission.
EmailTrack is reachable by users who hold only mail privileges, and it takes input that ends up in a database query. The filesystem is the part of the server where files live: website pages, configuration, databases on disk. Reaching it from a mail-tracking search box is a very long way across the trust boundary.
Exploitation
The chain the write-up describes runs from input to root execution. It does not publish the individual HTTP requests, parameters or payloads, so the steps below follow the described stages rather than reproducing traffic.
A quick word on two terms used above. HTTP is the language browsers and web servers use to talk to each other; every time you load a page, your browser sends an HTTP request and the server sends back a response. A payload is the specific piece of text an attacker sends to try to trigger a bug, for example a carefully crafted search term. Because the write-up does not publish the actual requests, parameters or payloads, we cannot show them here either; what follows is the sequence of stages it describes.
Step 1: Reach EmailTrack with a mail-only account
The attacker authenticates with an account that holds mail-related privileges only, the kind created by the cheapest shared hosting plan. No administrative role is needed at this stage.
Authenticates just means logs in with a username and password, the same way you log into any website. The point is that this is a normal login to a normal mailbox, not a break-in to an admin panel.
Step 2: Inject through EmailTrack
The EmailTrack input is passed into a SQL query without adequate handling, giving the attacker SQL injection in the context of the component that serves the mail user.
This is the heart of the bug, so it is worth slowing down. A database is an organised store of information, like a very large, very strict spreadsheet. SQL is the language used to ask that database questions: "show me all emails sent to this address yesterday". A query is one such question. When a feature like EmailTrack lets you search, it builds a SQL query out of what you typed. If it pastes your text straight into the query without care, you can type something that is not just a search term but part of the query itself. That is SQL injection: you are no longer asking the question, you are rewriting it. The everyday comparison is a form that says "name:" and you write "Alice, and also please hand me the keys to the building". A well-built form treats that whole line as a name. A badly built one reads the second half as an instruction.
Step 3: Write arbitrary files
Through the injection, the attacker can create arbitrary files on the server. This is the pivot from database access to the filesystem.
"Arbitrary" here means any file the attacker chooses, not just the ones the feature was meant to produce. This is the pivot: the attacker started with the ability to influence a database question and ends up able to put new files on the disk. Once you can write files to a server, you are a long way from a search box.
Step 4: Execute code as root
Arbitrary file creation ultimately leads to code execution as the root user. On a multi-tenant server that means one compromised mailbox account becomes the equivalent of the system administrator, with access to every other customer's websites, databases and stored credentials on that machine.
Code execution means getting the server to run instructions the attacker wrote. Root is the most powerful account on the machine, the one that can do anything. Credentials are the usernames, passwords and keys that prove who someone is; stored credentials on a shared host are the keys to every tenant's kingdom. So the chain is: cheap mailbox, then a rewritten database question, then new files on disk, then the attacker's code running as the most powerful user on the box.
Root cause
The mistake is a SQL injection in the EmailTrack feature: user-supplied input reaches a database query without being properly separated from the query itself. The design failure that turns it from a data-disclosure bug into a server takeover is the privilege model. EmailTrack is exposed to accounts that hold only mail privileges, and the component's position on the host lets the injection be used to write files, which in turn allows code execution as root. The write-up does not detail the query, the parameter or the code path, so the exact mechanism inside EmailTrack is not stated.
Two ideas in that paragraph deserve a plain explanation. Data disclosure means a bug that lets someone see information they should not see; bad, but contained. A server takeover is the whole machine falling. The privilege model is the set of rules about who is allowed to do what. The design failure here is that the rules let the least powerful account reach a feature that could write files and, from there, reach root.
In other words, nobody had built a wall, because everyone believed the account was already behind one.
Impact
An attacker with a basic mail account can create arbitrary files on the server and ultimately execute code as root. On a shared host, the blast radius is every other customer on the machine: their websites, their databases and their stored credentials. The write-up's example is a box hosting 400 sites, where a single cheap plan compromises all of them.
Blast radius is simply how much damage one incident can do. Here it is the whole machine. The condition is mail-related privileges, which the write-up says is the default on nearly every basic shared hosting plan. The write-up does not state whether exploitation requires any further precondition beyond that.
Fix
cPanel published an advisory for CVE-2026-67401 on 8 September 2026, and the write-up points to a full patched-version table covering every affected cPanel/WHM release. The specific version numbers are not reproduced here; administrators should consult the advisory and the linked breakdown for the table and apply the patched build for their release.
A patch is an update that fixes a known problem. Applying the patched build means installing the newer version of cPanel or WHM that no longer contains the flaw. The version table matters because different releases of the software are patched by different updates; you need the row that matches what you actually run.
The write-up also covers behavioural indicators of compromise for SOC teams to hunt for, the exact commands to check a server's build version, and a layered detection and prevention playbook for hosting providers and SOC teams managing multi-tenant infrastructure.
A few of those terms, from zero. A SOC, or Security Operations Centre, is the team that watches an organisation's systems for signs of attack. Indicators of compromise, often shortened to IoCs, are clues that something bad has happened, the digital equivalent of muddy footprints. Behavioural indicators are clues in what the system did, rather than in a file or a signature. A playbook is a written set of steps to follow when something happens, so that people do not have to improvise under pressure. Detection and prevention means, respectively, spotting an attack in progress and stopping it from working in the first place.
Variants to test
This section is for people who want to check their own systems for the same class of problem. Each item names what to look at and what a positive result would look like.
- Other EmailTrack inputs. Any parameter in the mail tracking and review interface that ends up in a query is worth probing. A positive result is a query that behaves differently from the same request with a benign value, for example a changed result set or a database error surfaced to the mail user. In plain terms: type something harmless, note the answer, then type something odd and see whether the answer changes in a way it should not.
- Other mail-privileged features. Look for modules reachable with mail-only rights that touch the database or the filesystem. A positive result is any such module where a low-privilege account can influence a query or a file path.
- File-write paths from injection. Where an injection exists, test whether it can be turned into file creation. A positive result is a file appearing on disk that the mail user should not be able to create.
- Privilege boundary checks. On a multi-tenant host, verify what a single mailbox account can reach beyond its own domain. A positive result is any read of another tenant's data or credentials.
- Build version auditing. Run the version check from the advisory across the fleet. A positive result is any host still on an affected build. Auditing here means checking every machine systematically rather than trusting that someone updated them.
Glossary
- Advisory: a public warning published by a software maker about a security problem and how to fix it.
- Arbitrary file creation: the ability to create any file the attacker chooses on a server, not just the files a feature was meant to produce.
- Auditing: systematically checking every machine or account against a rule, rather than assuming.
- Authenticate: to prove who you are, usually by logging in with a username and password.
- Behavioural indicator: a clue to an attack found in what a system did, rather than in a file or a known signature.
- Blast radius: how much damage a single incident can cause.
- Code execution: getting a computer to run instructions that the attacker wrote.
- Control panel: a web interface for managing a server, its websites, email and databases.
- cPanel: the control panel a hosting customer uses to manage their own slice of a shared server.
- Credentials: usernames, passwords and keys that prove identity and grant access.
- CVE: a catalogue number for a publicly known security vulnerability, so everyone can refer to the same bug.
- CVE Program: the organisation that maintains the CVE catalogue and assigns those numbers.
- CVSS: a standard scale for scoring the severity of a security vulnerability, from 0 to 10.
- Data disclosure: a bug that lets someone see information they should not be able to see.
- Database: an organised store of information that can be searched and updated, like a very strict spreadsheet.
- Detection and prevention: spotting an attack in progress, and stopping it from working at all.
- EmailTrack: the cPanel feature that logs and reviews email delivery activity.
- Exploitation: actually using a vulnerability to achieve something the attacker should not be able to do.
- Filesystem: the part of a server where files are stored.
- HTTP: the language browsers and web servers use to exchange requests and responses.
- Indicator of compromise (IoC): a clue that a system has been attacked or broken into.
- Input: anything a user types or sends into a feature, such as a search term.
- Mail-related privileges: the ordinary rights that come with having and using an email mailbox.
- Multi-tenant: one machine serving many separate customers, each kept apart from the others.
- Patch: an update that fixes a known security problem.
- Payload: the specific piece of text or data an attacker sends to try to trigger a bug.
- Playbook: a written set of steps to follow when a particular situation occurs.
- Privilege model: the rules that decide which accounts are allowed to do what.
- Query: a question asked of a database, written in SQL.
- Root: the most powerful account on a Linux or Unix machine, able to do anything.
- Sandbox: an isolated, low-privilege area that is meant to keep one account's actions away from everything else.
- Shared hosting: a service where many customers' websites live on one physical server.
- SOC (Security Operations Centre): the team that watches an organisation's systems for signs of attack.
- SQL: the language used to ask questions of a database.
- SQL injection: a flaw where user input is pasted into a database query so that the user can change the query itself.
- Server takeover: an attack that gains control of an entire machine.
- Trust boundary: the line between two areas that are meant to have different levels of trust.
- WHM (WebHost Manager): the control panel a hosting provider uses to manage all the cPanel accounts on a server.