CVE-2020-26896 in Lightning Network Daemon Project Lightning Network Daemon
Prior to 0.11.0-beta, LND (Lightning Network Daemon) had a vulnerability in its invoice database. While claiming on-chain a received HTLC output, it didn't verify that the corresponding outgoing off-chain HTLC was already settled before releasing the preimage. In the case of a hash-and-amount collision with an invoi...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Lightning Network Daemon Project | Lightning Network Daemon | 0.11.0 < 0.11.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Prior to 0.11.0-beta, LND (Lightning Network Daemon) had a vulnerability in its invoice database. While claiming on-chain a received HTLC output, it didn't verify that the corresponding outgoing off-chain HTLC was already settled before releasing the preimage. In the case of a hash-and-amount collision with an invoice, the preimage for an expected payment was instead released. A malicious peer could have deliberately intercepted an HTLC intended for the victim node, probed the preimage through a colluding relayed HTLC, and stolen the intercepted HTLC. The impact is a loss of funds in certain situations, and a weakening of the victim's receiver privacy.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-26896 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-177857-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N |
| Published | 2020-10-21 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-354: CWE-354
Related attack patterns (CAPEC)
CAPEC-145 Checksum Spoofing via CWE-354
CAPEC-463 Padding Oracle Crypto Attack via CWE-354
CAPEC-75 Manipulating Writeable Configuration Files via CWE-354
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2020-26896 affects LND versions prior to 0.11.0-beta, where a vulnerability in the invoice database could lead to the premature release of a preimage due to hash-and-amount collisions, potentially allowing a malicious peer to claim funds.
A malicious peer could exploit this vulnerability by creating a hash-and-amount collision with an existing invoice. When the node attempts to claim on-chain funds for a received HTLC output, it may incorrectly release the preimage for the colliding invoice, enabling the attacker to claim the funds.
Questions
What is CVE-2020-26896?
CVE-2020-26896 affects LND versions prior to 0.11.0-beta, where a vulnerability in the invoice database could lead to the premature release of a preimage due to hash-and-amount collisions, potentially allowing a malicious peer to claim funds.
What is the CVSS score for CVE-2020-26896?
CVE-2020-26896 has CVSS 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N. EPSS: 0.7%.
Is CVE-2020-26896 actively exploited?
No confirmed active exploitation of CVE-2020-26896 as of 2026-05-30.
How do I remediate CVE-2020-26896?
Priority: HIGH.
What systems are affected by CVE-2020-26896?
CVE-2020-26896 affects Lightning Network Daemon Project Lightning Network Daemon.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Lightning Network Daemon Project","product":"Lightning Network Daemon","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.