What’s Vulnerable › Vulnerabilities
CVE-2025-32013: Server-Side Request Forgery via LNURL Authentication Callback in LNbits Lightning Network Payment System
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-04-06 · updated 2026-06-17
- Weakness: CWE-918
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
- lnbits: before 0.12.12 — fixed in 0.12.12
How to fix
Upgrade to a fixed version: lnbits 0.12.12. Check the vendor advisory for mitigations.
References
- https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc
- https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc
Get alerted when CVE-2025-32013 or the next vulnerability affects your stack