Incorrect Authorization Affecting sylius/sylius package, versions >=2.0.0, <2.0.18>=2.1.0, <2.1.15>=2.2.0, <2.2.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SYLIUSSYLIUS-17933268
  • published10 Jul 2026
  • disclosed9 Jul 2026
  • creditUnknown

Introduced: 9 Jul 2026

CVE-2026-53638  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade sylius/sylius to version 2.0.18, 2.1.15, 2.2.6 or higher.

Overview

sylius/sylius is a platform for PHP, based on Symfony framework.

Affected versions of this package are vulnerable to Incorrect Authorization in the PATCH /api/v2/shop/account/orders/{tokenValue}/payments/{paymentId} endpoint. An attacker can assign payment methods that are not enabled for the order's channel by sending crafted API requests as an authenticated user. This allows bypassing channel-based payment restrictions set by the store operator.

Workaround

This vulnerability can be mitigated by decorating the Sylius\Bundle\ApiBundle\Changer\PaymentMethodChangerInterface service in the application to enforce channel checks before changing payment methods.

CVSS Base Scores

version 4.0
version 3.1