Vulnerability · Published Jun 14, 2024 · Assigned by GitHub_M

CVE-2024-34694LNbits improperly handles potential network and payment failures when using Eclair backend

High 8.1

In plain English

A high-severity security flaw in lnbits from lnbits. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.6%top 51.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

LNbits is a Lightning wallet and accounts system. Paying invoices in Eclair that do not get settled within the internal timeout (about 30s) lead to a payment being considered failed, even though it may still be in flight. This vulnerability can lead to a total loss of funds for the node backend. This vulnerability is fixed in 0.12.6.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlnbits0.12.6GHSA-3j4h-h3fp-vwww
PyPIlnbits0.12.6PYSEC-2026-1580

Affected products (as reported)

VendorProductVersions
lnbits lnbits < 0.12.6

Weakness: CWE-754 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

References