{"id":"CVE-2026-134021","aliases":["CVE-2026-134021","GHSA-whc7-2g23-hfwj"],"related":[],"kind":"vulnerability","state":"published","title":"TastyIgniter: Mollie payment confirmation does not verify payment-to-order binding or amount, allowing order status forgery","summary":"TastyIgniter is an open-source online ordering, table reservation, and restaurant management system. Prior to 4.3.1, the Mollie payment notification handler in src/Payments/Mollie.php, processNotifyUrl(), uses a payment ID supplied with the notification to retrieve a paid transaction but does not verify that the transaction's order reference matches the order identified by the notification URL or that the transaction amount matches the order total. An ordinary customer can use a paid Mollie transaction from one order to cause a different, higher-value order to be marked paid without paying its full price. The endpoint is intentionally unauthenticated so Mollie's servers can reach it, and the request's order hash alone does not bind the fetched payment to that order. This issue is fixed in version 4.3.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"TastyIgniter is an open-source online ordering, table reservation, and restaurant management system. Prior to 4.3.1, the Mollie payment notification handler in src/Payments/Mollie.php, processNotifyUrl(), uses a payment ID supplied with the notification to retrieve a paid transaction but does not verify that the transaction's order reference matches the order identified by the notification URL or that the transaction amount matches the order total. An ordinary customer can use a paid Mollie transaction from one order to cause a different, higher-value order to be marked paid without paying its full price. The endpoint is intentionally unauthenticated so Mollie's servers can reach it, and the request's order hash alone does not bind the fetched payment to that order. This issue is fixed in version 4.3.1.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe Mollie payment gateway's server-to-server payment confirmation endpoint marks an order as paid based solely on whether a Mollie payment ID is \"paid,\" without verifying that the payment actually belongs to that order or that its amount matches the order total. This allows a customer to mark an order as fully paid without paying its actual price.\n\n### Details\n`processNotifyUrl()` in `src/Payments/Mollie.php` (around lines 158-194) looks up the order by a URL hash and, independently, fetches a Mollie payment object using a client-supplied `id` request parameter:\n\n    $order = $this->createOrderModel()->whereHash($hash)->first();\n    $payment = $this->createClient()->payments->get(request()->input('id', ''));\n    if ($payment->isPaid()) {\n        $order->updateOrderStatus($paymentMethod->order_status, ...);\n        $order->markAsPaymentProcessed();\n    }\n\nNo check is performed that `$payment`'s own order metadata references `$order`, and no check that `$payment->amount` matches `$order->order_total`. The notify route is intentionally unauthenticated (required for Mollie's servers to reach it) and CSRF-exempt (`VerifyCsrfToken::except(['ti_payregister/*'])` in `src/Extension.php`).\n\nBy contrast, in the same codebase, both `Stripe::verifyPaymentIntentForOrder()` (`src/Payments/Stripe.php`) and `PaypalExpress::processReturnUrl()` (`src/Payments/PaypalExpress.php`) correctly check both the order reference and the amount before marking an order paid.\n\n### PoC\n1. As an ordinary customer, place Order A (a minimal-cost item) and pay it via Mollie — obtain the resulting Mollie payment `id` (visible from the checkout redirect / notify traffic for that order).\n2. Place Order B (a higher-value order) via the normal storefront checkout and select Mollie, but do not complete payment.\n3. Send a request to Order B's notify URL, supplying Order A's already-paid Mollie payment `id` as the `id` parameter instead of a genuine payment for Order B.\n4. `processNotifyUrl()` fetches Order A's payment from Mollie (a real, valid, paid transaction, so `isPaid()` returns true) and marks Order B as paid, even though Order B's actual price was never charged.\n\nNo per-payment-ID consumption tracking was found that would prevent the same paid payment ID from being reused across multiple orders' notify URLs.\n\n### Impact\nAny customer who can place two orders through the normal storefront can get an order marked \"paid\" without paying its actual amount — direct, repeatable revenue loss for the merchant. No special privileges or hash-guessing are required.","format":"markdown","source":"ghsa"}],"published":"2026-11-23T22:44:21.117Z","modified":"2026-11-30T21:00:04.456Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"version":"< 4.3.1","status":"affected"}],"vendor":"tastyigniter","product":"TastyIgniter","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.3.1"}],"ecosystem":"Packagist","package":"tastyigniter/ti-ext-payregister","purl":"pkg:composer/tastyigniter/ti-ext-payregister","source":"ghsa"}],"references":[{"url":"https://github.com/tastyigniter/TastyIgniter/security/advisories/GHSA-whc7-2g23-hfwj","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tastyigniter/ti-ext-payregister/pull/66","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tastyigniter/ti-ext-payregister/commit/14fa38d24fdeebbcc25876e902d7c631a2e1f4cf","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tastyigniter/ti-ext-payregister/releases/tag/v4.3.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/rconfig/rconfig/security/advisories/GHSA-p5q7-2wwp-q42f","tags":["exploit","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134021","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tastyigniter/TastyIgniter","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-11-24T13:55:22.007Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134021","url":"https://www.cve.org/CVERecord?id=CVE-2026-134021","licence":"CVE Terms of Use","modified":"2026-11-24T13:55:50.539Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-whc7-2g23-hfwj","url":"https://github.com/advisories/GHSA-whc7-2g23-hfwj","licence":"CC-BY-4.0","modified":"2026-11-30T21:00:04.456Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134021","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134021","licence":"Public domain","modified":"2026-11-24T14:18:03.420Z"}],"updatedAt":"2026-11-30T21:27:24.798Z","epss":{"score":0.0038,"percentile":0.34166,"date":"2026-12-01T12:00:22.000Z"}}