Summary
CVE-2026-104998 is an arbitrary file upload flaw in the Product Input Fields for WooCommerce plugin for WordPress. The NVD record was published on November 26, 2026 and is marked "Deferred", so NVD has not added its own analysis. The CVSS 3.1 score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The weakness is CWE-434, unrestricted upload of a file with a dangerous type.
Details
The process_file_input_field function does not validate file types. It trusts the client-supplied Content-Type header and saves uploads under their original filenames in a pif_temp directory. That directory has no .htaccess or index.php protection, so uploaded files can be fetched over the web and may execute. An unauthenticated attacker could use this to run code on the server.
Exploitation depends on configuration: an administrator must have set up a File-type Product Input Field with the "Show thumbnail" option enabled. Sites that do not use that field type are not exposed through this path.
| Item | Detail |
|---|---|
| CVE | CVE-2026-104998 |
| CVSS 3.1 | 9.8 |
| Weakness | CWE-434 |
| Affected | All versions up to and including 2.1.0 |
| Fixed | Not stated in the record |
| Exploitation | No in-the-wild exploitation reported in the sources reviewed |
The record references a WordPress.org changeset (r3819954) but does not name a patched release.
Recommended actions
- Check your plugin version. If it is 2.1.0 or earlier, look in the WordPress plugin directory for a newer release and update.
- If no fixed release is available, disable any File-type Product Input Field that uses "Show thumbnail", or deactivate the plugin.
- Inspect the
pif_tempupload directory for files with.phpor other executable extensions, and remove anything you did not expect. - Block script execution in upload directories at the web server level.
- Review web logs for POST requests to cart endpoints that carry file uploads.