CVE-2026-53638
published medium CVSS 3.1 · 4.3Sylius: Channel-based payment method restriction bypass on shop account orders API endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Sylius | — | Sylius>= 2.0.0, < 2.0.18 · >= 2.1.0, < 2.1.15 · >= 2.2.0, < 2.2.6 | Affected | Not stated | GitHub_M |
Description
Sylius is an Open Source eCommerce Framework on Symfony. Starting in version 2.0.0 and prior to version 2.0.18, 2.1.15, and 2.2.6, an authorization bypass vulnerability exists in the shop account API. The `PATCH /api/v2/shop/account/orders/{tokenValue}/payments/{paymentId}` endpoint, used by an authenticated shop customer to change the payment method of an order that has been placed but not yet paid (state `STATE_NEW`), does not validate that the chosen payment method is enabled for the order's channel. The equivalent checkout endpoint (`PATCH /api/v2/shop/orders/{tokenValue}/payments/{paymentId}`) correctly rejects out-of-channel payment methods with `HTTP 422`; the account endpoint silently accepts them and returns `HTTP 200`. An authenticated customer can therefore assign any globally enabled payment method to their own placed order, including methods that the store operator has explicitly excluded from that channel. The issue is fixed in versions: 2.0.18, 2.1.15, 2.2.6 and above. As a workaround, decorate the `Sylius\Bundle\ApiBundle\Changer\PaymentMethodChangerInterface` service in the application.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Sylius | Sylius | >= 2.0.0, < 2.0.18 (affected)>= 2.1.0, < 2.1.15 (affected)>= 2.2.0, < 2.2.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
1Provider assertions
2GitHub_M · cna
Sylius: Channel-based payment method restriction bypass on shop account orders API endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0a6d55bd165ecd864c186bb5f92e392098fd03e4a1154825ba2e7dec7846971a
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record