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.

List the plugin and its version (run in the WordPress root)WP-CLI
wp plugin list --name=product-input-fields-for-woocommerce --fields=name,status,version

Next, 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 pif_temp directories and list their contents (read-only, run on the server)Shell
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.

Search Apache access logs for requests touching pif_temp (read-only, Debian/Ubuntu path)Shell
grep "pif_temp" /var/log/apache2/access.log

What to do now

Caution. Deactivating a plugin removes its fields from product pages. Customers will not be able to attach files until you restore or replace the feature. Take a backup first and check the store afterwards.
  1. Check whether Product Input Fields for WooCommerce is installed and note the version.
  2. If it is version 2.1.0 or earlier and you do not need it, deactivate and delete it.
  3. 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.
  4. Inspect pif_temp for unexpected files, particularly script files, and review access logs for requests to that directory.
  5. 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.
  6. Where you control the server, block script execution in upload directories as a defense in depth measure, and keep file permissions tight.
Tip. Blocking PHP execution in upload folders is a general hardening step worth applying to every WordPress site, not just this one. It limits the damage when any upload bug appears. Our WordPress security checklist covers more of these basics.

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.

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.

  1. CVE-2026-104998 - GitHub Advisory Databasegithub.com
  2. CVE-2026-104998: The Product Input Fields for WooCommerce plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.1.0 via the…nvd.nist.gov ·
  • WordPress
  • WooCommerce
  • File upload
  • RCE
  • CVE-2026-104998