CVE-2026-18027 Path traversal in WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels
Authenticated attackers can read arbitrary server files via directory traversal in the WebToffee WooCommerce PDF Invoices plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-18027?
CVE-2026-18027 is a medium-severity path traversal vulnerability in WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels, published on 22 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The WebToffee WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 4.9.8 via the get_image_src_in_base64 function. 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 base64-encoded file contents are embedded into the cached invoice HTML and served directly to the attacker via the plugin's own Print/Download invoice endpoints, which require only a valid nonce and access key.
Weakness: CWE-22
Which versions are affected by CVE-2026-18027?
How do I fix CVE-2026-18027?
No fix has been published for CVE-2026-18027 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-18027 being exploited?
There is no known exploitation of CVE-2026-18027 in the wild and no public exploit code.
Sources
Also known as GHSA-7r74-667v-4q77.