Summary
CVE-2026-77466 is an improper input validation flaw (CWE-20, CWE-184) in the Lychee webshop, the open-source photo-management application from LycheeOrg. A buyer can bypass real payment processing by submitting the Omnipay Dummy test gateway as the payment provider. It is rated High (CVSS 8.3).
Technical details
- Root cause: Lychee hides the Omnipay Dummy test gateway from checkout options in production. However, the checkout session request (
CreateSessionRequest) only validates that the submitted provider is a validOmnipayProviderType. It does not enforceOmnipayProviderType::isAllowed(). - Trigger conditions: The attacker submits the Dummy provider directly in the checkout request. The webshop must be in use, with an enabled purchasable item. Guests can do this too if
webshop_allow_guest_checkoutis enabled. - Attack vector: Network. No authentication or user interaction is required.
- Impact: The attacker completes the test gateway flow without paying. If
webshop_auto_fulfill_enabledis on,OrderCompletedListener::fullfillOrder()can then release the purchased item. This is a high integrity impact and a low confidentiality impact.
Affected software
- Lychee (LycheeOrg) versions prior to 7.7.0
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. The published record uses CVSS v4.0, not v3.1.
Mitigation and recommended actions
- Immediate: Upgrade Lychee to version 7.7.0 or later.
- If you cannot patch immediately: No workaround is documented in the sources reviewed. Consider disabling the webshop, or auto-fulfillment and guest checkout, until you upgrade. This is general hardening and not a vendor-documented fix.

