USA DAILY

Home›Bitcoin›LDK patches Lightning reconnect flaw that could let peers…

LDK patches Lightning reconnect flaw that could let peers steal Bitcoin

By USA Daily Desk · · 2 min read

Bitcoin $51,300▼ −14.51% 24has of Dec 3, 2026, 8:00 AM ET

Lightning Development Kit releases v0.2.7 and v0.1.13 fix a reconnect flaw that let a malicious peer steal forwarded Bitcoin payments from apps.

Key points

  • LDK v0.2.7 and v0.1.13, dated Oct. 1, fix a reconnect flaw that could let a peer steal forwarded Bitcoin
  • Patched LDK force-closes a channel if a peer claims to have missed an update it already acknowledged
  • v0.2.7 also fixes an LSPS2 flaw that let a payer misstate the amount and make the LSP cover the gap
  • Apps embedding LDK must ship updated code; no losses were reported in sources

The Lightning Development Kit (LDK) has shipped security releases v0.2.7 and v0.1.13 that close a flaw letting a malicious channel peer steal the value of a forwarded Bitcoin payment, according to CryptoSlate. Both releases are dated October 1, 2026. Because LDK is a library compiled into wallets and payment apps, software built on older versions stays exposed until its developers ship the updated code.

How the reconnect attack works

The v0.2.7 release notes describe a counterparty that acknowledges a state update, reconnects, and then claims it never received it. Before the fix, that claim could make LDK sign a conflicting commitment at the same index.

CryptoSlate says the peer could then confirm that conflicting transaction on-chain, settle the payment with the next recipient, and reclaim the incoming payment contract when it expired. The forwarding app would have paid downstream without recovering the funds it received.

The release notes credit Project Loupe and Nishant Bansal with reporting the problem independently. The fix is tracked as LDK pull request 5057.

What the patches change

According to the Bitcoin Optech newsletter of October 9, LDK now permits retransmission of a commitment only while the peer’s acknowledgment is still outstanding. If a peer claims to have missed an update it already acknowledged, LDK force-closes the channel.

Both the 0.2 and 0.1 branches received the reconnect fix. Bitcoin Optech also lists a denial-of-service fix for Electrum-based synchronization in both releases, and says v0.1.13 includes a fix for a channel manager deserialization failure triggered by invalid payment contracts, which had already been addressed in version 0.2.6.

A second fix for liquidity providers

Version 0.2.7 also fixes a separate problem in LSPS2, the just-in-time channel flow used by liquidity service providers. The release notes say an intercepted payment could misstate its amount, causing the service to open a channel and forward more than the incoming payment supplied.

Bitcoin Optech says the provider had trusted the forwarding amount in the payer’s onion payload, so a malicious payer could make it cover the difference from its own funds. LDK now fails the payment back if the requested outgoing amount exceeds the incoming amount. This change is tracked as pull request 5042. CryptoSlate reports the v0.1.13 notes do not list the LSPS2 fix. It also says payment contracts queued by an earlier version keep their unvalidated amounts, so LSPS2 operators must account for pending payments after upgrading.

What developers should do

Teams that build on LDK need to update to v0.2.7 or v0.1.13, depending on their branch, and release new versions of their own software. The v0.2.7 notes also list several unrelated bug fixes, including a race that could delay payment-sent events and a stale-state case in which a payment could be failed backward while the counterparty could still claim it on-chain.

The releases follow v0.2.6, which CryptoSlate reported closed a splice-fee diversion bug and a saved-state loading failure. None of the sources reviewed reports funds actually lost to the reconnect flaw.

Sources

More Bitcoin news →Bitcoin price & news →