Vulnerability · Published Apr 6, 2025 · Assigned by GitHub_M

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

Critical 9.3

In plain English

A critical-severity server-side request forgery in lnbits from lnbits. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)9.3Critical
Exploit odds (30 days)0.7%top 48.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlnbitsno fix listedGHSA-qp8j-p87f-c8cc
PyPIlnbits0.12.12PYSEC-2025-16

Affected products (as reported)

VendorProductVersions
lnbits lnbits <= 0.12.12

Weakness: CWE-918 · 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

References