9.3
CRITICAL CVSS 4.0
CVE-2025-32013
Server-Side Request Forgery via LNURL Authentication Callback in LNbits Lightning Network Payment System
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.

INFO

Published Date :

April 6, 2025, 8:15 p.m.

Last Modified :

April 8, 2025, 6:54 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-32013 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Lnbits lnbits
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 CRITICAL [email protected]
Solution
Remediate LNbits SSRF by validating callback URLs and disabling redirect following.
  • Validate all callback URLs strictly.
  • Disable redirect following in HTTP requests.
  • Update LNbits to a patched version.
Public PoC/Exploit Available at Github

CVE-2025-32013 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-32013.

URL Resource
https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc Exploit
https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc Exploit
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-32013 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-32013 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

⚡ Phát triển từ DoAn_AnToanMangNangCao, tích hợp thêm honeypot để thu thập thêm kỹ thuật tấn công và thay Suricata cho Snort

Python

Updated: 3 days, 22 hours ago
1 stars 0 fork 0 watcher
Born at : Aug. 29, 2025, 6:41 a.m. This repo has been linked 4 different CVEs too.

None

Updated: 3 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 27, 2025, 10:01 p.m. This repo has been linked 1 different CVEs too.

Security Advisory and PoC for CVE-2025-32013

Updated: 4 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : April 8, 2025, 9:59 p.m. This repo has been linked 1 different CVEs too.

None

HTML Python Shell

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 891 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 10 hours ago
7244 stars 1201 fork 1201 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 808 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-32013 vulnerability anywhere in the article.

  • Daily CyberSecurity
Critical SSRF Vulnerability Patched in LNbits Lightning Wallet Server

LNbits, the modular and extendable Lightning Network wallet server, has patched a critical Server-Side Request Forgery (SSRF) vulnerability that exposed internal services to potential exploitation via ... Read more

Published Date: Apr 10, 2025 (4 months, 3 weeks ago)

The following table lists the changes that have been made to the CVE-2025-32013 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 08, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Added CPE Configuration OR *cpe:2.3:a:lnbits:lnbits:*:*:*:*:*:*:*:* versions up to (excluding) 0.12.12
    Added Reference Type CISA-ADP: https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc Types: Exploit
    Added Reference Type GitHub, Inc.: https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc Types: Exploit
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Apr. 07, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc
  • New CVE Received by [email protected]

    Apr. 06, 2025

    Action Type Old Value New Value
    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.
    Added CVSS V4.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
    Added CWE CWE-918
    Added Reference https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.3
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact