As a defense against replacement cycling, Eclair and LND scan their local mempool when forwarding payments, as of the October 2023 disclosure: if they see the attacker's unconfirmed preimage transaction before it is replaced, they extract the payment preimage and use it to claim the incoming payment.
Sources and checks
T1bitcoin-dev, Full Disclosure: CVE-2023-40231 / CVE-2023-40232 / CVE-2023-40233 / CVE-2023-40234 "All your mempool are belong to us" (16 October 2023)Mailing list, says this directly
The preimage can be extracted from the second-stage HTLC-preimage
Deployed LN mitigations, Local-mempool preimage monitoring, published 2023-10-16, read 2026-11-26
T1bitcoin-dev, Full Disclosure: CVE-2023-40231 / CVE-2023-40232 / CVE-2023-40233 / CVE-2023-40234 "All your mempool are belong to us" (16 October 2023)Mailing list, says this directly
Implemented and deployed by Eclair and LND.
Deployed LN mitigations, Local-mempool preimage monitoring, published 2023-10-16, read 2026-11-26
T2Bitcoin Optech Newsletter of 25 October 2023Bitcoin Optech, says this directly
Eclair and LND currently implement mempool scanning when used as forwarding nodes.
News, Replacement cycling vulnerability against HTLCs, deployed mitigations, published 2023-10-25, read 2026-11-26
Checked at block 977,608, 26 Nov 2026, 02:05 UTC: quotes 3/3
History
Nothing is edited silently; every revision keeps what it replaced.
- 26 Nov 2026, 02:05 UTCblock 977,608
Published Revision 1, run 2026-11-26-daily-lightning