CVE-2026-145562
- Severity 3.1 LOW
- Published
- Updated
- Status Deferred
- EUVD EUVD-2026-145696
Bagisto through 2.5.2 contains an insecure randomness vulnerability that allows customers to predict bulk coupon codes generated by CartRuleCouponRepository::getRandomString() using PHP rand(). Attackers holding two or more codes from one batch can recover the 32-bit Mersenne Twister seed and compute unissued codes to redeem discounts meant for others.
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources
(CNA/ADP records, vendor advisories, Enginsight analysis).
| Vendor | Product | Version | Source |
|---|---|---|---|
| webkul | bagisto | 𝑥 ≤ 2.5.2 | CNA |
Common Weakness Enumeration