# CVE-2026-104998: Product Input Fields for WooCommerce <= 2.1.0 - Unauthenticated Arbitrary File Upload via Cart File Upload Field

Status: published. Published: 2026-11-26. Updated: 2026-12-01.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- tychesoftwares / Product Input Fields for WooCommerce: ≥ 0; ≤ 2.1.0 (affected, semver). Source: CNA: Wordfence

## Severity and prioritization

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: CNA: Wordfence

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: NVD: security@wordfence.com

- CISA KEV: No listing in collected sources

- EPSS: 1.31% as of 2026-12-01; percentile 71.45%

- SSVC: exploitation none; automatable yes; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-434

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b729c88-9a7e-4729-bec1-6e5f9bef4f2d?source=cve (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L342 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L205 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L295 (CNA: Wordfence)

- https://plugins.trac.wordpress.org/changeset?reponame=&old=3819954%40product-input-fields-for-woocommerce&new=3819954%40product-input-fields-for-woocommerce (CNA: Wordfence)

- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L205 (security@wordfence.com)

- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L295 (security@wordfence.com)

- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L342 (security@wordfence.com)

- https://plugins.trac.wordpress.org/changeset?reponame=&old=3819954%40product-input-fields-for-woocommerce&new=3819954%40product-input-fields-for-woocommerce (security@wordfence.com)

- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b729c88-9a7e-4729-bec1-6e5f9bef4f2d?source=cve (security@wordfence.com)

## Provenance

- CNA: Wordfence: https://www.cve.org/CVERecord?id=CVE-2026-104998; retrieved 2026-12-01; source updated 2026-12-01

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-104998; retrieved 2026-11-26; source updated 2026-11-26

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-104998; retrieved 2026-12-01; source updated Not reported

Revision: 25d9d9c313fcf8630a005ce02f05491d415a67280c838e5d2230d8e25114a6b1

Canonical: https://y2.dev/cve/CVE-2026-104998

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.