All vulnerabilities

Servers and applications

CVE-2026-100869

Shop API accepts arbitrary PaymentRequest actions, allowing a customer-triggered refund

Severity
Medium 6.5
Published
2 Sept 2026
Last changed
26 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.1.16, 2.2.9
Exploit chance
0.3% in the next 30 daysHigher than 18% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper input validation (CWE-20)Improper authorization (CWE-285)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Also known as
GHSA-2rv4-pjmm-7fxf
Sources
Project advisories (GitHub)

Description

The Shop API endpoint POST /api/v2/shop/orders/{tokenValue}/payment-requests accepted any action value the caller supplied, stored it verbatim on the created PaymentRequest, and announced it on the payment request command bus. The only authorization performed was order ownership nothing constrained which action a shop-context caller may request.

Payment gateways resolve that action through an action-indexed command provider, which is the documented way to implement operations such as refunds. Where a gateway wires refund (or cancel, or payout) into that provider, a customer could POST {"action": "refund"} against their own paid order and have the refund executed at the payment service provider. Sylius meanwhile kept the local Payment in state completed and the order in state paid, because nothing in the shop flow reconciles a customer-initiated refund back into the payment state machine.

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

Workarounds

If you cannot update Sylius immediately, reject disallowed actions on that endpoint with a single kernel event listener. It runs before the controller, so no PaymentRequest is created and no command is announced, and it does not affect administrator-initiated refunds because the route is the shop endpoint only.

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

Affected software

SoftwareAffected versions
SyliusServers and applications · github:sylius/sylius
  • From 2.0.0 up to 2.0.18
  • From 2.1.0 before 2.1.16
  • From 2.2.0 before 2.2.9

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