Lightning Labs reveals bug allowing canceled invoices to appear paid

By: cryptoslate.com|09/25/2026 00:40:46

A flaw in older Lightning Terminal software could incorrectly mark a Bitcoin Lightning invoice as paid after the payment was canceled and returned to the sender, Lightning Labs disclosed on Sept. 21, 2026. Merchants relying on this status could release goods or credit without receiving funds, although no actual merchant losses were reported. The issue arose from a mismatch between the software's invoice record and the payment outcome, where a canceled HTLC was still recorded as settled. Lightning Terminal bundles tapd software with the lnd Lightning node, and in the affected setup, tapd treated HTLCs with custom wire records as asset payments. Some sender implementations added experimental endorsement records to ordinary BTC payments, leading to the cancellation of the HTLC set without requiring open asset channels. Additionally, a defect in lnd caused invoices to be marked as settled even after the HTLC was canceled. Lightning Labs rated the vulnerability as high severity due to the risk of releasing value against incomplete payments, although sender funds were not at risk. Fixes for both defects were included in Lightning Terminal v0.15.0-alpha, with earlier versions affected. The tapd trigger was fixed in v0.5.1 on Feb. 12, 2025, and lnd v0.19.0-beta addressed the accounting error on May 22, 2025. The advisory highlighted a vulnerability that had been resolved in 2025.

-- Price

--
--
--

This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.

You may also like

iconiconiconiconiconiconicon
Customer Support:@weikecs
Business Cooperation:@weikecs
Quant Trading & MM:bd@weex.com
VIP Program:support@weex.com