CVE-2026-77470

Lychee: Webshop checkout lets the client override the payment `amount` sent to the gateway via malicious crafted POST request

Published Oct 15, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Lychee’s checkout endpoint accepts an additional_data array in a POST request that is merged after the server calculates purchase parameters. Because later keys overwrite earlier ones, an unauthenticated attacker can overwrite server‑computed values such as amount, currency, returnUrl, cancelUrl, or transactionId. This allows the attacker to set a lower payment amount or otherwise tamper with the transaction before it is sent to the Omnipay gateway, resulting in the vendor receiving a payment for an amount that was not agreed upon and delivering goods or services for underpayment.

Affected Systems

The vulnerability affects the Lychee photo‑management application from LycheeOrg. Versions released before 7.7.1 are impacted when the webshop feature is enabled and a purchasable item is available through an Omnipay gateway. The issue is fixed in Lychee v7.7.1 and later releases.

Risk and Exploitability

The CVSS score is 8.3, indicating a high severity of an unauthorized data modification flaw. The EPSS probability is below 1 %, and the vulnerability is not listed in CISA KEV. The attack is remote and requires only HTTP access to the Lychee instance, no authentication, and a crafted POST payload. When the webshop is enabled with a supported Omnipay gateway, financial damage can occur with minimal effort, though the low exploitation probability means the risk is moderate.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Lychee to version 7.7.1 or later to apply the vendor patch.
  • If the webshop is not required, disable the feature to eliminate the attack surface.
  • Reject or sanitize client‑supplied values for amount, currency, returnUrl, cancelUrl, and transactionId before sending parameters to the payment gateway—enforce server‑side validation of all transaction parameters.

Generated by OpenCVE AI on October 16, 2026 at 20:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Lycheeorg
Lycheeorg lychee
Vendors & Products Lycheeorg
Lycheeorg lychee
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Lychee: Webshop checkout lets the client override the payment `amount` sent to the gateway via malicious crafted POST request
Weaknesses CWE-20
CWE-472
CWE-915
References
Metrics cvssV4_0

{'score': 8.3, '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'}

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 15, 2026, 6:30 PM
Reserved
Aug 20, 2026, 8:07 PM
Status
Deferred
Published
Oct 15, 2026, 5:17 PM
Modified
Oct 15, 2026, 9:08 PM