CVE-2026-105850: @payloadcms/plugin ecommerce Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-8r29-2mp2-pmrw
CWE-837
Published
Advisory Summary

CVE-2026-105850 is a HIGH remote code execution vulnerability (CWE-837: Improper Enforcement of a Single, Unique Action) affecting @payloadcms/plugin ecommerce libraries in the npm ecosystem. The issue involves payload ecommerce has an order confirmation validation issue. Remediation is available by upgrading affected packages to version 3.90.0, 4.0.0-canary.34.

CVE-2026-105850 at a Glance

CVE Identifier CVE-2026-105850
GHSA Identifier GHSA-8r29-2mp2-pmrw
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-837: Improper Enforcement of a Single, Unique Action
Affected Product @payloadcms/plugin ecommerce
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-105850

To remediate this vulnerability, upgrade all affected @payloadcms/plugin ecommerce dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@payloadcms/plugin-ecommerce fixed: 3.90.0
npm install @payloadcms/plugin-ecommerce@3.90.0
@payloadcms/plugin-ecommerce fixed: 4.0.0-canary.34
npm install @payloadcms/plugin-ecommerce@4.0.0-canary.34
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @payloadcms/plugin-ecommerce

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-105850, inspect your project dependencies using npm:

npm ls @payloadcms/plugin-ecommerce

Analyze the terminal output to locate any version of @payloadcms/plugin ecommerce in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.90.0), your application is affected.

Note: The npm ls @payloadcms/plugin-ecommerce command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-837: Improper Enforcement of a Single, Unique Action, where the product requires that an actor should only be able to perform an action once, or to have only one unique action, but the product does not enforce or improperly enforces this restriction. In @payloadcms/plugin ecommerce, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Impact When using the Stripe payment adapter, an order confirmation could be processed more than once under certain conditions. You are affected if: - You use `@payloadcms/plugin-ecommerce` with the Stripe payment adapter. Deployments that do not use the Stripe payment flow are not affected. ## Patches Users should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`. ## Workarounds Ensure Stripe order confirmations can only be processed once. This is a temporary mitigation; upgrading to a patched version is recommended.

CVE-2026-105850 Affected @payloadcms/plugin ecommerce Versions

2 component(s)
Fixed Versions:
3.90.04.0.0-canary.34
Product / Package Ecosystem Affected Versions Fixed Version
@payloadcms/plugin-ecommerce
npm
< 3.90.0
3.90.0
@payloadcms/plugin-ecommerce
npm
≥ 4.0.0-canary.0
< 4.0.0-canary.34
4.0.0-canary.34

References

Frequently Asked Questions

What is CVE-2026-105850?
CVE-2026-105850 is a security vulnerability in @payloadcms/plugin ecommerce involving Payload Ecommerce has an order confirmation validation issue under CWE-837: Improper Enforcement of a Single, Unique Action.
Which @payloadcms/plugin ecommerce versions are affected?
Affected versions include releases prior to 3.90.0, 4.0.0-canary.34 across affected packages: @payloadcms/plugin-ecommerce.
What version fixes CVE-2026-105850?
Upgrading to 3.90.0, 4.0.0-canary.34 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @payloadcms/plugin-ecommerce affected?
Yes, @payloadcms/plugin-ecommerce is affected in releases prior to 3.90.0, 4.0.0-canary.34. Upgrade your dependency to 3.90.0, 4.0.0-canary.34 or later.
What CWE is associated with CVE-2026-105850?
CVE-2026-105850 is classified under CWE-837: Improper Enforcement of a Single, Unique Action (The product requires that an actor should only be able to perform an action once, or to have only one unique action, but the product does not enforce or improperly enforces this restriction.).
How can I check npm dependencies for CVE-2026-105850?
Run the dependency tree command: 'npm ls @payloadcms/plugin-ecommerce'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8r29-2mp2-pmrw",
  "modified" : "2026-10-06T16:17:54Z",
  "published" : "2026-10-06T16:17:54Z",
  "aliases" : [ "CVE-2026-105850" ],
  "summary" : "Payload Ecommerce has an order confirmation validation issue",
  "details" : "## Impact\nWhen using the Stripe payment adapter, an order confirmation could be processed more than once under certain conditions.\n\nYou are affected if:\n- You use `@payloadcms/plugin-ecommerce` with the Stripe payment adapter.\n\nDeployments that do not use the Stripe payment flow are not affected.\n\n## Patches\nUsers should upgrade Payload packages to `>= 3.90.0` or `>= 4.0.0-canary.34`.\n\n## Workarounds\nEnsure Stripe order confirmations can only be processed once. This is a temporary mitigation; upgrading to a patched version is recommended.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@payloadcms/plugin-ecommerce"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.90.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@payloadcms/plugin-ecommerce"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-canary.0"
      }, {
        "fixed" : "4.0.0-canary.34"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/security/advisories/GHSA-8r29-2mp2-pmrw"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/commit/6c0c4dc9b4ce1ac87b03fbb5dd7356b8559cbc4e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/payloadcms/payload"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/payloadcms/payload/releases/tag/v3.90.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-837" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-10-06T16:17:54Z",
    "nvd_published_at" : null
  }
}