Incorrect authorization in Sylius - CVE-2026-53638
Published: September 2, 2026
Vulnerability details
The vulnerability allows a remote user to bypass channel-based payment method restrictions on their own placed order.
The vulnerability exists due to improper access control in the shop account orders API endpoint when changing the payment method for an order in the STATE_NEW state. A remote user can send a crafted PATCH request selecting a globally enabled out-of-channel payment method to bypass channel-based payment method restrictions on their own placed order.
The issue affects the PATCH /api/v2/shop/account/orders/{tokenValue}/payments/{paymentId} endpoint for orders that have been placed but not yet paid.