CVE-2026-145562: Webkul Bagisto · PRNG
Affects Webkul BagistoSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low.
Data as of 5 Dec 2026, 14:28 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 2.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 3.1 |
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| WebkulBagisto | Affected
| Fixed in– |
PackagistBagistopkg:composer/BagistoOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid using the affected versions or disable bulk coupon code generation using the vulnerable method.
Description
CVE-2026-145562 is a vulnerability in Bagisto up to version 2.5.2 where the use of PHP's rand() function for generating bulk coupon codes results in predictable randomness. Attackers who obtain two or more coupon codes from the same batch can recover the internal seed of the pseudo-random number generator and predict unissued coupon codes, potentially redeeming unauthorized discounts.