WCPOS <= 1.9.8 - Authenticated (Shop Manager+) Path Traversal to Arbitrary File Read via 'type' Parameter
cve-program · CVE-2026-16078
PublishedThe WCPOS – Point of Sale (POS) plugin for WooCommerce plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.9.8 via the 'type' parameter parameter. This makes it possible for authenticated attackers, with shop manager-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information. Successful exploitation requires supplying context=edit in the request, which bypasses the content-stripping logic in prepare_item_for_response() and returns the traversed file verbatim in the REST API response.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-16078 · CVE overview and exploitation status
cve-program · CVE-2026-16078
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0148c70f-38e4-43d9-994e-f2b01dd168a1?source=cve
- https://plugins.trac.wordpress.org/browser/woocommerce-pos/tags/1.9.7/includes/API/Templates_Controller.php#L446
- https://plugins.trac.wordpress.org/browser/woocommerce-pos/tags/1.9.7/includes/Templates.php#L481
- https://plugins.trac.wordpress.org/browser/woocommerce-pos/tags/1.9.7/includes/Templates.php#L445
- https://plugins.trac.wordpress.org/browser/woocommerce-pos/tags/1.9.7/includes/API/Templates_Controller.php#L1497
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3612715%40woocommerce-pos&new=3612715%40woocommerce-pos
Related changes
Linked by CVE identifierNo related changes are available here.