CVE Explorer
CVE-2025-69871
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-362","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-362","description":"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69871-MedusaJS-TOCTOU.md"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/cna/references/2
{"url":"https://github.com/medusajs/medusa"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/cna/references/1
{"url":"https://github.com/medusajs/medusa/pull/13760"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:08ffc39dc88cf0bdc75b3c9a4af44f59cb2c398736bb302bba8af7c1b192dfcf · sha256:5147ffd953956728… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.