Improper Enforcement of a Single, Unique Action Affecting @payloadcms/plugin-ecommerce package, versions <3.90.0>=4.0.0-canary.0 <4.0.0-canary.34


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-PAYLOADCMSPLUGINECOMMERCE-20936879
  • published14 Oct 2026
  • disclosed6 Oct 2026
  • creditUnknown

Introduced: 6 Oct 2026

CVE-2026-105850  (opens in a new tab)
CWE-837  (opens in a new tab)

How to fix?

Upgrade @payloadcms/plugin-ecommerce to version 3.90.0, 4.0.0-canary.34 or higher.

Overview

@payloadcms/plugin-ecommerce is an Ecommerce plugin for Payload

Affected versions of this package are vulnerable to Improper Enforcement of a Single, Unique Action via the confirmOrder endpoint in the Stripe payment adapter, where a settlement webhook or confirmation request can be replayed, allowing an attacker to trigger multiple order finalizations for a single payment. The finalizeOrder callback lacks a guard preventing re-entry across concurrent requests, so a race condition permits duplicate order records and inventory mutations to be committed. The fix introduces a transactional compare-and-set with transient conflict recovery and a per-request didCallFinalizeOrder flag to enforce exactly-once settlement.

Note: This is only exploitable when using the Stripe payment adapter.

CVSS Base Scores

version 4.0
version 3.1