Paper/Archive/CVE-2025-32013

CVE-2025-32013

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

Description · from the CVE record

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

ProductAffectedFixed inSource
lnbits<= 0.12.12–CNA

Scores by source

GitHub_M (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitgithub.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc