Executive brief
Webkul Bagisto is an open-source e-commerce platform that powers online stores. A flaw in its admin user-management system allows a low-level administrator with limited permissions to grant themselves full administrator access. An attacker with such restricted access could escalate their privileges to gain complete control over the store, including access to payment credentials and customer data.
Technical details
The vulnerability is a privilege escalation flaw in the user-update endpoint (admin.settings.users.update, UserController::update()) of Webkul Bagisto. The vulnerable component fails to verify that an authenticated user has permission to assign roles, does not prevent users from modifying their own role, and does not enforce that only roles with a permission subset of the attacker's own can be assigned. An authenticated backend user holding only the settings.users.edit permission can submit a crafted request to set their own role_id to the Administrator role, thereby gaining all admin-panel capabilities including store configuration, payment gateway credentials, and access to customer PII. No authentication bypass is required; the attacker must already hold a backend account with minimal permissions.
Affected products
- Webkul Bagisto 2.4.9
Timeline
- 2026-09-15: disclosed: CVE-2026-79411 published