Vulnerability · Published Oct 15, 2026 · Assigned by GitHub_M
CVE-2026-77470Lychee: Webshop checkout lets the client override the payment `amount` sent to the gateway via malicious crafted POST request
High 8.3
In plain English
A high-severity improper input validation in Lychee from LycheeOrg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 39% of all known vulnerabilities).
Official description
Lychee is a free, open-source photo-management tool. Prior to 7.7.1, the Supporter or Pro webshop POST /api/v2/Shop/Checkout/Process flow accepts an unrestricted additional_data array and CheckoutService::preparePurchaseParameters() merges it after server-computed purchase parameters. Because later string keys overwrite earlier keys, an unauthenticated buyer can replace amount, currency, returnUrl, cancelUrl, or transactionId before CheckoutService::processPayment() passes the parameters to a non-PayPal Omnipay gateway. An attacker can therefore make a gateway accept a successful payment for an attacker-selected amount and obtain auto-fulfilled goods while underpaying the merchant. The issue requires an enabled webshop, a purchasable item, and an affected Omnipay gateway. This issue is fixed in version 7.7.1.
Affected products (as reported)
Weakness: CWE-20, CWE-472, CWE-915 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-476v-jr53-8rxc x_refsource_CONFIRM
- https://github.com/LycheeOrg/Lychee/pull/4514 x_refsource_MISC
- https://github.com/LycheeOrg/Lychee/commit/24e6e11f1da131ed20b192d7d7b7ca9084451a2f x_refsource_MISC
- https://github.com/LycheeOrg/Lychee/releases/tag/v7.7.1 x_refsource_MISC