Core Lightning could be crashed on every restart by a second channel with the same channel_id
A denial-of-service flaw in Core Lightning let a malicious peer crash a victim's node again and again, in one variant on every restart until the software was upgraded. Bitcoin Optech's newsletter 433 of 27 November summarises the responsible disclosure that Nishant Bansal posted to Delving Bitcoin. Affected versions run from 0.12.0, released in August 2022, to 26.06.7 from August 2026; the fix shipped in 26.06.8, and users are advised to upgrade immediately.
The bug comes from an assumption that turned out not to hold. In the Lightning protocol a v1 channel's channel_id is derived from its funding outpoint, as BOLT 2 specifies. A malicious peer could open a channel by supplying the funding outpoint of another channel, and the derived identifier would then be identical. Core Lightning runs a separate channeld subdaemon for each channel, and its connectd component routes incoming messages to the right subdaemon by channel_id. Because CLN treats that identifier as unique, a collision led the node to crash.
There were two ways to trigger it. The first, found with smite, a snapshot fuzzing framework for Lightning implementations, came on reconnection. When a peer reconnects, the main lightningd daemon starts the channeld subdaemons and hands them to connectd. The first lookup by channel_id works; the second hits an assertion that the connection is not already active, which aborts connectd and takes the node down. Because both channels were still in the database after a restart, the next reconnection attempt crashed the node again.

The second path, found by developer Eugene Siegel, involved closed channels. CLN keeps previously closed channels in memory in a hash table keyed by channel_id. An attacker who closed a channel with the same channel_id as one already closed triggered an assertion that no duplicates are added to the map. In that variant the node then crashed on every restart without any further action by the attacker, until it was upgraded. This path affected only versions 25.05 and later.
The disclosure says the bug gave an attacker no direct access to funds. Optech adds the qualification that matters for operators: a node that is crashed continuously can put its channel funds at risk. The fix was released earlier; Optech's newsletter 424 covered 26.06.8 at the time, and the details have only now been published.
The same newsletter carries other notes for node operators, including Core Lightning pull request 9718, which fixes a case where a failed gettxout call to an unreachable or still-starting Bitcoin Core could be read as an output being spent or absent. For anyone running CLN, though, the action is the version check: anything from 0.12.0 to 26.06.7 should be on 26.06.8 or later.