On this page (7 sections)
A critical vulnerability, tracked as CVE-2026-104998, affects the Product Input Fields for WooCommerce plugin for WordPress. According to the GitHub Advisory Database entry, all versions up to and including 2.1.0 let unauthenticated attackers upload files that may be executable, which makes remote code execution possible.
If you run a WooCommerce store that lets customers attach files to products, this is worth checking today. The advisory lists patched versions as unknown, so no fixed release is confirmed in the research and you should plan around that.
What was disclosed
The advisory was published on November 26, 2026, and NVD carries the same description. The NVD entry repeats the GitHub advisory text, so this is effectively one report, not two independent confirmations.
The advisory also references a Wordfence threat intelligence entry and a WordPress plugin repository changeset. We did not review the contents of either, so we cannot say whether the changeset is a fix or whether the Wordfence entry names a patched version.
The GitHub entry is marked unreviewed and lists affected and patched versions as unknown, so treat the version range as taken from the description text only.
How the weakness works
This is an unrestricted file upload bug. When a plugin accepts files from visitors, it must decide what kinds of files are allowed. According to the advisory, the plugin's process_file_input_field function accepts the client-supplied Content-Type header as the only type check. That header is set by whoever makes the request, so it says nothing reliable about the real file contents.
Two other details make it worse, per the advisory:
- The file is saved using the exact filename supplied by the client.
- It is written to a pif_temp directory that is created without .htaccess or index.php restrictions, so uploaded files are directly web-accessible and, on default Apache with mod_php configurations, executable.
The advisory states that this makes remote code execution possible. As general background (not something the advisory spells out), code running on a web server can usually read the site's files and configuration and change what the site serves, which is why this class of bug is treated as serious.
Who is realistically exposed
The attacker needs no account. However, the advisory states that exploitation requires an administrator to have configured at least one product with a File-type Product Input Field with the Show thumbnail option enabled, which it describes as a standard use of the feature.
- Most exposed: stores using the plugin with a file upload field and thumbnails turned on, running Apache with mod_php.
- Possibly less exposed: sites with the plugin installed but no File-type field configured. The advisory ties exploitation to that configuration, but removing the plugin or the field is still the cleaner option.
- Other web servers: the advisory specifically mentions default Apache/mod_php for direct execution. It does not describe other setups, so do not assume they are safe.
How to check your site
Start by confirming whether the plugin is installed and which version is active. This WP-CLI command lists the plugin with its status and version; run it from your WordPress root. A version of 2.1.0 or lower means you are in the affected range.
wp plugin list --name=product-input-fields-for-woocommerce --fields=name,status,versionNext, look for files that may already have been uploaded. The research does not give the exact location of the pif_temp directory, so this read-only command searches for it by name under wp-content and lists what it contains. Any script files (such as .php) in it are a red flag.
find /path/to/wordpress/wp-content -type d -name pif_temp -exec ls -la {} \;Then search your web server access logs for requests to that directory. Replace the log path with yours (the path below is the common Debian/Ubuntu Apache default). Unexpected requests to script files inside pif_temp, or POST requests from unfamiliar addresses around product pages, deserve a closer look.
grep "pif_temp" /var/log/apache2/access.logWhat to do now
- Check whether Product Input Fields for WooCommerce is installed and note the version.
- If it is version 2.1.0 or earlier and you do not need it, deactivate and delete it.
- If you need it, remove or disable any File-type Product Input Field, especially those with Show thumbnail enabled, until the plugin author publishes a fix you can verify on the official plugin page.
- Inspect pif_temp for unexpected files, particularly script files, and review access logs for requests to that directory.
- If you find suspicious files, treat the site as compromised: take it offline if needed, restore from a clean backup and rotate WordPress, database, hosting and API credentials.
- Where you control the server, block script execution in upload directories as a defense in depth measure, and keep file permissions tight.
Detection and monitoring afterwards
After you have removed or replaced the plugin, keep watching for follow-on problems. Malicious files dropped through upload bugs can sit unnoticed for a while.
- Re-run the pif_temp check and look for new or recently modified files in wp-content.
- Review the administrator user list for accounts you did not create.
- Watch for new or changed scripts on checkout pages, which is a common goal after a store is taken over. See card skimming (Magecart) for background.
- Use the free malware scanner for an outside-in look, keeping in mind it cannot see everything on the server; our guide on what outside-in malware detection can and cannot see explains the limits.
- Track this plugin on the WordPress plugin vulnerability list and re-check the advisory for a patched version.
If you find evidence of compromise, follow our steps in Website hacked: what to do.
What is still unknown
Based on the research, a fixed version has not been identified and no exploitation in the wild has been reported. The research record shows no CISA KEV entry, but that is not proof the flaw is unexploited, especially as it was only published on November 26, 2026. The details come from a single advisory repeated by NVD, and the GitHub entry is unreviewed. The Wordfence entry and plugin changeset it references were not reviewed here. Re-evaluate if exploitation reports or a patched release appear.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
