CVE-2026-104998: tychesoftwares Product Input Fields for WooCommerce · Arbitrary file write
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-26
Description
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 process_file_input_field function. This is due to missing file type validation in the process_file_input_field function, which accepts the client-supplied multipart Content-Type header as the sole type gate and writes the uploaded file to the unprotected pif_temp directory using the verbatim client-supplied filename. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Exploitation requires that an administrator has configured at least one product with a File-type Product Input Field with the "Show thumbnail" option enabled, which is a standard use of the feature; additionally, the pif_temp/ upload directory is created without .htaccess or index.php restrictions, leaving written files directly web-accessible and executable on default Apache/mod_php configurations.
Enclave's analysis
The plugin accepts any uploaded file through its cart file-upload field because it checks only the client-supplied Content-Type header, then saves it under its own filename in an unprotected pif_temp folder. If an admin enabled a file-type input field with thumbnail previews and the server runs classic Apache/mod_php, an uploaded PHP file executes directly — unauthenticated. No public exploit or confirmed attack has been reported yet. Version 2.2.0 fixes it; update and check the upload folder's exposure.
Fix
No fixed version in the CVE record yet. Follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Product Input Fields for WooCommerce | 0 through 2.1.0 | Not listed |