Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-32013
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:34 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 6 Apr 2025, 20:07 UTC

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.

osv:CVE-2025-32013
Complete source record
{
  "id": "4bbce5571a8c79c5256430d7d6a31dce077d1843be832494f454a2739ea03613",
  "url": "https://osv.dev/vulnerability/CVE-2025-32013",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Server-Side Request Forgery via LNURL Authentication Callback in LNbits Lightning Network Payment System",
    "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.",
    "evidence": "osv:CVE-2025-32013",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-32013",
      "aliases": [
        "CVE-2025-32013",
        "GHSA-qp8j-p87f-c8cc",
        "PYSEC-2025-16"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/lnbits/lnbits",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "51c9d294cdb40c777b1048bbee267b49cdaf7a34"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.12.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:lnbits:lnbits:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.12.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.12.12-rc1",
            "v0.12.11",
            "0.12.11-rc1",
            "0.12.10",
            "0.12.9",
            "0.12.9-rc1",
            "0.12.8",
            "0.12.7",
            "0.12.6-rc4",
            "0.12.6",
            "0.12.6-rc3",
            "0.12.6-rc2",
            "0.12.6-rc1",
            "0.12.5",
            "0.12.4",
            "0.12.3",
            "0.12.2",
            "0.12.1",
            "0.11.3",
            "0.11.2",
            "0.11.1",
            "0.10.10",
            "0.10.9",
            "0.10.8",
            "0.10.7",
            "0.10.6",
            "0.10.5",
            "0.10.4.1",
            "0.10.4",
            "0.10.3",
            "0.10.2",
            "0.10.1",
            "0.10",
            "0.9.7",
            "0.9.6.1",
            "0.9.6",
            "0.9.5.3",
            "0.9.5.2",
            "0.9.5.1",
            "0.9.5",
            "0.9.4",
            "0.9.3",
            "0.9.2.1",
            "0.9.2",
            "0.9.1",
            "0.9.0",
            "0.8.0",
            "0.7.0",
            "0.6.0",
            "0.5.0",
            "0.4.0",
            "raspiblitz",
            "0.3.0",
            "0.2.0",
            "0.1.1",
            "raspiblitz-prev-prev",
            "0.1.0",
            "0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32013.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.277636713Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32013.json",
        "https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-32013"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32013.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-32013",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508033,
  "published_at": "2025-04-06T20:07:05.624+00:00"
}