# CVE-2025-32013: Server-Side Request Forgery via LNURL Authentication Callback in LNbits Lightning Network Payment System

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-06T20:07:05.624Z
- Modified: 2026-06-17T09:11:19.230Z
- Also known as: GHSA-qp8j-p87f-c8cc, PYSEC-2025-16
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- lnbits lnbits: <= 0.12.12; before 0.12.12
- lnbits (PyPI): up to 0.12.12; before 0.12.12

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc> (exploit, evidence, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32013> (advisory)
- <https://github.com/lnbits/lnbits> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/lnbits/PYSEC-2025-16.yaml> (web)
- <https://github.com/advisories/GHSA-qp8j-p87f-c8cc> (advisory)

## Sources

- CVE List: [CVE-2025-32013](https://www.cve.org/CVERecord?id=CVE-2025-32013), CVE Terms of Use, modified 2025-04-07
- GitHub Advisory Database: [GHSA-qp8j-p87f-c8cc](https://github.com/advisories/GHSA-qp8j-p87f-c8cc), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2025-32013](https://nvd.nist.gov/vuln/detail/CVE-2025-32013), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2025-16](https://osv.dev/vulnerability/PYSEC-2025-16), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2025-32013 · Whole record: https://cve.day/CVE-2025-32013.json · Rebuilt by cve.day 2026-11-25T22:58:56.109Z
