Keyboard shortcuts

Tuesday, December 1, 2026
Crypto // Security

Core Lightning Needed Two Patches to Close Bug That Could Crash Bitcoin Payment Nodes

A July fix for a channel-identifier flaw left a second, persistent attack route open until a broader update in September, according to a 13 November disclosure.

peatpost Desk
Aggregated
Nov 17, 20266 min read
Core Lightning Needed Two Patches to Close Bug That Could Crash Bitcoin Payment Nodes
SourceCryptoSlate· Nov 17, 2026

Developers of Core Lightning, one of the main software implementations of Bitcoin's Lightning Network, had to ship two separate security updates to fully close a vulnerability that could repeatedly crash payment nodes, according to a disclosure published on 13 November.

The first fix, released in July, stopped one form of the attack but left a second route open, one that could keep a node offline even after it was restarted. A broader patch followed in September.

What the flaw allowed

The vulnerability, tracked as LNF-2026-0004, was first identified by security researcher Nishant Bansal, CryptoSlate reported. It centred on how Core Lightning assigns identifiers to payment channels, the two-party arrangements through which Lightning users route payments without settling every transaction on the Bitcoin blockchain.

When a Lightning channel is opened, it is given an identifier derived from the Bitcoin transaction output that funds it. In principle, each funding output should map to a single channel. Core Lightning, however, could accept more than one channel pointing to the same funding output, producing identical identifiers.

Those duplicates clashed with assumptions built into the software's internal logic, which expected each identifier to be unique. When the software encountered the conflicting records, it crashed.

According to CryptoSlate, the flaw could not only knock nodes offline but potentially expose funds held in other channels on an affected node. The outlet did not report any confirmed exploitation, losses or a count of affected nodes.

Rack-mounted server blades with hard drives, the kind of hardware that can host Lightning Network payment nodes.
Rack-mounted server blades with hard drives, the kind of hardware that can host Lightning Network payment nodes.

Two attack routes, two patches

The disclosure describes two distinct ways the weakness could be used.

In the first, a malicious peer could create duplicate pending channels and then crash the victim's node simply by reconnecting to it. Because the fraudulent channels did not need to be funded on-chain, the attack cost nothing in Bitcoin transaction fees. Each fresh reconnection could trigger another crash, giving an attacker a cheap way to interrupt payment processing over and over.

The second route was more damaging. By reusing an identifier tied to a channel that had already been closed, and then closing another channel carrying the same identifier, an attacker could cause a failure that survived restarts. This version did require on-chain fees, but it could leave a node stuck in a crash loop with no way to recover short of a software upgrade.

Core Lightning's developers addressed the reconnection attack in version 26.06.6, released on 22 July, after researchers privately reported it earlier that month. That update stopped new channels from reusing funding outputs already associated with a peer's live channels, and changed connection handling so that duplicate records already stored on a node would no longer trigger the original crash.

The July fix did not, however, extend to identifiers belonging to closed channels. That gap left the persistent restart-loop path available.

A second researcher, Crypt-iQ, independently found the remaining weakness. Developers responded with version 26.06.8, released on 22 September, which applied duplicate-identifier checks across both active and closed channels and across all peers rather than within a single peer's channels. The update also allowed nodes that already held duplicate records to load and close them without crashing repeatedly.

Why a crash matters on Lightning

For many software products, a crash is an inconvenience. On the Lightning Network it can carry financial consequences, which helps explain why the disclosure framed the bug as potentially costly.

Lightning nodes generally need to stay online to function properly. They forward payments for other users, earn routing fees in the process and, crucially, monitor the blockchain to protect the funds locked in their channels. The design of the network relies on participants being able to respond in time if a counterparty tries to settle a channel using an outdated state. A node that is offline, or caught in a loop of restarts, is less able to do that.

This is the broader context for CryptoSlate's point that the flaw could put funds in other channels at risk. An attacker able to keep a node down could, in principle, create a window in which that node cannot defend its other positions.

The cheapness of the first attack also matters. Denial-of-service attacks that cost nothing to launch can be repeated indefinitely, which turns a nuisance into a reliability problem for any operator running a routing business or a payment service on top of Core Lightning.

Code open in a debugger on a laptop screen, illustrating the kind of software work behind patching node bugs.
Code open in a debugger on a laptop screen, illustrating the kind of software work behind patching node bugs.

A lesson in incomplete fixes

The episode illustrates a familiar pattern in security work: a patch that closes the reported path without fully addressing the underlying cause.

The root problem was that the software allowed duplicate identifiers to exist at all. The July update tackled the symptom that had been reported, duplicates among a single peer's live channels, and the specific reconnection trigger. It did not cover closed channels or collisions across different peers, which is where the second researcher found a way through.

The September release took the more comprehensive approach of rejecting any identifier already in use by a live or closed channel, regardless of which peer it belonged to. It also dealt with the clean-up problem of nodes that might already hold conflicting records from before the fix.

The sequence also shows the value of independent review. The persistent path was found by a different researcher from the one who reported the original issue, after the first patch had already shipped. Open-source projects such as Core Lightning depend heavily on outside researchers probing their code, and on coordinated, private disclosure that gives developers time to release fixes before details become public. In this case, both patches were available well before the 13 November disclosure.

Limits of what is known

Several questions remain open based on the available reporting. The disclosure, as described by CryptoSlate, does not indicate whether either attack was used against real nodes, whether any funds were lost, or how many nodes were running vulnerable versions at the time.

It is also worth noting that the issue affected Core Lightning specifically. The Lightning Network is served by several independent software implementations, and the reporting does not suggest the same flaw existed in the others. Operators running different software would not be directly exposed to this bug, although the case may prompt other teams to review how their own code handles identifier collisions.

The two attack routes also differ in their practical threat. The free reconnection attack was cheap but temporary, since a node could recover once the attacker stopped. The closed-channel attack required spending on-chain fees but could disable a node until its operator upgraded. An attacker weighing the two would face a trade-off between cost and persistence.

What operators should watch

The guidance for Core Lightning operators is straightforward: run the latest release. Nodes on version 26.06.6 are protected against the free reconnection crash but not against the persistent closed-channel loop, so upgrading only to the July release is not sufficient.

Points for operators and observers to keep in view include:

  • Whether nodes are running version 26.06.8 or later, which covers both attack paths
  • Whether any further disclosures emerge from other Lightning implementations reviewing similar logic
  • Any follow-up information on exploitation or losses, none of which has been reported so far

More broadly, the case is a reminder that Lightning's security depends not only on Bitcoin's base layer but on the correctness of the node software built on top of it. As more payments and routing activity move onto the network, flaws that would once have been minor operational bugs can carry real financial weight, and the speed with which operators apply patches becomes part of the network's defence.

Written by
peatpost Desk
Aggregated · @peatpost
Share

Discussion

0 comments
0/2000

No comments yet — be the first to weigh in.

More from peatpost