Bitcoin’s Lightning Network just had its roughest two weeks in years, and almost nobody outside a small circle of node operators noticed. Between late September and October 12, 2026, two of the protocol’s most widely used software implementations, Lightning Dev Kit (LDK) and Core Lightning (CLN), each patched flaws that could have let a malicious peer manipulate channel state and walk away with funds that belonged to someone else.
No user has reported losing a satoshi to either bug. But the back-to-back disclosures land at an awkward moment. Lightning’s public capacity sits somewhere between roughly 2,530 and 4,900 BTC depending on which tracker you trust, worth anywhere from about $200 million to nearly $400 million at Bitcoin’s October 18 price of $80,771, according to Lightning.News and CryptoTicker. Two separate code audits finding fund-theft paths within days of each other is the kind of story that normally stays buried in developer mailing lists. This time it reached CryptoSlate, TokenPost, PANews, and the Bitcoin Optech newsletter within a week of the first patch shipping.
Don't miss new tech stories on Google
Add Shattered once in the Google app and our stories show up in your news suggestions.
What Lightning Dev Kit’s October Patch Actually Fixed
Lightning Dev Kit is not a consumer wallet. It is a Rust library that developers plug into wallets, payment apps, and node software to add Lightning functionality without building the protocol stack from scratch. It is associated with Spiral, the Bitcoin-focused arm inside Block, though individual products can fork or vendor the code in ways that make a clean affected-products list hard to pin down.
On October 1, 2026, the project shipped two security releases: v0.2.7 for its current 0.2 branch and v0.1.13 for the older 0.1 branch. Both closed a flaw tracked internally as pull request #5057, which the Bitcoin Optech Newsletter described in its October 9 issue. The GitHub release itself carries the tongue-in-cheek tag “LLMs vs Fuzzers,” a nod to how modern fuzz-testing tools, not a human bug bounty hunter, surfaced at least part of the issue. Nine days after the patch landed, outlets including CryptoSlate picked up the story, and reporting kept spreading through October 18.
LDK’s own release notes put it plainly. The project wrote that version “0.2.7 fixes a funds-theft vulnerability that can be exploited by a malicious channel counterparty,” according to the LDK v0.2.7 release notes on GitHub. The same notes spell out the mechanism directly: “If a counterparty acknowledges a channel state update then reconnects and pretends not to have received it, they can no longer cause us to sign a conflicting commitment transaction at the same index, avoiding a potential avenue for funds-theft (#5057).”
Inside the Attack: How a Reconnect Lie Could Steal a Forwarded Payment
The exploit path hinges on a sequence most node operators never think about: what happens when a channel partner disconnects mid-update and comes back online. A malicious peer would first acknowledge a channel update using the standard revoke_and_ack message, then disconnect, then reconnect and falsely claim through channel_reestablish that it never got the update in the first place.
Before the fix, vulnerable LDK software could accept that lie and sign a new commitment transaction at the same index, without recording the change in its ChannelMonitor, the component responsible for tracking what can be claimed on-chain. That mismatch mattered most when the victim node had forwarded a payment through that channel. If the victim later settled the outgoing leg of the payment, it could fail to claim the matching incoming HTLC, even while holding the cryptographic secret needed to do so. The malicious peer could then publish the conflicting commitment, wait for the payment’s timelock to expire, and reclaim value it was never entitled to. The forwarding node would have paid downstream without getting paid upstream.
The fix is narrow and specific. Retransmission requests are now honored only while the peer’s prior acknowledgment is genuinely outstanding. If a peer falsely denies receiving an update it already acknowledged, LDK force-closes the channel instead of trusting the claim. Version 0.2.7 also patched an unrelated denial-of-service bug tied to Electrum-based chain synchronization and a separate LSPS2 flaw that could have let liquidity-service channels forward more funds than they received.
A Second Implementation, A Different Flaw: Core Lightning’s Penalty Problem
Core Lightning, another widely deployed Lightning node implementation, had already patched its own channel-safety bug days before LDK’s fix shipped. Version 26.06.7, dated around September 27, 2026, addressed a flaw in how the software handled channel shutdowns. Under specific conditions, Core Lightning could mistake a transaction tied to a revoked commitment state for an ordinary cooperative close.
That distinction matters because Lightning’s entire security model rests on a penalty mechanism. If a channel partner tries to cheat by broadcasting an old, revoked state, the honest party is supposed to detect it and sweep the entire channel balance as a penalty. A bug that lets a revoked state slip past that check, even in a narrow set of circumstances, undermines the exact deterrent that keeps Lightning counterparties honest. Core Lightning followed up with v26.06.8, which fixed an additional channel-closing defect that could put funds at risk, according to reporting from TheCryptoDesk.
Active Targeting: Why Core Lightning Sounded a Public Alarm
Patching a bug quietly is one thing. Publicly warning that attackers are already hunting for it is another. On October 2, 2026, roughly a week after v26.06.7 shipped, the Core Lightning project told operators still running that version or earlier that they were being actively targeted. According to Bitcoin.com News, the team had not yet identified exactly which vulnerabilities attackers were exploiting or confirmed any successful compromise, but the timing alone sent a clear signal: scanners were already probing for unpatched nodes within days of the patch notes going public.
That alert forced a second round of upgrades. Version 26.06.9, published October 7, 2026, fixed a payment-delay regression that v26.06.8 had introduced on busy nodes, on top of resolving the earlier security issues. For operators, the lesson was blunt: a single patch cycle wasn’t enough, and the gap between disclosure and exploitation attempts can be measured in days, not weeks.
Timeline: How Two Separate Bugs Converged in Early October
Laid out side by side, the two incidents overlap just enough to look like a single story rather than two coincidences. Core Lightning patched first, Lightning Dev Kit followed four days later, and both ended up in the same news cycle by mid-October. The table below lines up the key dates as confirmed across Bitcoin Optech, Core Lightning’s own release notes, and the reporting that followed.
| Date (2026) | Implementation | Event |
|---|---|---|
| Sept. 27 | Core Lightning | v26.06.7 ships, fixing the revoked-state penalty bug |
| Oct. 1 | Lightning Dev Kit | v0.2.7 and v0.1.13 ship, fixing the reconnect funds-theft flaw (PR #5057) |
| Oct. 2 | Core Lightning | Project warns operators on v26.06.7 or earlier are being actively targeted |
| Oct. 3 | Lightning Dev Kit | v0.3-rc3 release activity follows the security patch |
| Oct. 7 | Core Lightning | v26.06.9 ships, fixing a payment-delay regression from v26.06.8 |
| Oct. 9 | Lightning Dev Kit | Bitcoin Optech Newsletter #426 details the reconnect flaw publicly |
| Oct. 11-18 | Both | CryptoSlate, TokenPost, PANews, and others report on both disclosures |
No Funds Lost, But the Stakes Were Real
Every piece of reporting on both bugs includes the same caveat: no confirmed losses have been tied to either flaw. That is a meaningfully different outcome from October’s other big crypto security story, the Ledger hardware-implant campaign tied to reseller CryptoBilis, where blockchain analytics firms traced tens of millions of dollars in actual thefts across hundreds of wallets. The Lightning bugs were caught, patched, and apparently never weaponized at scale before the fix shipped.
That does not make them trivial. Both flaws required a specific, narrow set of conditions to exploit, a malicious channel counterparty willing to lie during reconnection, or a shutdown sequence that happened to resemble a cooperative close. Neither was a drive-by exploit a random internet attacker could fire at any node. But that is also exactly the profile of bug that tends to go unnoticed for years. Lightning channels are often open for months or years at a stretch, and a flaw buried in an edge case of the reconnection handshake is the kind of thing fuzzing tools are built to find precisely because human reviewers tend to skip past it.
Lightning’s Current Size: $340 Million and Conflicting Numbers
Pinning down exactly how much money sits on Lightning right now turns out to be harder than it should be. Different trackers published wildly different figures in the same week. A community-run node census on Bitcointalk reported 14,898 public nodes with open channels and 4,238 BTC in total capacity as of October 12, up from 3,985 BTC on September 28. Separately, Live Bitcoin News cited roughly 4,900 BTC in channel capacity spread across more than 45,000 channels and over 15,000 nodes. Meanwhile, Lightning.News listed just 5,922 nodes, 19,644 channels, and 2,530.3 BTC in tracked value on October 18, alongside a BTC/USD print of $80,771.
Using the more conservative 4,238 BTC figure against that same Bitcoin price puts Lightning’s tracked capacity at roughly $342 million. The spread between trackers, anywhere from about $200 million to nearly $400 million depending on the source, says as much about Lightning’s measurement problem as it does about its growth. Public channel announcements only capture a fraction of real liquidity, since private channels and liquidity-service arrangements never show up in any of these counts. That opacity makes it genuinely difficult for anyone, including the developers patching these bugs, to say with confidence how much money these flaws could have touched before the fixes shipped.
Market Reaction: Why Bitcoin’s Price Barely Moved
Bitcoin traded around $80,771 on October 18, down a modest 0.95% on the day, according to Lightning.News data, a move well within normal daily volatility and not obviously connected to either disclosure. That is the expected pattern. Base-layer Bitcoin security and Lightning’s second-layer implementation bugs are different risk categories, and traders have historically treated protocol-level Lightning patches as developer news rather than market-moving events, especially when no funds are confirmed lost.
Compare that to how the market handled October’s other security headlines. The Bitget exchange hack, which SlowMist traced to a third-party security product exploited for roughly $388 million, triggered immediate exchange-specific scrutiny. The Ledger CryptoBilis implant campaign generated sustained coverage precisely because actual funds moved, with Bitquery and other analytics firms tracking tens of millions of dollars across hundreds of compromised wallets. Lightning’s two bugs, by contrast, read more like a stress test of the ecosystem’s patch discipline than a market event, which is probably the best possible outcome for a protocol that still only holds a few hundred million dollars in public capacity.
Competitive Comparison: LDK vs Core Lightning vs LND vs Eclair
Lightning’s ecosystem runs on four implementations that matter most in practice, and October’s events only directly touched two of them. LND and Eclair had no publicly disclosed vulnerability in this specific window, which is worth noting without reading too much into it. Absence of a disclosed bug is not proof of a cleaner codebase, just an absence of evidence from this particular news cycle.
| Implementation | Primary Role | October 2026 Status | Latest Security Fix |
|---|---|---|---|
| Lightning Dev Kit (LDK) | Library for building Lightning wallets and apps, associated with Spiral/Block | Patched a funds-theft reconnect flaw | v0.2.7 / v0.1.13, Oct. 1 |
| Core Lightning (CLN) | Standalone Lightning node software | Patched a revoked-state penalty flaw, then warned of active targeting | v26.06.9, Oct. 7 |
| LND | Standalone Lightning node software | No publicly disclosed vulnerability in this window | No Oct. 2026 security release identified in current reporting |
| Eclair | Standalone Lightning node software, associated with ACINQ | No publicly disclosed vulnerability in this window | No Oct. 2026 security release identified in current reporting |
The practical difference between LDK and the other three matters for how exposure spreads. LND, Core Lightning, and Eclair are each a single piece of software that a node operator runs directly. LDK is embedded inside other people’s products, which means a single library bug can ripple into wallets, payment processors, and liquidity services built on top of it, each on its own upgrade schedule and its own appetite for shipping a patch quickly.
Who Actually Runs on LDK
Tracing exactly which consumer-facing products were exposed is harder than it sounds, and current reporting does not supply a confirmed, product-by-product affected list. LDK is commonly cited in connection with Phoenix Wallet, built by ACINQ, Mutiny Wallet, and Block’s own Cash App Lightning feature, along with a range of other Spiral and Block Lightning tooling. None of that means every one of those products was actually vulnerable on October 1. A product using LDK is only exposed if it had not already incorporated a patched release or if it relied on the specific channel-reestablishment code path the bug affected.
That ambiguity is itself a finding. When a vulnerability lives inside a shared library rather than a single app, users have no reliable way to check their own exposure without either trusting their wallet provider’s upgrade cadence or asking the provider directly. Unlike a single-vendor breach notification, there is no central list of “affected customers” for a library-level Lightning bug, just a patched version number and an expectation that downstream developers move fast.
Historical Context: Lightning Has Been Here Before
Lightning’s short history is full of implementation-level scares that never turned into mass losses. Around 2020, multiple implementations dealt with problems tied to anchor-output commitment formats and fee-bumping assumptions, where justice transactions meant to punish a cheating peer could fail to confirm during a fee spike, undercutting the penalty mechanism in a different way than October’s Core Lightning bug. In 2022, a replay-related weakness in how some integrations handled BOLT 11 invoices raised separate concerns about duplicate-payment accounting.
What ties all of these incidents together, including October’s two bugs, is that none resulted in confirmed, widespread fund losses once disclosed. Lightning’s security model has repeatedly been tested at the implementation layer rather than the protocol specification layer. BOLT 2 and BOLT 3, the specification documents governing channel messaging and commitment transactions, were not found broken in either the LDK or Core Lightning case. Both bugs were implementation errors in how software handled edge cases the specification allows for, not flaws in the underlying cryptographic design. That distinction is small comfort to an individual node operator who got unlucky, but it matters for how seriously the broader Bitcoin development community treats BOLT itself versus any one codebase built on top of it.
What the LDK Maintainers Are Telling Developers
LDK’s maintainers were specific and unambiguous in their own release notes rather than leaving developers to infer the severity. As quoted above, the project stated plainly that “0.2.7 fixes a funds-theft vulnerability that can be exploited by a malicious channel counterparty,” according to the LDK v0.2.7 release notes on GitHub. That kind of direct severity language in an open-source changelog is relatively rare. Many projects soften fund-related bugs into generic “stability improvements” language, and LDK’s choice to call it a funds-theft vulnerability by name likely accelerated how fast downstream developers took notice.
The maintainers’ broader message to developers building on top of LDK was straightforward: anything running a version older than 0.2.7 or 0.1.13 should be treated as exposed, particularly for nodes that accept channels from untrusted counterparties or forward payments on behalf of other users. For a library embedded across dozens of downstream products, that guidance only works if every one of those products actually ships the update.
The Patch-Lag Problem: Why Disclosure Timing Matters
Core Lightning’s October 2 warning is the most concrete evidence yet that attackers monitor Lightning patch notes closely. Roughly a week passed between the v26.06.7 release and the active-targeting alert, a short enough window that operators who hadn’t already upgraded were running exposed software while scanners were actively probing for it. That is a familiar pattern from traditional software security, where exploit attempts against a patched vulnerability often spike within days of the patch becoming public, since the release notes themselves function as a roadmap for attackers reverse-engineering the fix.
For Lightning specifically, the patch-lag problem is compounded by the network’s decentralized, opt-in upgrade model. There is no central authority that can force a node operator to update, unlike a custodial exchange that can push a mandatory client update to every user overnight. Every delay between a public patch and an individual node’s upgrade is a window an attacker can try to exploit, and October’s events suggest that window is being watched in near real time.
Analysis: Is Lightning Outgrowing Its Security Model
Lightning was designed around the assumption that users watch their own channels and implementations get battle-tested over time. Both assumptions are strained by what happened in October. Few individual users manually audit channel-reestablishment logic, and the bugs that surfaced were edge cases buried deep enough that it took years of production use, plus modern fuzzing tools, to find them in two of the four major implementations within the same month.
That is not necessarily a sign the protocol is failing. It can just as easily read as a sign the protocol is maturing the normal way software matures, through adversarial testing tools finding issues before adversarial humans do. Lightning has never suffered a disclosed exploit on the scale of a major exchange hack, and October’s bugs stayed in that pattern: caught, patched, no confirmed losses. The real question is whether the gap between disclosure and widespread patch adoption across dozens of LDK-based products closes fast enough to stay ahead of attackers who, per Core Lightning’s own admission, are already watching for exactly this kind of opening.
What Comes Next: Five Predictions
- Expect more fuzzing-driven disclosures across all four major implementations over the next six to twelve months, as teams apply the same tooling that caught LDK’s bug to their own codebases.
- Expect scrutiny on how fast LDK-dependent wallets and payment apps actually ship the 0.2.7/0.1.13 fix, since the library model means the headline patch date and the real-world exposure date can diverge by weeks per product.
- Expect Core Lightning’s active-targeting warning to push other implementations toward publishing similar real-time alerts rather than staying silent about exploitation attempts, even when no losses are confirmed.
- Expect continued disagreement between Lightning network trackers on basic figures like total capacity and node count, since the spread seen this month between roughly 2,530 and 4,900 BTC is unlikely to resolve without a shared measurement standard.
- Expect no regulatory response tied to either bug, given the absence of confirmed losses, in contrast to the scrutiny already building around October’s exchange-level incidents like the Bitget and Ledger CryptoBilis cases.
Frequently Asked Questions
What is Lightning Dev Kit (LDK)?
LDK is an open-source library that developers use to add Bitcoin Lightning Network functionality to wallets, payment apps, and node software. It is not a standalone wallet and is associated with Spiral, the Bitcoin-focused unit inside Block.
Was any Bitcoin actually stolen from the LDK bug?
No. Every report on the flaw, including the original Bitcoin Optech newsletter summary, states that no confirmed losses have been tied to the vulnerability patched in LDK v0.2.7 and v0.1.13.
How is the Core Lightning bug different from the LDK bug?
The LDK flaw involved a malicious peer lying during channel reconnection to trick the software into signing a conflicting commitment transaction. The Core Lightning flaw involved the software mistaking a transaction tied to a revoked channel state for an ordinary cooperative close, which could let that revoked state escape the usual penalty mechanism.
Do I need to do anything if I use a Lightning wallet?
Most users on a hosted wallet don’t need to take direct action, since the wallet provider is responsible for shipping updates. Anyone running their own Lightning node on LDK or Core Lightning should confirm they are on v0.2.7/v0.1.13 or later, and v26.06.9 or later, respectively.
Which wallets and apps use LDK?
LDK is commonly cited in connection with Phoenix Wallet, Mutiny Wallet, and Block’s Cash App Lightning feature, among other products. Current reporting does not provide a confirmed list of which specific products were vulnerable before the patch.
Was a CVE number assigned to either bug?
No CVE identifier appears in current reporting for either the LDK reconnect flaw or the Core Lightning penalty flaw. Both were tracked through each project’s own release notes and GitHub issue tracker rather than a formal CVE process.
How does this compare to past Lightning Network vulnerabilities?
Lightning has dealt with implementation-level issues before, including concerns around anchor-output fee-bumping in 2020 and a BOLT 11 invoice replay issue in 2022. As with October’s bugs, none of those historical issues resulted in confirmed, widespread fund losses once patched.
Does this affect Bitcoin’s base blockchain security?
No. Both bugs were implementation flaws in Lightning software built on top of Bitcoin, not defects in Bitcoin’s base-layer protocol or the BOLT 2/3 specifications that govern Lightning channel behavior.
