CVE-2026-122265 Vanquish Upload Files for WooCommerce <= 2.7.13 - Unauthenticated Arbitrary File Read via 'vanupfi_file_name' Parameter

Medium 5.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-122265?

CVE-2026-122265 is a medium-severity vulnerability in vanquish83 Vanquish Upload Files for WooCommerce, published on 7 Nov 2026.

Official description

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().

Weakness: CWE-22

Which versions are affected by CVE-2026-122265?

How do I fix CVE-2026-122265?

No fix has been published for CVE-2026-122265 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-122265 being exploited?

There is no known exploitation of CVE-2026-122265 in the wild and no public exploit code.

Sources

Also known as GHSA-xw2r-p69h-9jmx.

Is CVE-2026-122265 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free