CVE-2026-145562

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.

CVSS base score
3.1 (v3.1)
Severity
LOW
Attack vector
Network
Weakness
CWE-338
Last modified
December 5, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

References

View full NVD advisory →

Published the same day

← Back to CVE watch