WHMCS: How to Check Whether You’re Affected by the SQL Injection and Fix It

WHMCS: How to Check Whether You’re Affected by the SQL Injection and Fix It

An SQL injection in the WHMCS cart could allow someone who is not logged in to access customer data and administrator password hashes. WHMCS identified versions earlier than 9.0.10 in the 9.0 series and earlier than 9.1.2 in the 9.1 series as affected; the flaw is tracked as CVE-2026-82981.

The risk affects anyone hosting a vulnerable installation accessible from the internet: no account is needed to exploit this flaw. The extracted data could include personal and support information, as well as administrative records. WHMCS has not reported any attacks exploiting this vulnerability.

Check the branch before updating

WHMCS's advisory places the issue in installations starting with version 9.0.0, but specifically defines the affected branches and their fixes. Use this table to identify the update target for the primary vulnerability:

Installed branchStatus for CVE-2026-82981Specified fix
9.0.x earlier than 9.0.10Affected9.0.10
9.1.x earlier than 9.1.2Affected9.1.2
8.13WHMCS says it is not affected by this CVE8.13.8 fixes two other vulnerabilities mentioned in its update

The table does not mean that earlier versions in the 8 branch are vulnerable to this injection. The Hacker News notes that WHMCS 8.0 to 8.12 installations should move to a fixed version to remain on a supported release, but WHMCS specifies that 8.13 was not affected by CVE-2026-82981.

What to do, step by step

  1. Identify how WHMCS is hosted. If you use WHMCS Cloud, the company says updates are applied automatically. If you manage a self-hosted installation, don't assume the patch was installed: check the version it is running and arrange the update. If you can't confirm the branch or version, contact whoever manages the hosting or instance.

  2. Compare the version with the table. An installation running 9.0.x earlier than 9.0.10 or 9.1.x earlier than 9.1.2 falls within the vulnerable ranges specified by WHMCS. Prioritize updating it. If you use 8.13, the vendor says this CVE does not affect it; that doesn't mean you can ignore the fixes for the other announced vulnerabilities.

  3. Update a self-hosted installation. WHMCS documents two methods. From the administration area, log in, open Utilities > Update WHMCS, click Check Now and, when the update appears, choose Update Now and follow the wizard. Make sure the target matches your branch: 9.0.10 or 9.1.2 for CVE-2026-82981.

  4. Use the appropriate package if updating manually. WHMCS directs users to its downloads page. The incremental patch is intended for those starting from the immediately preceding version: 8.13.7, 9.0.9, or 9.1.1. For earlier versions, the company says to download the full package for the desired version and follow the instructions in the Readme file.

  5. Verify that the process has finished. After updating, confirm that the installation is no longer running a version earlier than the fix for its branch. For WHMCS Cloud, check the status of the automatic update if the version still does not show the patch; for a self-hosted installation, review the result of the wizard or the procedure you followed.

Don't confuse the three vulnerabilities

WHMCS released fixes for three separate flaws. CVE-2026-82981 is the cart vulnerability and does not require authentication. CVE-2026-82979 affects the client area and requires a client to be logged in and have the View & Manage Contacts permission. CVE-2026-93700 also requires an authenticated client and is related to email campaign processing; according to its advisory, it could allow sensitive configuration files to be read and code to be executed on the server.

Versions 9.0.10 and 9.1.2 fix all three vulnerabilities, according to WHMCS. Version 8.13.8 fixes CVE-2026-93700 and CVE-2026-82979, but the vendor clarifies that 8.13 was not affected by CVE-2026-82981. A patch can cover different flaws, so don't attribute the impact of the other two vulnerabilities to the SQL injection.

For CVE-2026-93700, WHMCS also says to delete scheduled or in-progress email campaigns and clear the template cache. If you need to take these steps, go to Utilities > Email Campaigns and, for each campaign, use Delete in the Manage Campaign menu under Actions. Then open Utilities > System > System Cleanup and click Go under Empty Template Cache. These instructions apply specifically to that additional vulnerability; WHMCS has not listed them as a requirement for CVE-2026-82981 by itself.

Mistakes to avoid

Don't wait for signs of exploitation before updating an affected version. The vulnerability can be exploited without an account, and WHMCS has not reported any attacks; the absence of reports does not remove the technical exposure.

Don't assume a stolen hash is a readable password: it is a representation that an attacker could try to crack offline, but it is not directly equivalent to the original password. Also, don't interpret the table as a list of every WHMCS version in existence: it covers the branches that the sources specify for this CVE and the announced fixes.

Finally, don't blindly apply instructions for one vulnerability to another. The campaign deletion and cache-clearing steps accompany the CVE-2026-93700 advisory; to address CVE-2026-82981, the specified step is to install the fixed version for the relevant branch.

Sources: The Hacker News, WHMCS, WHMCS Blog, OpenCVE, SecHOT