Product Input Fields for WooCommerce remote code execution (CVE-2026-104998).
Who is affected
Teams running Product Input Fields for WooCommerce from WordPress
Why it matters
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 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.
- Severity: CVSS 9.8 Critical
- Product: WordPress, Product Input Fields for WooCommerce
Recommended action
- Apply the vendor fix for the listed versions (including: 2.1.0 via the process_file_input_field fu).
- Confirm whether any affected instances are internet-facing or reachable from untrusted networks.
- After patching, review logs for suspicious access tied to this vulnerability.