Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. sylius/sylius
  4. ›
  5. CVE-2026-53638

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

July 9, 2026

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.

References

  • github.com/Sylius/Sylius/security/advisories/GHSA-6955-hrm5-c4qp
  • github.com/advisories/GHSA-6955-hrm5-c4qp
  • nvd.nist.gov/vuln/detail/CVE-2026-53638

Code Behaviors & Features

Detect and mitigate CVE-2026-53638 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.0.18, all versions starting from 2.1.0 before 2.1.15, all versions starting from 2.2.0 before 2.2.6

Fixed versions

  • 2.0.18
  • 2.1.15
  • 2.2.6

Solution

Upgrade to versions 2.0.18, 2.1.15, 2.2.6 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

packagist/sylius/sylius/CVE-2026-53638.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 11 Aug 2026 00:16:45 +0000.