CVE-2025-69871 Details
Description
A race condition vulnerability exists in MedusaJS Medusa v2.12.2 and earlier in the registerUsage() function of the promotion module. The function performs a non-atomic read-check-update operation when enforcing promotion usage limits. This allows unauthenticated remote attackers to bypass usage limits by sending concurrent checkout requests, resulting in unlimited redemptions of limited-use promotional codes and potential financial loss.
A race condition vulnerability has been identified in MedusaJS Medusa versions 2.12.0 prior to 2.13.1, within the promotion module's 'registerUsage()' function. This vulnerability arises from a non-atomic read-check-update process when managing promotion usage limits. As a result, unauthenticated remote attackers can exploit this flaw by sending simultaneous checkout requests, bypassing usage restrictions and allowing unlimited redemptions of promotional codes, which could lead to significant financial losses for merchants.
The vulnerability can be addressed by implementing atomic database operations for updating promotion usage counts, ensuring that the read-check-update process is completed in a single, indivisible transaction. Alternatively, promotions can be locked at the database level to prevent concurrent modifications.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 11, 2026CISA-ADP
Assessed Feb 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69871-MedusaJS-TOCTOU.md | [email protected] | ExploitTechnical Analysis |
| https://github.com/medusajs/medusa | [email protected] | ProductVendor |
| https://github.com/medusajs/medusa/pull/13760 | [email protected] | Issue TrackingVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| MedusaJS Medusa | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 12, 2026 | CVE Modified | CISA-ADP |
| Feb 11, 2026 | New CVE Received | [email protected] |
Volerion