CVE-2025-32013

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

Published Apr 6, 2025 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-10023 LNbits Lightning Network Payment System Vulnerable to Server-Side Request Forgery via LNURL Authentication Callback
Github GHSA Github GHSA GHSA-qp8j-p87f-c8cc LNbits Lightning Network Payment System Vulnerable to Server-Side Request Forgery via LNURL Authentication Callback
History
Type Values Removed Values Added
First Time appeared Lnbits
Lnbits lnbits
CPEs cpe:2.3:a:lnbits:lnbits:*:*:*:*:*:*:*:*
Vendors & Products Lnbits
Lnbits lnbits
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Server-Side Request Forgery via LNURL Authentication Callback in LNbits Lightning Network Payment System
Weaknesses CWE-918
References
Metrics cvssV4_0

{'score': 9.3, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 7, 2025, 2:08 PM
Reserved
Apr 1, 2025, 9:57 PM
Status
Analyzed
Published
Apr 6, 2025, 8:15 PM
Modified
Jun 17, 2026, 9:11 AM