CVE-2026-142305: EverShop through 2.4.0 Negative Cart Quantity Payment Bypass via Cart Items API
EverShop through 2.4.0 contains a business logic vulnerability that allows unauthenticated attackers to set negative cart item quantities via the PATCH /api/cart/:cartid/items/:itemid endpoint. Attackers can submit a negative integer qty to offset other item prices until the total reaches zero, then use the zerocheckout payment method to place paid orders without payment.
Affected Software
Event History
Frequently Asked Questions
Which deployments are practically exposed to this issue?
EverShop installations through 2.4.0 are exposed when the cart item update API is reachable and the zero_checkout payment method can be used. The described attack is remote and does not require authentication or user interaction.
What does an attacker need to do to bypass payment?
An attacker must send a negative integer qty value to the PATCH /api/cart/:cart_id/items/:item_id endpoint. Negative quantities can offset the prices of other cart items until the cart total reaches zero, allowing checkout through zero_checkout.
What should be prioritized if an update cannot be applied immediately?
Prevent negative quantity values from being accepted by the cart item update endpoint and restrict or disable the zero_checkout payment method where possible. Review orders placed with a zero total for potentially unpaid paid items.