---
id: CVE-2026-76009
title: >-
  The Next-Cart Store to WooCommerce Migration plugin for WordPress is
  vulnerable to Authentication Bypass in all versions up to, and including,
  3.9.8 via the `NCWM_Kitconnect::run()` function
summary: >-
  The Next-Cart Store to WooCommerce Migration plugin for WordPress is
  vulnerable to Authentication Bypass in all versions up to, and including,
  3.9.8 via the `NCWM_Kitconnect::run()` function. This is due to the plugin
  registering the `/w…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-287
vendor: martinnguyen1990
product: Next-Cart Store to WooCommerce Migration
affected:
  - next-cart_store_to_woocommerce_migration <= 3.9.8
published: '2026-09-09'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T15:33:34.467'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-76009'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextcart-woocommerce-migration/trunk/includes/carts/kitconnect-api.php#L120
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextcart-woocommerce-migration/trunk/includes/carts/kitconnect-api.php#L23
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextcart-woocommerce-migration/trunk/includes/carts/kitconnect-api.php#L336
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextcart-woocommerce-migration/trunk/includes/main.php#L123
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/nextcart-woocommerce-migration/trunk/includes/main.php#L40
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3686100%40nextcart-woocommerce-migration&new=3686100%40nextcart-woocommerce-migration
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/739b57d9-8066-4c2a-9419-f6cd9409433c?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-09T14:01:21.461808Z'
ingestedAt: '2026-09-10T14:30:10.953Z'
epss: 0.00515
epssPercentile: 0.42874
---

## Overview

The Next-Cart Store to WooCommerce Migration plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 3.9.8 via the `NCWM_Kitconnect::run()` function. This is due to the plugin registering the `/wp-json/next_cart/v1/migration` REST route with `permission_callback` set to `__return_true` and relying on a hardcoded fallback value of `__token__` in `get_option('nextcart_token', '__token__')` when the `nextcart_token` option has not yet been written to the database. This makes it possible for unauthenticated attackers to bypass authentication to the migration endpoint by supplying the literal string `__token__` as the token, gaining access to privileged handlers that pass attacker-controlled SQL directly to `$wpdb->query()` and `$wpdb->get_results()` — enabling arbitrary SQL execution including administrator account creation — and pass an attacker-controlled path to `unlink()`, enabling arbitrary file deletion and full site takeover. The hardcoded fallback is reachable whenever the `nextcart_token` option has not yet been populated, which occurs after WP-CLI, network, or programmatic plugin activation without a subsequent authenticated `wp-admin` visit, as token generation is deferred to `admin_init` via `register_settings()`.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
