CVE-2026-142476
HighCVSS 7.3Exploitation Probability (EPSS)
Elevated risk54th percentile - higher than 54% of all known CVEs
Summary
Webkul Bagisto up to 2.4.10 contains a vulnerability in the prepareForCart function of packages/Webkul/Product/src/Type/Simple.php within the Shop Cart component. Manipulation leads to unrestricted upload. The attack may be performed remotely and the exploit has been publicly disclosed.
Risk Assessment
Unrestricted file upload may allow an attacker to place malicious files on the server, potentially leading to code execution or other attacks. Since the exploit is public, the risk is high.
Recommendation
Update Bagisto to version 2.4.11 or later. Also verify uploaded file types and restrict write permissions in application directories.
Other vulnerabilities in Bagisto
See all- CVE-2026-21450Critical
Bagisto is an open source laravel eCommerce platform. Versions prior to 2.3.10 are vulnerable to server-side template injection via type parameter, which can lead to remote code execution or another exploitation. Version 2.3.10 fixes the issue.
- CVE-2026-21448Critical
Bagisto is an open source laravel eCommerce platform. Versions prior to 2.3.10 are vulnerable to server-side template injection. When a normal customer orders any product, in the `add address` step they can inject a value to run in admin view. The issue can lead to remote code execution. Version 2.3.10 contains a patch.
- CVE-2026-21446Critical
Bagisto is an open source laravel eCommerce platform. In versions on the 2.3 branch prior to 2.3.10, API routes remain active even after initial installation is complete. The underlying API endpoints (`/install/api/*`) are directly accessible and exploitable without any authentication. An attacker can bypass the Ib installer entirely by calling the API endpoints directly. This allows any unauthenticated attacker to create admin accounts, modify application configurations, and potentially overwrite existing data. Version 2.3.10 fixes the issue.
- CVE-2026-145562Low
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.
- CVE-2026-145561Medium
Bagisto versions 2.3.18 through 2.3.19, 2.4.3 through 2.4.14, and 2.5.0 through 2.5.2 contain an SSRF vulnerability in the ValidatesExternalUrl trait that allows privileged attackers to bypass URL validation via HTTP redirects. Attackers with administrator or product-import privileges can set sample or link URLs that redirect to loopback, internal, or 100.64.0.0/10 addresses to read internal service and cloud metadata responses.
- CVE-2026-142479Medium
In Webkul Bagisto up to 2.4.10, the uploadSwatchImage function in packages/Webkul/Attribute/src/Repositories/AttributeOptionRepository.php allows unrestricted file upload via the swatch_value argument, exploitable remotely. The exploit is public, and the fix is in version 2.4.11 (commit ba23555af3601087589a5e5f6d7573818ba88d45).
- CVE-2026-134735Medium
A vulnerability was determined in Webkul Bagisto up to version 2.4.12 in the function Success in packages/Webkul/PayU/src/Http/Controllers/PayUController.php (PayU Payment Gateway component). Manipulation of the Status argument leads to insufficient verification of data authenticity, and the attack can be launched remotely.
- CVE-2024-58401Medium
Bagisto 2.1.0 before 2.2.1 contains a client-side template injection vulnerability in the search page where the 'query' parameter is rendered unescaped inside a Vue app root. Unauthenticated attackers can send crafted VueJS template expressions to the /bagisto-common/search endpoint via the 'query' parameter to execute arbitrary JavaScript in victims' browsers.
- CVE-2026-121733Medium
Bagisto before 2.4.5 contains a stored cross-site scripting vulnerability that allows authenticated customers to upload HTML files via the RMA send-message endpoint without type or extension validation. Attackers can upload a .html attachment containing JavaScript served under /storage/rma-conversation/, executing script in the shop's origin when an administrator opens it.
- CVE-2026-121628Low
Bagisto before 2.3.16 and 2.4.x before 2.4.1 contains a race condition vulnerability in manageCartRule() that allows attackers to redeem single-use coupons multiple times. Attackers can submit concurrent order requests to the onepage orders checkout endpoint, bypassing unlocked times_used checks to apply discounts repeatedly.
Original NVD description (English source)
A vulnerability has been found in Webkul Bagisto up to 2.4.10. The impacted element is the function prepareForCart of the file packages/Webkul/Product/src/Type/Simple.php of the component Shop Cart. Such manipulation leads to unrestricted upload. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. Upgrading to version 2.4.11 is sufficient to resolve this issue. It is advisable to upgrade the affected component.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

