Advisory

PYSEC-2025-16

Also known as: CVE-2025-32013, GHSA-qp8j-p87f-c8cc

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2025-04-06 20:15 UTC
Modified
2026-06-10 17:14 UTC

Affected packages and fixes

lnbits

PyPI · All systems

Affected

  • introduced 0, fixed 0.12.12 (ecosystem)

Fixed versions

0.12.12

Fix

  • Fixed version 0.12.12
    pip install --upgrade lnbits==0.12.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences