CVE-2025-32013
CRITICAL 9.3CVSS 4.0LNbits Lightning Network Payment System Vulnerable to Server-Side Request Forgery via LNURL Authentication Callback
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.
- Published
- 6 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-qp8j-p87f-c8ccPYSEC-2025-16
- Sources
- NVDJSONOSV GHSA-qp8j-p87f-c8ccJSONOSV PYSEC-2025-16JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lnbits | lnbitscpe:2.3:a:lnbits:lnbits:*:*:*:*:*:*:*:* |
< 0.12.12 | 0.12.12 |
| OSV | PyPI | lnbits | <= 0.12.12 | |
| OSV | PyPI | lnbits | < 0.12.12 | 0.12.12 |
References
- https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc · Exploit, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2025-32013 · ADVISORY
- https://github.com/lnbits/lnbits · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/lnbits/PYSEC-2025-16.yaml · WEB
- https://github.com/advisories/GHSA-qp8j-p87f-c8cc · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 6 Apr 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Apr 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Apr 2025)