CVE-2026-18080
Description
The ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce plugin for WordPress is vulnerable to Unrestricted File Type Upload in all versions up to, and including, 1.17.8 via the save_attachments() function. This is due to missing file extension validation and missing path normalization when CRM Email Connect processes inbound IMAP email attachments. This makes it possible for unauthenticated attackers to send a crafted email to the site's configured inbound mailbox with a forged References header matching the plugin's expected pattern and an attachment filename such as `../helper.php`, causing the cron-based IMAP sync job to write attacker-controlled PHP outside of the .htaccess-protected `crm-attachments` directory and into `wp-content/uploads/`. On configurations where PHP executes in uploads, this can lead to remote code execution. Exploitation requires the CRM module and IMAP Email Connect feature to be enabled and configured.
Affected WordPress components
-
ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce Plugin · erpUp to and including 1.17.8View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- wedevs ERP: Complete HR, Accounting & CRM Suite Built for WooCommerce — Up to and including 1.17.8
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3656848/erp
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/b9d11eb9-5e18-459f-a9d4-cccb1d593402?source=cve
- nvd.nist.gov Official NVD record