{"id":"CVE-2024-34694","published":"2024-06-14T14:31:12Z","modified":"2024-08-02T02:59:21Z","title":"LNbits improperly handles potential network and payment failures when using Eclair backend","vendor":"lnbits","product":"lnbits","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00602,"percentile":0.49741,"provenance":"source"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/lnbits/lnbits/security/advisories/GHSA-3j4h-h3fp-vwww","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":9.95},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"lnbits","affectedVersions":[{"vendor":"lnbits","product":"lnbits","versions":["< 0.12.6"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-15T20:13:48.624804Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lnbits","vulnerableRanges":["<0.12.6"],"patched":["0.12.6"],"from":["GHSA-3j4h-h3fp-vwww","PYSEC-2026-1580"],"provenance":"source"}],"summary":{"text":"LNbits, a Lightning wallet and accounts system, mishandles payments sent through its Eclair backend: invoices not settled within the internal timeout of about 30 seconds are treated as failed even though they may still be in flight. An attacker with network access and low-privileged authenticated access, and no user interaction, can exploit this timing behaviour to cause a total loss of funds for the node backend.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:06Z"},"euvd":{"id":"EUVD-2024-1900","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-34694","published":"2024-06-14","fixed":"0.12.6","kev":false},{"cve":"CVE-2025-32013","published":"2025-04-06","fixed":"0.12.12","kev":false,"link":{"from":"CVE-2024-34694","to":"CVE-2025-32013","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:lnbits","fromFixed":"0.12.6","toFixed":"0.12.12","daysApart":296}]}}],"package":"PyPI:lnbits"}}