CVE-2025-32013 Server-Side Request Forgery via LNURL Authentication Callback in LNbits Lightning Network Payment System
CriticalCVSS 9.3
EPSS 0.66%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lnbits | < 0.12.12; = <= 0.12.12 | 0.12.12 | Fixed |
| pypi lnbits(PyPI) | < 0.12.12; <= 0.12.12; = 0.10.3.dev1; = 0.12.6 +7 more | 0.12.12 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi lnbits(PyPI) | <= 0.12.12 | No fix listed |
| pypi lnbits(PyPI) | = 0.10.3.dev1 | No fix listed |
| pypi lnbits(PyPI) | = 0.12.10 | No fix listed |
| pypi lnbits(PyPI) | = 0.12.11 | No fix listed |
| pypi lnbits(PyPI) | = 0.12.12 | No fix listed |
| pypi lnbits(PyPI) | = 0.12.12rc1 | No fix listed |
| pypi lnbits(PyPI) | = 0.12.6 | No fix listed |
| pypi lnbits(PyPI) | = 0.12.7 | No fix listed |
| pypi lnbits(PyPI) | = 0.12.8 | No fix listed |
| pypi lnbits(PyPI) | = 0.12.9 | No fix listed |
| pypi lnbits(PyPI) | < 0.12.12 | 0.12.12 |
| lnbits | = <= 0.12.12 | No fix listed |
| lnbits | < 0.12.12 | 0.12.12 |
References
- https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- github.com vendor-advisory