Home › Vulnerabilities › Webkul
Bagisto Flaws Cover SSRF via Redirects and Predictable Bulk Coupon Codes
Two NVD records published on 2026-12-05 describe Webkul Bagisto flaws: a MEDIUM server-side request forgery issue reachable by privileged users, and a LOW insecure-randomness issue in bulk coupon generation. Neither record states a fixed version or workaround.
What to look into
- 2 vulnerabilities in Webkul Bagisto: 1 medium, 1 low (CVSS up to 6.9).
- None of them is known to be exploited yet.
- Start with CVE-2026-145561 (6.9 medium): Bagisto 2.3.18 through 2.3.19, 2.4.3 through 2.4.14 and 2.5.0 through 2.5.2 contains a server-side request forgery vulnerability in the ValidatesExternalUrl trait that allows privileged attackers to… An attacker with administrator rights can exploit this over the network, without any user action.
- 0 of 2 can be attacked over the network without logging in.
- Kinds of flaws: Server-Side Request Forgery (SSRF); Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG).
Key points
- CVE-2026-145561 (MEDIUM, CVSS 6.9): SSRF via HTTP redirects in the ValidatesExternalUrl trait, requiring administrator or product-import privileges.
- The SSRF issue can reach loopback, internal, and 100.64.0.0/10 addresses, per the record.
- CVE-2026-145562 (LOW, CVSS 2.3): bulk coupon codes generated with PHP rand() are predictable.
- A customer holding two or more codes from one batch could reportedly recover the seed and compute others.
- No fixed version or workaround is stated in either record.
Overview
This batch contains two NVD records for Webkul Bagisto, both published on 2026-12-05. They describe different kinds of flaws: a server-side request forgery (SSRF) issue and a weak-randomness issue in coupon generation.
Server-side request forgery (CVE-2026-145561)
The more severe record is CVE-2026-145561, rated MEDIUM (CVSS 6.9). It states that Bagisto 2.3.18 through 2.3.19, 2.4.3 through 2.4.14 and 2.5.0 through 2.5.2 contain a flaw in the ValidatesExternalUrl trait. According to the record, URL validation can be bypassed through HTTP redirects, so a permitted external URL can send requests to loopback, internal, or 100.64.0.0/10 addresses. The record says attackers with administrator or product-import privileges could use this to read internal service and cloud metadata responses. It describes sample or link URLs for downloadable products as the vector. It does not describe access without those privileges.
Predictable coupon codes (CVE-2026-145562)
CVE-2026-145562 is rated LOW (CVSS 2.3) and covers Bagisto through 2.5.2. Bulk coupon codes are generated by CartRuleCouponRepository::getRandomString() using PHP rand(). The record states that a customer holding two or more codes from one batch could recover the 32-bit Mersenne Twister seed and compute unissued codes, potentially redeeming discounts meant for others.
Remediation status
Neither record names a fixed version, vendor patch, or workaround, and neither states that either issue has been exploited. Administrators running the listed version ranges should consult the vendor's release information for updates. The records provide no detection guidance.
The 2 vulnerabilities
- CVE-2026-145561 6.9 Bagisto 2.3.18 through 2.3.19, 2.4.3 through 2.4.14 and 2.5.0 through 2.5.2 contains a server-side request forgery vulnerability in the ValidatesExternalUrl trait that allows privileged attackers to bypass URL validation via HTTP redirects…
- CVE-2026-145562 2.3 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…
Frequently asked questions
How many Webkul Bagisto vulnerabilities were published on December 5, 2026?
2 vulnerabilities: 1 medium, 1 low, with CVSS scores up to 6.9.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-145561 (CVSS 6.9): Bagisto 2.3.18 through 2.3.19, 2.4.3 through 2.4.14 and 2.5.0 through 2.5.2 contains a server-side request forgery vulnerability in the ValidatesExternalUrl trait that allows privileged attackers to…