Authentication Bypass in Next-Cart Store to WooCommerce Migration Plugin
An authentication bypass vulnerability (CVE-2026-76009) in the Next-Cart Store to WooCommerce Migration WordPress plugin allows unauthenticated attackers to execute arbitrary SQL and delete files, leading to potential site takeover.
CVE search metadata
CVE search record: CVE-2026-76009. Severity: high. CVSS: 8.1. KEV: no. Product: Store to WooCommerce Migration (<= 3.9.8). Brief: Authentication Bypass in Next-Cart Store to WooCommerce Migration Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-09-cve-2026-76009/
The Next-Cart Store to WooCommerce Migration plugin for WordPress is vulnerable to an authentication bypass in all versions up to and including 3.9.8. The vulnerability exists within the NCWM_Kitconnect::run() function due to an insecurely configured REST API route (/wp-json/next_cart/v1/migration). The plugin registers this route with a permission_callback set to __return_true, meaning no authentication is required by default. Furthermore, the plugin utilizes a hardcoded fallback value of __token__ via get_option('nextcart_token', '__token__') if the migration token has not been explicitly generated in the database.
This hardcoded fallback is reachable when the plugin is activated via WP-CLI, network-wide, or programmatically without a subsequent wp-admin visit, as the legitimate token generation is deferred to the admin_init hook. An unauthenticated attacker can supply the string __token__ to the REST endpoint to bypass authentication. Once inside, the attacker can leverage privileged handlers to execute arbitrary SQL queries against the database (enabling admin account creation) and trigger arbitrary file deletion via unlink(), potentially resulting in a full site takeover.
Attack Chain
- Attacker performs reconnaissance to identify WordPress sites with the Next-Cart plugin activated via CLI or programmatic methods.
- Attacker interacts with the REST API endpoint at
/wp-json/next_cart/v1/migration. - Attacker submits the literal string
__token__in the request parameters to the endpoint. - The plugin fails to validate authentication due to the insecure
permission_callbackand the hardcoded fallback token. - Attacker sends malicious SQL payloads to the migration handler, which passes them to
$wpdb->query(). - Attacker inserts a new administrator user into the
wp_usersandwp_usermetatables. - Attacker sends file system commands to the handler, which passes paths to
unlink()for arbitrary file deletion. - Attacker completes site takeover by leveraging elevated privileges and persistence through newly created accounts.
Impact
Successful exploitation of CVE-2026-76009 allows unauthenticated remote attackers to gain full administrative control over the affected WordPress site. Impacts include unauthorized access to sensitive customer data, site defacement, the injection of malicious code into the database, and the potential for complete site compromise. Given the prevalence of WordPress installations and the nature of migration tools, a significant number of instances configured via non-interactive means are at risk.
Recommendation
- Upgrade the Next-Cart Store to WooCommerce Migration plugin to a version beyond 3.9.8 immediately.
- Audit the
wp_usersandwp_usermetatables for unauthorized administrative accounts created post-deployment. - Inspect web server access logs for requests directed at
/wp-json/next_cart/v1/migrationcontaining the__token__string. - Perform a security review of site plugins to ensure no other REST routes lack proper
permission_callbackvalidation.
Immediate actions
Upgrade Next-Cart Store to WooCommerce Migration plugin to version > 3.9.8
Threat Hunt
Search logs for POST requests to /wp-json/next_cart/v1/migration containing __token__
Data: Web server access logs
Mitigations
Upgrade plugin to latest patched version
CVE-2026-76009
Detection coverage 1
Detects CVE-2026-76009 Exploitation - Unauthorized Migration API Access
highDetects exploitation attempts against CVE-2026-76009 by monitoring for requests to the vulnerable migration endpoint containing the hardcoded token fallback string.
Detection queries are available on the platform. Get full rules →