{"id":"CVE-2025-32013","published":"2025-04-06T20:07:05Z","modified":"2025-04-07T14:08:48Z","title":"Server-Side Request Forgery via LNURL Authentication Callback in LNbits Lightning Network Payment System","vendor":"lnbits","product":"lnbits","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0066,"percentile":0.52533,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/lnbits/lnbits/security/advisories/GHSA-qp8j-p87f-c8cc","tags":["x_refsource_CONFIRM"]}],"priority":{"score":22.0,"factors":[{"name":"EPSS percentile","points":10.51},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.51}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-04-08","earliestUrl":"https://github.com/Mohith-T/CVE-2025-32013","repos":[{"name":"Mohith-T/CVE-2025-32013","url":"https://github.com/Mohith-T/CVE-2025-32013","stars":0,"created":"2025-04-08"}]},"first":{"date":"2025-04-08","source":"PoC-in-GitHub","url":"https://github.com/Mohith-T/CVE-2025-32013"},"provenance":"source"},"vendorSlug":"lnbits","affectedVersions":[{"vendor":"lnbits","product":"lnbits","versions":["<= 0.12.12"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-07T14:08:34.525626Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"lnbits","vulnerableRanges":["<=0.12.12","<0.12.12"],"patched":["0.12.12"],"from":["GHSA-qp8j-p87f-c8cc","PYSEC-2025-16"],"provenance":"source"}],"summary":{"text":"A Server-Side Request Forgery flaw in LNbits, a Lightning wallet and accounts system, lies in its LNURL authentication handling, where the callback URL parameter is used to make HTTP requests without proper validation. An attacker with network access and no authentication or user interaction can supply internal network addresses as the callback URL, causing the server to reach internal resources on their behalf, with redirect following also enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:36Z"},"euvd":{"id":"EUVD-2025-10023","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-34694","published":"2024-06-14","fixed":"0.12.6","kev":false,"link":{"from":"CVE-2024-34694","to":"CVE-2025-32013","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:lnbits","fromFixed":"0.12.6","toFixed":"0.12.12","daysApart":296}]}},{"cve":"CVE-2025-32013","published":"2025-04-06","fixed":"0.12.12","kev":false}],"package":"PyPI:lnbits"}}