CVE-2025-32013 Details
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.
A Server-Side Request Forgery (SSRF) vulnerability exists in LNbits versions prior to 0.12.12, specifically within the LNURL authentication handling. The issue arises because the application accepts user-provided callback URLs and makes HTTP requests to those URLs, following redirects without proper validation. This flaw allows attackers to specify internal network addresses, access internal resources, and potentially expose sensitive information or services that should not be accessible from the internet.
Users are advised to update to LNbits version 1.0.0 or later. Additionally, implement strict validation for callback URLs in LNURL authentication, ensuring they only point to allowed domains and networks. Disable redirect following in HTTP requests or apply strict validation for redirects. Consider using a proxy service to restrict access to internal networks when making external HTTP requests.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc | CISA-ADP | Exploit |
| https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc | [email protected] | Exploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| lnbits lnbits | < 0.12.12 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 8, 2025 | Initial Analysis | [email protected] |
| Apr 7, 2025 | CVE Modified | CISA-ADP |
| Apr 6, 2025 | New CVE Received | [email protected] |