PyPI: lnbits

CVE-2024-34694

Safety vulnerability ID: SFTY-20240614-21383

Safety legacy ID: pyup.io-71892

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.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

LNbits improperly handles potential network and payment failures when using Eclair backend

Advisory

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.

Affected Package

Affecting lnbits package, versions<0.12.6

Also affects

---

How to Fix

Upgradelnbitsto0.12.6or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more