CVE-2026-122265
The Vanquish Upload Files for WooCommerce plugin for WordPress is …
The Vanquish Upload Files for WooCommerce plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 2.7.13 via the 'vanupfi_file_name' parameter parameter. This makes it possible for authenticated attackers, with subscriber-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information. The authorization bypass is achieved by supplying a non-existent order ID (e.g., '.pdf'), which causes wc_get_order() to return false and short-circuits the vanupfi_user_can_access_order_files() check, while the is_pdf() branch selector's loose strpos() substring match allows a traversal payload such as '../.pdf/../../../../wp-config.php' to satisfy the PDF branch and be streamed verbatim via readfile().
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/vanquish-upload-files-for-woocommerce/tags/2.7.12/class
- plugins.trac.wordpress.org/browser/vanquish-upload-files-for-woocommerce/tags/2.7.12/class
- plugins.trac.wordpress.org/browser/vanquish-upload-files-for-woocommerce/tags/2.7.12/class
- plugins.trac.wordpress.org/browser/vanquish-upload-files-for-woocommerce/tags/2.7.12/class
- plugins.trac.wordpress.org/browser/vanquish-upload-files-for-woocommerce/tags/2.7.12/class
- plugins.trac.wordpress.org/browser/vanquish-upload-files-for-woocommerce/tags/2.7.12/class
- plugins.trac.wordpress.org/changeset/3785517/vanquish-upload-files-for-woocommerce
- plugins.trac.wordpress.org/changeset/3785517/vanquish-upload-files-for-woocommerce/trunk/c
- nvd.nist.gov/vuln/detail/CVE-2026-122265
- cve.org/CVERecord?id=CVE-2026-122265
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.