{"id":"CVE-2025-69871","aliases":["EUVD-2025-207392","GHSA-6r9h-3c6p-4chm","UBUNTU-CVE-2025-69871"],"status":"published","title":"A race condition vulnerability exists in MedusaJS Medusa v2.12.2 and earlier in the registerUsage...","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.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.00401,"percentile":0.34816,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-362"],"published":"2026-02-11T00:00:00Z","modified":"2026-10-28T02:30:25Z","affected":[{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"medusa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1-1","2.2~rc3-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"medusa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-4","2.2-4build1","2.2-5"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"medusa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-6"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"medusa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-7","2.2-7build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"medusa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2-7build1","2.2-7build2","2.2-7build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"medusa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3~rc1-2","2.3-1","2.3-2"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"medusa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3-3","2.3-3build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"medusa","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3-2","2.3-3"]}],"references":[{"url":"https://github.com/medusajs/medusa/pull/13760","tags":["fix","report"]},{"url":"https://github.com/medusajs/medusa","tags":["package","report"]},{"url":"https://github.com/EthanKim88/ethan-cve-disclosures/blob/main/CVE-2025-69871-MedusaJS-TOCTOU.md","tags":["web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69871","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6r9h-3c6p-4chm"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/69xxx/CVE-2025-69871.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-69871","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-69871","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-69871","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.","status":"published","published":"2026-02-11T00:00:00Z","modified":"2026-02-12T15:10:00.31Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"adp"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:32:41.089134Z"}],"euvd":[{"id":"EUVD-2025-207392","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.","status":"published","published":"2026-02-11T00:00:00Z","modified":"2026-02-12T15:10:00Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:48:40.418792Z"}],"ghsa":[{"id":"GHSA-6r9h-3c6p-4chm","title":"A race condition vulnerability exists in MedusaJS Medusa v2.12.2 and earlier in the registerUsage...","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.","status":"published","published":"2026-02-11T21:30:39Z","modified":"2026-02-12T18:31:24Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T15:06:11.04945Z"}],"nvd":[{"id":"CVE-2025-69871","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.","status":"published","published":"2026-02-11T19:15:50.23Z","modified":"2026-06-17T10:00:54.357Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:12:00.273026Z"}],"osv":[{"id":"CVE-2025-69871","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.","status":"published","published":"2026-02-11T00:00:00Z","modified":"2026-10-28T02:30:25.901361298Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:52.859856Z"},{"id":"UBUNTU-CVE-2025-69871","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.","status":"published","published":"2026-02-11T19:15:00Z","modified":"2026-10-17T12:58:39.448499348Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:55.926217Z"}]}}
