All vulnerabilities

Servers and applications

CVE-2026-53638

Channel-based payment method restriction bypass on shop account orders API endpoint

Severity
Medium 4.3
Published
2 Jun 2026
Last changed
10 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.2.6
Exploit chance
0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Also known as
GHSA-6955-hrm5-c4qp
Sources
Project advisories (GitHub)

Description

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.

src/Decorator/ChannelCheckingPaymentMethodChanger.php:

config/services.yaml (append to your existing services: block):

From Sylius/Sylius's security advisory. Shortened; the full text is there.

Workarounds

If you cannot bump Sylius right now, decorate the Sylius\Bundle\ApiBundle\Changer\PaymentMethodChangerInterface service in your application.

Workarounds as given by Sylius/Sylius's security advisory.

Affected software

SoftwareAffected versions
SyliusServers and applications · github:sylius/sylius
  • From 2.2.0 before 2.2.6

About Sylius

Headless open-source eCommerce platform on top of PHP/Symfony/API Platform

From its GitHub repository.
Online stores using it
10 000+Sylius
Monthly downloads (Packagist)
173,262Packagist, 15 Nov 2026
Total downloads (Packagist)
6,561,739Packagist, 15 Nov 2026
GitHub stars
8,571GitHub, 15 Nov 2026
Forks
2,167GitHub, 15 Nov 2026
Latest release
v2.3.2GitHub, 15 Nov 2026
Released
22 Oct 2026GitHub
License
MITGitHub
First published on GitHub
5 Nov 2011GitHub

Release lines

ReleaseLatestSecurity fixes
2.32.3.2Until 31 Dec 2027
2.22.2.12Until 31 Mar 2027
2.12.1.17Ended 30 Sept 2026
2.02.0.18Ended 28 Feb 2026
1.14 (LTS)LTS1.14.21Until 31 Dec 2026
1.131.13.17Ended 30 Apr 2025

From endoflife.date.

References