PYSEC-2025-16

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/lnbits/PYSEC-2025-16.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2025-16
Aliases
Related
Published
2025-04-06T20:15:15Z
Modified
2025-04-09T17:59:27.257339Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

PyPI / lnbits

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.12

Affected versions

0.*

0.10.3.dev1
0.12.6
0.12.7
0.12.8
0.12.9
0.12.10
0.12.11
0.12.12rc1