Read-only IOC scanner and mitigation toolkit for cPanel & WHM EmailTrack SQL injection (CVE-2026-67401). Performs version fingerprinting, file integrity checks, log triage, and provides hardening guidance for defenders.
IOC Scanner, Detection Toolkit & Remediation Guide for the cPanel EmailTrack SQL Injection Vulnerability
Keywords: CVE-2026-67401, cPanel exploit, cPanel SQL injection, WHM vulnerability, EmailTrack SQLi, cPanel root RCE, cPanel IOC scanner, cPanel compromise assessment, WHM security advisory, cPanel patch 2026, cPanel & WHM security update, web hosting vulnerability, cPanel privilege escalation, mail-enabled cPanel account exploit, cPanel arbitrary file creation, shared hosting takeover, cPanel incident response, cPanel forensics script, cPanel hardening guide.
As of the last update to this repository, CVE-2026-67401 is a newly-assigned CVE with no publicly confirmed technical write-up, no published exploitation primitives, and no known public proof-of-concept. cPanel/WebPros discloses full technical detail for its vulnerabilities only after a Technical Security Release (TSR) ships, specifically to prevent pre-patch exploitation — so authoritative low-level detail (exact injection point, exact patched build numbers) may not yet be publicly available at the time you are reading this.
This repository intentionally does NOT contain a working SQL injection payload or exploit chain. It focuses on what defenders actually need on day zero of a disclosure:
Once cPanel publishes the full advisory and a patched build number, set PATCHED_BUILD in scripts/cve-2026-67401-ioc-scan.sh (or pass --patched-build) and re-run the scanner across your fleet for an accurate patch-status result.
| Field | Detail |
|---|---|
| CVE ID | CVE-2026-67401 |
| Component | cPanel & WHM — EmailTrack (email delivery tracking) feature |
| Vulnerability Class | SQL Injection (CWE-89) → Arbitrary File Creation → Remote Code Execution as root |
| Attack Vector | Network (authenticated) |
| Privileges Required | Low — a valid cPanel account with mail-related privileges (not a WHM/root account) |
| User Interaction | None |
| Impact | Full server compromise — code execution as root |
| Public Exploitation | None confirmed as of publication |
| Public PoC | None known as of publication |
| Affected Products | cPanel & WHM (all currently supported versions prior to the fixed builds); WP Squared deployments layered on affected cPanel builds may also be impacted |
| Likely CVSS range | Not yet officially scored. Given the profile — low privileges required, no user interaction, authenticated network vector, and a confidentiality/integrity/availability-complete impact (root code execution) — comparable cPanel SQLi-to-root bugs in 2026 (e.g. CVE-2026-58048) scored in the 9.0–9.8 (Critical) range under CVSS 3.1/4.0. Treat this as a rough analyst estimate, not an official score, until MITRE/NVD publish the real vector string. |
cve cve-2026-67401 cpanel whm sql-injection sqli rce web-hosting-security ioc incident-response vulnerability-scanner security-advisory blue-team compromise-assessment cpanel-security
CVE-2026-67401 is a SQL injection vulnerability in cPanel & WHM's EmailTrack functionality — the subsystem that logs and reports on outbound/inbound email delivery. According to the vendor advisory summary reported by security researchers, an authenticated cPanel account holder who has mail-related privileges (i.e., any ordinary hosting customer with email enabled — not an administrator) can supply crafted input that is unsafely concatenated into a SQL query executed by EmailTrack's backend.
Because the resulting SQL injection allows the attacker to manipulate backend database operations, it can be abused to create arbitrary files on the server. Since certain EmailTrack/cPanel database and file-writing operations run in a privileged context, the attacker-controlled file write can be leveraged to achieve code execution as the root user — turning a low-privilege hosting account into a full root compromise of the shared server.
This pattern (SQLi → INTO OUTFILE-style arbitrary file write → privileged code execution) is a classic "SQLi-to-RCE" escalation chain and is especially severe on shared hosting environments, where hundreds or thousands of unrelated customer accounts run on the same physical/virtual host — meaning a single low-privilege, mail-enabled customer account anywhere on the box is enough to compromise every tenant on that server.
cPanel ships fixes through Technical Security Releases (TSRs). Exact build numbers for CVE-2026-67401 should be confirmed against the official cPanel security advisory before you rely on any number here — vendor-published build numbers are the only authoritative source.
| Track | Status |
|---|---|
| cPanel & WHM — all currently supported version tiers prior to the fix | Vulnerable |
| cPanel & WHM — patched builds (per vendor TSR) | Fixed |
| WP Squared deployments running an affected cPanel build | Potentially vulnerable |
| End-of-life (EOL) cPanel & WHM branches | Likely vulnerable / no fix planned — upgrade to a supported major version |
Action: Check your installed build with:
/usr/local/cpanel/cpanel -V
...and compare it against the fixed build listed on cPanel's official security advisories page (linked below). This repo's scanner (scripts/cve-2026-67401-ioc-scan.sh) automates this check — just fill in the patched build number once cPanel publishes it.
git clone https://github.com/jithinkrishnanrs/CVE-2026-67401-cPanel-EmailTrack-SQLi.git
cd CVE-2026-67401-cPanel-EmailTrack-SQLi
chmod +x scripts/*.sh
# Run as root on the WHM/cPanel server itself
sudo ./scripts/cve-2026-67401-ioc-scan.sh
The scanner is read-only — it does not modify configuration, does not attempt exploitation, and does not require internet access. It writes a timestamped report to /root/cve-2026-67401-ioc-report-<timestamp>.txt (and JSON if python3 is available).
See docs/DETECTION.md for what each check does and how to interpret results, and docs/REMEDIATION.md for patching and hardening steps.
sudo ./scripts/cve-2026-67401-mitigation.sh --status # see current EmailTrack feature exposure
sudo ./scripts/cve-2026-67401-mitigation.sh --apply # restrict the feature fleet-wide via WHM Feature Manager
This does not fix the underlying flaw — it reduces exposure by removing the EmailTrack feature from customer-facing feature lists until the official patch can be applied. See docs/REMEDIATION.md for details and rollback steps.
rpm -Va-style verification to flag unexpected modifications to cPanel binaries and Perl/CGI modules.root (the disclosed impact of this bug is unauthorized arbitrary file creation).INTO OUTFILE, INTO DUMPFILE, UNION SELECT, LOAD_FILE, stacked queries) in proximity to EmailTrack-related tables/queries.These are general-purpose compromise-assessment heuristics built around the publicly disclosed impact of the bug (arbitrary file creation via SQL injection in EmailTrack, escalating to root). They are not a guarantee of detection or non-detection — treat a clean scan as "no obvious indicators found," not as proof the host is unaffected.
WHM ≫ Software ≫ Update Preferences or /scripts/upcp from the CLI).scripts/cve-2026-67401-mitigation.sh) on any host that cannot be patched within the same day — it restricts the EmailTrack feature via WHM Feature Manager so mail-privileged accounts can no longer reach the vulnerable code path.Full details: docs/REMEDIATION.md
CVE-2026-67401-cPanel-EmailTrack-SQLi/
├── README.md # This file
├── LICENSE
├── SECURITY.md # Vulnerability disclosure policy for THIS toolkit
├── CONTRIBUTING.md # How to submit corrections, IOCs, and patched-build updates
├── CHANGELOG.md
├── scripts/
│ ├── cve-2026-67401-ioc-scan.sh # Main IOC / compromise-assessment scanner
│ └── cve-2026-67401-mitigation.sh # Stopgap mitigation: restrict EmailTrack via WHM Feature Manager
├── docs/
│ ├── DETECTION.md # Detailed explanation of every IOC check
│ ├── REMEDIATION.md # Patch + hardening + incident-response steps
│ ├── TIMELINE.md # Disclosure timeline & source log
│ └── FAQ.md # Common questions, answered
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ └── ioc-report.md # Template for reporting new IOCs/false positives
│ └── workflows/
│ └── shellcheck.yml # CI lint for the scanner/mitigation scripts
└── .gitignore
CVE-2026-67401 is one of several cPanel & WHM security issues disclosed in 2026. If you're hardening a cPanel fleet, patch against all of these, not just this one:
| CVE | Summary | Status |
|---|---|---|
| CVE-2026-41940 | Pre-auth authentication bypass via CRLF/session-file injection — root-level WHM access without credentials. Actively exploited in the wild from ~Feb 2026; emergency patch April 28, 2026. | Patched — verify build ≥ vendor-listed fixed versions |
| CVE-2026-29201 / 29202 / 29203 | Three vulnerabilities patched together May 8–9, 2026 in a follow-up emergency TSR. | Patched |
| CVE-2026-58048 | Authenticated SQL-mode/database-rename SQL injection allowing execution as MySQL root, potentially extending to OS-level compromise. | Patched (August 2026) |
| CVE-2026-4194 / CVE-2026-44212-adjacent incidents | Broader active-exploitation campaigns against cPanel/WHM tracked by national CERTs (e.g., ASD's ACSC) during 2026. | Varies — check vendor advisory |
| CVE-2026-67401 (this repo) | Authenticated SQL injection in EmailTrack → arbitrary file creation → root RCE. | Awaiting official vendor patch/advisory |
A recurring pattern across nearly all of these: a low-privilege, authenticated cPanel feature turns into root-level compromise through insufficient input sanitization at a privilege boundary. If your fleet has been hit by any of the above, run the IOC scanner in this repo as part of a broader review — attackers who got in via one bug commonly leave persistence that outlives the specific CVE that let them in.
Is my server affected by CVE-2026-67401? If you run cPanel & WHM and haven't yet applied the vendor's fix for this CVE, treat your server as vulnerable. Because exploitation only requires a mail-enabled customer account (not an admin account), every shared/reseller hosting box with ordinary hosting customers is in scope — this is not limited to servers with untrusted "power users."
Is there a public exploit or Metasploit module for CVE-2026-67401? Not as of the last time this repository was updated. This repository does not provide one and will not.
Does disabling email tracking fully fix the issue?
No. Restricting the EmailTrack feature (see scripts/cve-2026-67401-mitigation.sh) is a stopgap that reduces exposure, not a patch. The underlying SQL injection lives in cPanel's own code and can only be fixed by installing the vendor's update once released.
My scan came back clean — am I safe? A clean IOC scan means the heuristics in this repo found no signal — it is not proof of non-compromise, especially against a targeted or careful attacker. Patch status (an exact version comparison) is far more reliable than any IOC heuristic here. Combine both.
What's the difference between this repo and a normal exploit-PoC repo? Exploit-PoC repos reproduce the vulnerability so it can be tested/fired at a target. This repo deliberately does not do that — no injection payloads, no exploitation chain — and instead gives defenders version-checking, log/file triage, and mitigation tooling.
Where do I get the authoritative, official technical details? https://sec.cpanel.net/ — cPanel's own security advisories are the only authoritative source for the exact vulnerable/patched build numbers, the CVSS vector, and the full technical root cause.
More questions answered in docs/FAQ.md.
| Date | Event |
|---|---|
| 2026-09-09 | Vulnerability publicly reported by security media; CVE-2026-67401 assigned. No public PoC or confirmed in-the-wild exploitation at time of reporting. |
| 2026-09-09 | This repository checked cPanel's advisory feed, MITRE, and NVD for an update — no official TSR, patched build number, or CVSS vector published yet. |
| TBD | cPanel official TSR / patched build publication |
| TBD | This repository's PATCHED_BUILD variable updated |
Full source-by-source timeline: docs/TIMELINE.md
⚠️ This CVE had not yet appeared in NVD's public database with full metadata as of the last check — check the MITRE/NVD links above for the current authoritative status before acting on any specifics in this repo.
This repository is published for defensive purposes only — patch verification, compromise assessment, and incident response on infrastructure you own or are authorized to test. It contains no exploit code, no SQL injection payloads, and no working proof-of-concept for CVE-2026-67401.
Unauthorized access to computer systems is illegal in most jurisdictions (e.g., the U.S. Computer Fraud and Abuse Act, the UK Computer Misuse Act, and equivalent laws elsewhere). Only run the tooling in this repository against systems you own or are explicitly authorized to assess.
Found a bug in the scanner/mitigation scripts themselves (not in cPanel) — e.g., something that could cause false negatives, unsafe behavior, or unintended system changes? See SECURITY.md.
Corrections, updated patched-build numbers, additional IOC signatures, and false-positive reports are welcome — open an issue using the template in .github/ISSUE_TEMPLATE/ioc-report.md or submit a pull request. Please cite sources for any technical claims. See CONTRIBUTING.md for the full guidelines.
MIT — see LICENSE.