Summary
CVE-2026-77470 is an improper input validation vulnerability (payment parameter tampering) in the Lychee webshop, an open-source photo-management tool. The checkout process accepts an unrestricted additional_data array that overrides server-computed payment parameters, so an unauthenticated buyer can underpay while still receiving goods. It is rated High (CVSS 8.3) and is fixed in Lychee 7.7.1.
Technical details
- Root cause: The checkout flow (
POST /api/v2/Shop/Checkout/Process) accepts an unrestrictedadditional_dataarray.CheckoutService::preparePurchaseParameters()merges it after the server-computed purchase parameters, so later keys overwrite earlier ones. - Weaknesses: CWE-20 (Improper Input Validation), CWE-472 (External Control of Assumed-Immutable Web Parameter), CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes).
- Trigger conditions: The webshop is enabled, a purchasable item exists, and the deployment uses a non-PayPal Omnipay gateway.
- Attack vector: Network. No privileges or user interaction are required.
- Impact: An attacker can replace the amount, currency, transaction ID, or return/cancel URLs before the parameters reach the payment gateway. The gateway can then accept a successful payment for an attacker-chosen amount, and the attacker receives the goods while underpaying the merchant.
Affected software
- Lychee versions prior to 7.7.1
Severity
- CVSS v4.0 base score: 8.3 (High)
- 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
Mitigation and recommended actions
- Immediate: upgrade Lychee to version 7.7.1 or later.
- If you cannot upgrade immediately: no workaround is listed in the sources reviewed. Consider disabling the webshop until the patch is applied, and review recent orders for payment amounts that differ from the item price.

