p PatchFirst

CVE-2026-53638

CVE-2026-53638 · Sylius: Channel-based payment method restriction bypass on shop account orders API endpoint

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 4.3 · Moyenne · EPSS 0,3% · Correctif disponible

Publication
Mise à jour

Pile logicielle: php

Produits et versions concernés

  • sylius

    Versions du logiciel
    • >= 2.0.0, < 2.0.18: Concernée
    • >= 2.1.0, < 2.1.15: Concernée
    • >= 2.2.0, < 2.2.6: Concernée

    Aucun correctif publié

  • sylius/sylius Packagist

    Versions du logiciel
    • v2.0.0
    • v2.0.1
    • v2.0.10
    • v2.0.11
    • v2.0.12
    • v2.0.13
    • v2.0.14
    • v2.0.15
    • v2.0.16
    • v2.0.17
    • v2.0.2
    • v2.0.3
    • v2.0.4
    • v2.0.5
    • v2.0.6
    • v2.0.7
    • v2.0.8
    • v2.0.9
    Plages de versions concernées
    • ECOSYSTEM: ≥ 2.0.0, < 2.0.18

    Mettez à jour vers 2.0.18

  • sylius/sylius Packagist

    Versions du logiciel
    • v2.1.0
    • v2.1.1
    • v2.1.10
    • v2.1.11
    • v2.1.12
    • v2.1.13
    • v2.1.14
    • v2.1.2
    • v2.1.3
    • v2.1.4
    • v2.1.5
    • v2.1.6
    • v2.1.7
    • v2.1.8
    • v2.1.9
    Plages de versions concernées
    • ECOSYSTEM: ≥ 2.1.0, < 2.1.15

    Mettez à jour vers 2.1.15

  • sylius/sylius Packagist

    Versions du logiciel
    • v2.2.0
    • v2.2.1
    • v2.2.2
    • v2.2.3
    • v2.2.4
    • v2.2.5
    Plages de versions concernées
    • ECOSYSTEM: ≥ 2.2.0, < 2.2.6

    Mettez à jour vers 2.2.6

Sources originales

Vérifiez votre serveur →