Threat Overview
A critical unauthenticated arbitrary file upload vulnerability in payever – WooCommerce Gateway (payever-woocommerce-gateway), an e-commerce payment and catalog synchronization plugin for WordPress, allows remote attackers to write executable PHP webshells directly onto the server.
Tracked under CVE-2026-93754 (CVSS 9.8), the defect exposes three WooCommerce API endpoints without authentication, capability checks, or nonces, and writes remotely fetched files to disk before verifying their extension. Any storefront running versions up to and including 4.8.0 is exposed to full server compromise.
| Threat Metric | Technical Details |
|---|---|
| Severity Rating | CRITICAL (CVSS 9.8 / 10.0) |
| Vulnerability Class | Missing Authentication & Unrestricted Upload of Dangerous File Type (CWE-862 / CWE-434) |
| Vulnerable Components | payever – WooCommerce Gateway (payever-woocommerce-gateway, versions up to and including 4.8.0) |
| Attack Vector | Unauthenticated HTTP request to WooCommerce API synchronization callbacks |
| Exploit Precondition | Active payever – WooCommerce Gateway plugin installation |
| Fixed Versions | Patched in WordPress Plugin Trac changeset 3761918 (versions above 4.8.0) |
Our Take in Plain English
“Merchants install WooCommerce gateway extensions expecting bank-grade security around their checkout flow. Yet on legacy WordPress, payment plugins routinely bolt wide-open synchronization listeners onto the exact same server that holds your customer database—and even download remote files straight to disk before checking whether the file is a product image or an attacker’s script. From first principles, your public storefront should never share a writable filesystem with payment webhooks. In a modern decoupled commerce architecture, your storefront is compiled static HTML at the edge, and payment callbacks are verified inside isolated, cryptographically signed backend containers.”
The Breakdown: How the Exploit Works
To synchronize product catalogs and merchant settings with WooCommerce, the payever plugin registers three custom woocommerce_api_ callbacks: payever_set_sandbox_api_keys, payever_toggle_subscription, and payever_synchronization_incoming.
In versions up to and including 4.8.0, all three endpoints are registered with no authentication check, no WordPress capability verification, and no cryptographic nonce. An unauthenticated attacker can invoke these endpoints directly to overwrite merchant sandbox keys and trigger incoming product synchronization actions.
During synchronization, the plugin’s upload_image() routine downloads a remote file from an attacker-supplied URL and writes it directly into wp-content/uploads/ using an attacker-controlled basename() before validating the file extension. By supplying a URL pointing to a .php payload, an attacker writes an executable webshell to the public uploads folder prior to any security rejection.
The Operational Risk: What an Attacker Gains
- Unauthenticated Remote Code Execution: Attackers plant and execute PHP webshells in
wp-content/uploads/without merchant or administrator credentials. - Checkout Skimming Injection: With server-level code execution on a live store, attackers inject JavaScript credit-card skimmers directly into checkout pages.
- Gateway Credential Hijacking: Because
payever_set_sandbox_api_keyslacks authentication, attackers overwrite gateway credentials and redirect synchronization traffic. - Customer PII Exfiltration: Full access to the WordPress database exposes customer billing addresses, order histories, and payment tokens.
The Modern Architectural Remedy
- Legacy Dynamic WordPress: Runs payment webhooks, remote image downloaders, and public storefront rendering inside a single shared PHP process and filesystem.
- Modern Pre-Rendered Edge Architecture: Separates the compiled edge storefront from isolated commerce APIs, enforcing strict cryptographic webhook signatures with zero executable uploads.
Immediate Action Items for WordPress Operators
- Update or Deactivate Immediately: Upgrade
payever-woocommerce-gatewayabove4.8.0, or deactivate and remove the plugin if unused. - Inspect Uploads for Rogue PHP: Search
wp-content/uploads/for recently created.phpor.phtmlfiles written by the web-server user. - Audit Access Logs: Check server logs for requests targeting
wc-api=payever_set_sandbox_api_keysorpayever_synchronization_incoming. - Rotate Merchant API Keys: Regenerate all payever tokens and WooCommerce REST API keys if the vulnerable version was exposed online.
