Nov 14 - Nov 15, 2026
Versions affected ranged from v0.12.0 to v26.06.7, where the flaw allowed attackers to exploit duplicate funding outpoints during channel creation. The root of the issue lay in the system’s handling of the funding_created message: if an outpoint already committed to one channel was reused to initiate another, both channels would be assigned the same version 1 channel_id. This overlap could lead to critical assertion failures within Core Lightning’s components, specifically triggering a crash in the connectd service upon reconnection attempts when both channels remained live.
The persistence and severity of the bug were further underscored by attack vectors involving closed channels. If the first channel had already been closed, closing the second would cause an assertion failure in lightningd, resulting in a continuous crash loop on node restart. Notably, attackers could repeatedly trigger these crashes at minimal cost, incurring only standard on-chain transaction fees for channel closures. An additional variant, uncovered independently by Crypt-iQ, also exploited this weak point in the protocol.
Mitigation arrived with the release of Core Lightning v26.06.8, which addressed the vulnerability. Users operating earlier versions are urged to upgrade promptly to shield their nodes from these exploits. Comprehensive technical details, including mitigation strategies, are available in the lnfuzz advisory.
Analysis of the discovery and remediation process revealed several nuances. One overlooked variant of the closed-channel bug enabled attackers to circumvent the crash-loop entirely by sending an error on the first channel, causing it to be added to the closed channel map. Repeating the process allowed the same assertion failure without incurring additional costs. At the time, automated security testing tools such as smite lacked the capability to send error messages, preventing the detection of this specific vector; support for this feature is being actively developed (see pull request).
Further scrutiny showed that similar assertion failures could be induced not only by reusing outpoints but also by supplying different outpoints that resulted in the same channel_id, revealing inadequacies in the initial fix. Rather than solely checking for live outpoint matches, robust validation should involve comprehensive checks on channel_id uniqueness. Instances of this collision were detected in other implementations by smite, though most appear to have implemented appropriate safeguards. The simplicity of exploiting duplicate outpoints or channel_id collisions highlights the importance of thorough defensive coding practices across Lightning Network implementations.
TLDR
We’ll email you summaries of the latest discussions from high signal bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project.
Give Feedback