WooCommerce Checkout Upload Bug: What to Do
If your store uses the Checkout Files Upload for WooCommerce plugin, update it to version 2.4.0 or later today, because versions before 2.4.0 can let anyone on the internet upload files, including PHP code, to your site.
This post is for owners and managers of WooCommerce stores, and for the agencies and freelancers who look after them. You will get a plain-English explanation of the flaw, a quick way to check whether you are affected, the exact steps to fix it, and a few hardening moves that help with this bug and the next one like it.
What is the Checkout Files Upload for WooCommerce vulnerability?
The flaw is tracked as CVE-2026-103688. (A CVE is a public ID number for a known security bug, so everyone talks about the same issue.) According to the National Vulnerability Database (NVD) record, published on 2026-10-28, the plugin has a file upload problem in versions before 2.4.0.
Here is the problem in simple terms. The plugin lets customers attach files at checkout. It has a setting for "accepted file types". The plugin documents that leaving this setting empty means "accept all files". When the setting is empty, the plugin does not check what kind of file is being uploaded at all.
The NVD description adds that this lets people who are not logged in upload any file they like. That includes PHP files. PHP is the language WordPress itself runs on, so a PHP file is a small program. If your server runs PHP files from the uploads folder, an uploaded one can lead to remote code execution. That means a stranger can make your server run commands they chose.
The weakness type is CWE-434, which is the standard label for "unrestricted upload of a file with a dangerous type". OWASP describes this class of bug as one of the classic ways websites get taken over.
How serious is it?
The NVD lists it as Critical, with a CVSS score of 9.8 out of 10. CVSS is a standard scoring system for how bad a bug is. The vector string, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, reads like this:
- AV:N: it can be reached over the internet.
- AC:L: it is not hard to pull off.
- PR:N: the attacker needs no account.
- UI:N: no customer or admin has to click anything.
- C:H / I:H / A:H: the possible damage to confidentiality, integrity and availability is high. In plain words: data could be read, changed or destroyed, and the site could go down.
The NVD lists the record's status as "Deferred". That is a processing label on NVD's side. It does not mean the bug is minor, and the score above is the one shown on the record.
Two honest caveats. First, the record does not say whether anyone is exploiting this right now, and we are not claiming they are. Second, the NVD does not list a separate affected-versions range, so we are going by its description: the plugin before 2.4.0. A public tracker entry from WPScan is listed as a reference.
Who is affected?
You should act if all of this is true: you run WooCommerce, and the Checkout Files Upload for WooCommerce plugin is installed (active or not), and its version is below 2.4.0.
Whether the bug can actually be used on your store depends on two details from the description. This table shows how to think about it.
| Your situation | Risk level | What to do |
|---|---|---|
| Plugin below 2.4.0, accepted file types empty | Highest. This is the case the NVD describes. | Update now, then check for leftover files |
| Plugin below 2.4.0, accepted file types filled in | Unclear. The description names the empty setting as the trigger, but you should not rely on that. | Update now anyway |
| Plugin 2.4.0 or later | The described flaw is fixed in this release. | Keep it updated, apply the hardening below |
| Plugin installed but switched off | Lower, but old code still sits on your server. | Delete it if you do not use it |
| Server blocks PHP in the uploads folder | The code execution step is much harder. | Update anyway. Files you did not expect are still a problem |
The "server runs PHP from uploads" detail matters. Many hosts allow it by default, so do not assume you are safe. It is easy to block, and we show how below.
Step 1: Check your plugin version
In WordPress, go to Plugins > Installed Plugins and find Checkout Files Upload for WooCommerce. The version number is shown under its name.
If you have command-line access, WP-CLI (the official WordPress command-line tool) can list every plugin and version:
wp plugin list --fields=name,status,version,update
Look for the checkout upload plugin in the list. Note its exact name in the first column. You will need it in the next step.
Step 2: Update to 2.4.0 or later
Take a backup first. Most hosts have a one-click backup, or you can use a backup plugin. Then update:
- Go to Dashboard > Updates or Plugins > Installed Plugins.
- Click Update now next to the plugin.
- Confirm the version now shows 2.4.0 or higher.
- Place a test order with an upload at checkout to make sure it still works.
With WP-CLI, use the name you saw in the list (replace the placeholder):
wp plugin update PLUGIN-NAME-FROM-LIST
If no update shows up, check the plugin's changelog on its WordPress.org page or the vendor's site. If you cannot update right away, deactivate the plugin until you can. A temporarily missing upload field is a smaller problem than an open upload door.
Step 3: Stop leaving the file types setting empty
The update fixes the code. It is still good practice to list only the file types you actually need. In the plugin's settings, find the accepted file types field and fill it in. For example, if customers only send artwork or documents, allow images and PDFs and nothing else.
Do not allow types such as php, phtml, phar, exe or sh. If you are not sure what the field expects, check the plugin's settings help text or documentation for the exact format.
Step 4: Look for files that should not be there
If your plugin was out of date and exposed, check whether anything unexpected is already on your server. Uploaded checkout files normally land under wp-content/uploads. On a normal store, that folder holds images, PDFs and similar files, and almost never PHP files.
From your site's main folder, via SSH, run:
find wp-content/uploads -type f \( -iname "*.php" -o -iname "*.phtml" -o -iname "*.phar" -o -iname "*.php[0-9]" \)
Some plugins and themes place a harmless index.php file in folders, often containing only a comment such as "Silence is golden". Open any result in a text editor before you judge it. Anything with strange code, long scrambled strings, or a name that makes no sense deserves attention.
If you find something suspicious, do not just delete it and move on. Files like that are often a sign that more has been changed. Follow our website hacked guide to clean up properly: change passwords, check admin users, and look for other modified files.
Step 5: Block PHP from running in the uploads folder
Uploaded files should be stored, not executed. This one change makes a whole family of upload bugs much less dangerous. It is also in the WordPress hardening guidance.
Apache hosting. Create a file named .htaccess inside wp-content/uploads with this content:
<FilesMatch "\.(php|php[0-9]|phtml|phar)$">
Require all denied
</FilesMatch>
Nginx hosting. Add this inside your site's server block, above the general PHP handling rule, then reload Nginx:
location ~* ^/wp-content/uploads/.*\.(php|php[0-9]|phtml|phar)$ {
deny all;
}
If you use managed hosting and do not control these files, ask your host's support to disable PHP execution in the uploads directory. Afterwards, test that images and PDFs still load. Server setups differ, so if a rule breaks your site, remove it and ask your host for help.
Other ways to secure WooCommerce checkout
This bug is one example of a wider pattern: any form that accepts files from the public is a doorway. A few habits keep that doorway safer.
- Keep plugins updated. Turn on auto-updates for plugins you trust, or set a weekly reminder.
- Delete what you do not use. Every installed plugin is code you have to keep patched.
- Allow only needed file types. Use an allow-list, never "everything".
- Keep backups off the server. Test that you can restore one.
- Limit admin accounts and use strong, unique passwords with two-step login.
You can also run a free passive check of your domain to see what your site shows to the outside world, and look at your security headers. Neither tool tests this plugin's upload form, but they are a good baseline. If you want to understand the wider picture, read is my website hackable.
Why a scanner may miss bugs like this
Automated scanners are good at spotting known plugin versions. They are weaker at judging how your specific store is set up: which settings are empty, which folders run code, and which forms accept files. A person checking by hand can test the real upload flow, try what a stranger could try, and tell you what matters for your store. We explain the difference in manual vs automated penetration testing.
Key takeaways
- Versions of Checkout Files Upload for WooCommerce before 2.4.0 are affected by CVE-2026-103688, rated Critical (CVSS 9.8) on the NVD.
- Update to 2.4.0 or later after taking a backup. If you cannot, deactivate the plugin until you can.
- List the exact file types you accept. Never leave the setting empty.
- Search
wp-content/uploadsfor PHP files, and block PHP execution there. - If you find anything suspicious, treat it as a possible break-in and follow a proper cleanup.
What to do next
Updating closes this specific hole. It does not tell you what else is exposed on your store. A Bug Circuit audit is a manual security test of one website by a real person, ending in a written report with every issue, its severity, evidence and fix steps. It is a small-site audit, not a multi-week enterprise pentest and not a compliance certificate. The Essential plan is $49 one-time and covers 1 website with 3 audits to request within a month. See the pricing page for details. Fixes are separate: we report problems and explain them, and quote any fix work per issue before you pay.
A real human security engineer audits your whole site by hand and sends a full report: every issue, its severity, and the exact fix. From $49, with a 14-day money-back guarantee.