Product Input Fields for WooCommerce CVE-2026-104998: file upload RCE
A critical flaw in the Product Input Fields for WooCommerce plugin lets unauthenticated attackers upload code. See who is affected and how to mitigate.
TL;DR
- What: an arbitrary file upload flaw in the WordPress plugin Product Input Fields for WooCommerce, tracked as CVE-2026-104998 and catalogued as CWE-434.
- Impact: an unauthenticated attacker can upload a file that the web server may run, so code can run on your server.
- Severity: a CVSS v3.1 score of 9.8, rated critical, scored by Wordfence.
- Exploited: no source we checked says so yet. The entry was published on November 26, 2026.
- Fix: version 2.1.0 and every earlier release are affected. Update to the release the plugin vendor names, or deactivate and remove the plugin.
What the flaw is, in plain English
Product Input Fields for WooCommerce lets a shop owner add extra fields to a product page, such as a text box for engraving or a place where the shopper uploads a file. When a shopper uploads a file, a function called process_file_input_field handles it.
According to the NVD description, that function has two problems. It accepts the Content-Type header that the visitor's own browser sends as the only proof of what kind of file it is, and a header like that can say anything. It then writes the file into a folder called pif_temp using the exact filename the visitor supplied. So an attacker can send a script, label it as a harmless picture and have it saved under a name of their choosing.
The third problem decides how bad this gets. The description says nothing protects the pif_temp folder (no .htaccess or index.php file to limit access), so the files in it can be fetched directly from the web, and on default Apache with mod_php setups they are executable. Uploading a script and then requesting its address is enough to run attacker code on your server. The weakness is catalogued as CWE-434, unrestricted upload of a file with a dangerous type.
Why it matters now
File upload bugs without a login are among the cheapest attacks to automate. Once an advisory is public, anyone can write a scanner that visits online shops, finds the plugin and tries the upload. Code execution on the web server lets the attacker read the site's configuration, including database credentials, change what shoppers see and use the server as a base inside your network.
Shops are an attractive target because they hold customer records and take orders. The description also says the exposure needs a product with a file field and the thumbnail option turned on, but it calls that a standard use of the feature, so stores that offer personalised products are the ones most likely to have it switched on.
Severity is a CVSS v3.1 score of 9.8 from Wordfence. NVD had not finished its own analysis when we read the entry, so the score may be revisited. Teams that already run a tracked remediation process can add the plugin to it today. For related WordPress problems, see our notes on a membership plugin flaw that runs code and on a WordPress payment plugin flaw.
Am I affected?
The description names version 2.1.0 and every release before it. Because the NVD entry has no structured version list, read the version from the plugin itself. You are exposed if the plugin is installed and active, at 2.1.0 or lower, and a product in the shop uses a file upload field with the thumbnail setting turned on.
To check one WordPress site by hand with WP-CLI, run this from the site's directory:
wp plugin listLook for Product Input Fields for WooCommerce in the output and read its version and status. Without WP-CLI, open the Plugins page of the WordPress admin and read the version under the plugin's name. To see whether anyone has already used the upload path, look for the folder on disk:
find / -type d -name pif_tempAny file in that folder that you do not recognise, especially a script, is a reason to treat the site as compromised. Repeat these checks on every site you run, including staging copies, because a forgotten staging shop on the public internet is just as reachable.
Distribution backports. This is a plugin installed from the WordPress ecosystem, not an operating system package, so distribution security updates do not change it. The fix comes from the plugin's own releases.
How to mitigate CVE-2026-104998
- Find every WordPress site you run and list the plugins on each one. Write down where Product Input Fields for WooCommerce is installed and which version it is on.
- Update the plugin to the fixed release named by the plugin vendor. The records we checked do not name a fixed version, so read the vendor's release notes and the Wordfence advisory linked from the NVD entry, and do not rely on a version number you have not confirmed.
- If no fixed release is available yet, deactivate and delete the plugin on every site where it is not essential. A deactivated plugin does not run, which removes the upload path the attack uses.
- If a shop must keep the plugin running today, remove the File-type Product Input Field from its products, and ask your web server or hosting provider to stop scripts from running in the pif_temp folder until the update is installed. Watch the web server log for requests to files in that folder.
- After the update, read the plugin version again on each site and confirm it is above 2.1.0. If you saw suspicious files or requests before updating, treat the site as possibly compromised: delete the files you did not put there, change the database password and the WordPress secret keys, and review the administrator accounts.
How to check with Stackurity
Checking one site by hand is simple. Knowing which of your servers hold the plugin, across teams and staging copies, is where it gets lost.
Stackurity keeps one live inventory of the software on your servers, deployed applications, repositories and container images. Its read-only agent finds WordPress sites on Linux servers from wp-config.php or wp-includes/version.php, and lists their plugins and themes with the latest release from wordpress.org. So the inventory shows every site that has the plugin and the version it runs, which is the list the steps above need. The website check of a public domain also lists the WordPress plugins a page loads files from, with the version in their ?ver= parameter.
There is an honest limit. Stackurity does not yet match vulnerabilities in WordPress plugins, and the website check says there is no stored vulnerability data for plugins, so it will not raise a finding for CVE-2026-104998 on its own. It does flag WordPress core releases that have reached end of life or fell behind their line. Use the inventory to find the sites, then confirm and update the plugin by hand or with your own tooling.
Try Stackurity free and see every WordPress site you run.
FAQ
What is CVE-2026-104998?
It is an arbitrary file upload flaw in a WordPress plugin called Product Input Fields for WooCommerce. The upload code trusts the file type the browser claims and saves the file under the name the visitor chose, so an unauthenticated attacker can upload a file that the web server may run as code.
Which versions of the plugin are affected?
The description names version 2.1.0 and every release before it. The NVD entry has no structured version list and the records name no fixed version, so check the plugin vendor's advisory for the release that fixes it.
Does the attacker need an account?
No. The description says unauthenticated attackers can upload files, so a visitor with no login can reach the vulnerable code.
Is every site with this plugin exposed?
The description adds a condition: an administrator must have given a product a file upload field with the Show thumbnail option turned on. It calls this a standard use of the feature, so do not count on your site being the exception.
Is CVE-2026-104998 exploited in the wild?
No source we checked says so, and it is not listed by CISA as known exploited at the time of writing. It was published on November 26, 2026 with a critical score, so treat it as urgent.
Does Stackurity find vulnerable WordPress plugins?
Stackurity finds WordPress sites and lists their plugins with the latest release from wordpress.org, but it does not yet match vulnerabilities in plugins, so it will not raise a finding for this CVE on its own. Use the inventory to find the sites, then confirm and fix the plugin yourself.
Sources: NIST National Vulnerability Database, CVE-2026-104998. Product facts from Stackurity's product description.