Skip to main content
← All vulnerabilities
CVE-2025-32013GHSA-QP8J-P87F-C8CCPYSEC-2025-16

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.12.12
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • lnbits lnbits

    through 0.12.12

  • lnbitsPyPI

    through 0.12.12

  • lnbitsPyPI

    fixed in 0.12.12

References 2

GitHub · lnbits/lnbits

GitHub · Mohith-T/CVE-2025-32013