Skip to main content
VulnerabilityPublished

CVE-2026-145562: Webkul Bagisto · PRNG

Affects Webkul BagistoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.3 Low.

Data as of 5 Dec 2026, 14:28 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.02.3
CNA (VulnCheck)CVSS 3.13.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
WebkulBagistoAffected
  • <=2.5.2
Fixed in–
PackagistBagistopkg:composer/BagistoOther threatsAffected
  • <=2.5.2
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.

References

Community reviews

Loading reviews…