Skip to content
OpenAdvisories
Critical · 9.3 Public exploit CVE-2025-32013 EUVD-2025-10023GHSA-qp8j-p87f-c8ccPYSEC-2025-16

Server-Side Request Forgery via LNURL Authentication Callback in LNbits Lightning Network Payment System

Published Apr 6, 2025 · Updated Apr 7, 2025 · Assigned by GitHub_M

Description

LNbits is a Lightning wallet and accounts system. A Server-Side Request Forgery (SSRF) vulnerability has been discovered in LNbits' LNURL authentication handling functionality. When processing LNURL authentication requests, the application accepts a callback URL parameter and makes an HTTP request to that URL using the httpx library with redirect following enabled. The application doesn't properly validate the callback URL, allowing attackers to specify internal network addresses and access internal resources.

Affected products

VendorProductAffectedFixed
lnbits lnbits <= 0.12.12 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lnbits <= 0.12.12 — GHSA-qp8j-p87f-c8cc
PyPI lnbits < 0.12.12 0.12.12 PYSEC-2025-16

References