# CVE-2025-69871: A race condition vulnerability exists in MedusaJS Medusa v2.12.2 and earlier in the registerUsage() function of the promotion module.

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-02-11T00:00:00.000Z
- Modified: 2026-06-17T10:00:54.357Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/medusajs/medusa/pull/13760>
- <https://github.com/medusajs/medusa>
- <https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69871-MedusaJS-TOCTOU.md>

## Sources

- CVE List: [CVE-2025-69871](https://www.cve.org/CVERecord?id=CVE-2025-69871), CVE Terms of Use, modified 2026-02-12
- NVD: [CVE-2025-69871](https://nvd.nist.gov/vuln/detail/CVE-2025-69871), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-69871 · Whole record: https://cve.day/CVE-2025-69871.json · Rebuilt by cve.day 2026-11-25T22:59:11.151Z
