VDB
KO
HIGH 7.5

PYSEC-2025-16

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / lnbits
Introduced in: 0 Fixed in: 0.12.12
Fix pip install --upgrade 'lnbits>=0.12.12'

References