Blog
WooCommerce Product Input Fields: critical file upload flaw
What it is and who is affectedCVE-2026-104998 is an arbitrary file upload vulnerability in the Product Input Fields for WooCommerce plugin for WordPre...
What it is and who is affected
CVE-2026-104998 is an arbitrary file upload vulnerability in the Product Input Fields for WooCommerce plugin for WordPress, affecting all versions up to and including 2.1.0. The flaw sits in the process_file_input_field function, which fails to validate file types properly: it trusts the multipart Content-Type header sent by the client as the only type check, and then writes the uploaded file into the unprotected pif_temp directory using the filename supplied by the client, verbatim.

The consequence is serious. Because that directory is created without .htaccess or index.php restrictions, uploaded files stay directly reachable from the web and, on default Apache/mod_php configurations, executable. An unauthenticated attacker can therefore upload a file that runs, which opens the door to remote code execution. The weakness is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type) and published in the NVD on 26 November 2026.
Exploitation does have a precondition: an administrator must have configured at least one product with a File-type Product Input Field and the "Show thumbnail" option enabled. That is a standard use of the feature, so any shop relying on it to collect files from customers should treat this as exposed. The plugin is common among Spanish online stores built on WooCommerce, including small retailers in Barcelona, Lleida, Tarragona and Girona that sell personalised or made-to-order products.
Why it is urgent
The severity is CVSS 3.1 score of 9.8, rated CRITICAL, with a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. In plain terms: it can be reached over the network, needs no privileges and no user interaction, and compromises confidentiality, integrity and availability alike. A single crafted request is enough, which makes automated scanning and mass exploitation attempts cheap for attackers.
At the time of writing, CVE-2026-104998 is not listed in CISA's KEV catalogue, so there is no public confirmation that it is being exploited in the wild. That is not a reason to relax. Critical upload flaws in widely used WordPress plugins tend to attract attention quickly once details are public, and the window between disclosure and opportunistic attacks is usually short. Treat the absence from KEV as an opportunity to patch before it changes, not as reassurance.
What to do today
- Check whether the plugin is installed and in which version. In the WordPress admin, open the plugins list and look for Product Input Fields for WooCommerce. Any version up to and including 2.1.0 is affected.
- Apply the fix indicated by the vendor's advisory. The NVD entry does not state a corrected version, so follow the plugin author's security notice and update to whatever release it designates as safe. If no update is available yet, consider deactivating the plugin until one is.
- Review the pif_temp directory. Look for unexpected files, especially scripts or anything with executable extensions, and check access and error logs for upload requests that do not match normal customer activity.
- Reduce what is exposed to the internet. Restrict or block direct access to the upload directory at web server level, and make sure files written there cannot be executed.
- Hunt for signs of intrusion. Compare WordPress core and plugin files against a known-good copy, review administrator accounts and scheduled tasks, and check for unexpected outbound connections.
If the shop handles customer data, remember that a successful compromise may trigger GDPR obligations in Spain, including assessment and, where applicable, notification to the Spanish data protection authority.
How a cybersecurity team such as ALMC's can help
Keeping on top of plugin advisories across a WordPress, PrestaShop or Joomla estate is a full-time job for a small IT team, and that is where an external security partner earns its keep. At ALMC we start by mapping what is actually installed and which versions are running, then cross-check that inventory against sources such as the NVD and vendor advisories so nothing quietly slips past. From there, hardening servers and upload directories, tightening file permissions and limiting what is reachable from the internet closes the gaps that turn a plugin bug into a full breach.
For stores that want proof rather than assumptions, a pentest shows how an attacker would actually reach the vulnerable function and what they could do afterwards. And when something does go wrong, incident response and repair of a hacked site get the shop back online while preserving the evidence needed to understand what happened. Monitoring and prompt patching of WordPress, PrestaShop and Joomla round out the picture, so the next critical CVE is handled as routine maintenance rather than an emergency.
Related
- Ivanti Connect Secure: CVE-2026-104935 Under Active Attack
- CVE-2026-96951: Windows Shell Command Injection Under Attack
- Click to Chat for WhatsApp: CVE-2026-92097 in WordPress
- Abuse Shield
Is your business exposed to flaws like this?
ALMC checks which versions you are running, applies the patches and hardens your servers and website. Contact our team for a security review.
