# CVE-2026-77470: Lychee: Webshop checkout lets the client override the payment `amount` sent to the gateway via malicious crafted POST request

- Severity: High 8.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T16:36:09.597Z
- Modified: 2026-10-15T21:08:49.703Z
- Weaknesses: CWE-20, CWE-472, CWE-915
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- LycheeOrg Lychee: < 7.7.1

## References

- <https://github.com/LycheeOrg/Lychee/security/advisories/GHSA-476v-jr53-8rxc> (exploit)
- <https://github.com/LycheeOrg/Lychee/pull/4514>
- <https://github.com/LycheeOrg/Lychee/commit/24e6e11f1da131ed20b192d7d7b7ca9084451a2f>
- <https://github.com/LycheeOrg/Lychee/releases/tag/v7.7.1>

## Sources

- CVE List: [CVE-2026-77470](https://www.cve.org/CVERecord?id=CVE-2026-77470), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-77470](https://nvd.nist.gov/vuln/detail/CVE-2026-77470), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-77470 · Whole record: https://cve.day/CVE-2026-77470.json · Rebuilt by cve.day 2026-11-25T22:59:44.910Z
