Skip to main content

BTCPay Server EUVDEUVD-2026-117807

| CVE-2026-119757 CRITICAL
Files or Directories Accessible to External Parties (CWE-552)
2026-11-05 VulnCheck GHSA-87gv-mpgp-xpp2
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach BTCPay Server over network
  2. Exploit
    Request exposed LND .macaroon credential file
  3. Execution
    Authenticate to LND with stolen macaroon
  4. Impact
    Move funds out of Lightning node

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling File access restriction
MITRE ATT&CK

2 techniques across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The affected deployment must be a BTCPay Server instance at a version before 2.4.2 (including 2.4.2 release candidates) that is configured with an internal LND (Lightning Network Daemon) node - that LND integration is the specific feature that exposes the .macaroon credential file. Given AV:N/AC:L/AT:N/PR:N/UI:N, no authentication, no user interaction, and no non-default attack prerequisites are needed against such an instance that is network-reachable. The principal limiting factor is the requirement that the deployment runs an LND Lightning node managed by BTCPay; instances without an internal LND node are not in scope. Network reachability of the BTCPay web endpoint to the attacker is also required.

Impact

This is a genuine high-priority issue, not a high-CVSS-but-low-real-risk artifact. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, low-complexity, unauthenticated exploitation with no user interaction and no special attack requirements, and the vulnerable-system impact is maximal (VC:H/VI:H/VA:H) because the disclosed LND .macaroon grants full node control. The vuln.today decision label is act_now and a vendor patch exists, which together argue for immediate remediation. However, several exploitation signals are absent from the input: there is no EPSS probability provided, no CISA KEV listing, and no confirmed public exploit code - so active, widespread exploitation cannot be asserted. Per status rules, this is 'no public exploit identified at time of analysis'; the references are a vendor advisory, a VulnCheck advisory, and a news post, none flagged as working exploit code. The core tension: severity and exploitability metrics are at the top of the range and the finding is credentials-to-funds, yet real-world exploitation volume is unquantified here (no EPSS/KEV). The mitigating reality is that only BTCPay deployments running an internal LND Lightning node are affected, which narrows the exposed population. Net: treat as urgent for any BTCPay+LND operator, consistent with the act_now label, while recognizing exploitation prevalence is not confirmed by the supplied data.

Exploit ScenarioDerived

An unauthenticated attacker who can reach an affected BTCPay Server (before 2.4.2, including 2.4.2 release candidates) over the network requests the exposed LND .macaroon credential file directly, with no authentication or user interaction required (AV:N/PR:N/UI:N). Using the retrieved macaroon, the attacker authenticates to the Lightning Network Daemon and moves funds out, stealing from the deployment. No public exploit code is identified in the provided sources at the time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
1 public PoC Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

BTCPay Server before 2.4.2, including 2.4.2 release candidates, exposes LND .macaroon credential files to unauthenticated remote attackers when the instance runs an internal LND node, allowing full control of that node and theft of funds. The supplied CVSS 4.0 score is 9.3, and the independent CVSS 3.1 vector confirms high confidentiality, integrity, and availability impact; the decision signal is act_now and the issue is assessed as a genuine high-priority risk. Vendor guidance points to 2.4.2 as the fixed release, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: 2.4.2. Upgrade BTCPay Server to 2.4.2 or later, and do not treat a 2.4.2 release candidate as fixed; deploy the final 2.4.2 release or a later version per the vendor advisory at https://blog.btcpayserver.org/security-advisory-btcpay-server-2-4-2/. If immediate upgrade is not possible, restrict network reachability of the BTCPay Server web endpoint to trusted networks, accepting that this can break public payment flows, and consider removing or disabling the internal LND node integration, accepting loss of Lightning functionality. If an instance may have been exposed, treat its LND .macaroon as compromised, revoke or rotate the LND credentials, and review LND activity for unauthorized fund movement.

Affected VersionsENISA

BTCPay Server 0 <2.4.2

Affected Packages

euvd btcpay_server fix: 2.4.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

BTCPay Server is a self-hosted Bitcoin and Lightning payment processor. Its internal LND integration manages a Lightning Network Daemon node, and LND uses .macaroon files as bearer credentials that authorize RPC actions; possession of a sufficiently privileged macaroon is effectively possession of the node's API authority. CWE-552 (Files or Directories Accessible to External Parties) covers the class of exposure, and the supplied tags also label the issue as path traversal, but the available sources do not specify the exact request path, route, or code defect that serves the file. The CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with high confidentiality, integrity, and availability impact, and the independent CVSS 3.1 assessment is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The trigger is not described in the available sources beyond unauthenticated retrieval of .macaroon files from deployments running an internal LND node; instances without that integration are outside the assessed scope.

Know when Btcpay Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Unauthenticated network request with low complexity (AV:N/AC:L/PR:N/UI:N); disclosed macaroon grants full LND control, so funds can be read, moved and drained (C/I/A:H).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

BTCPay Server before 2.4.2, including 2.4.2 release candidates, contains an information disclosure vulnerability that allows unauthenticated remote attackers to retrieve .macaroon credential files for an LND (Lightning Network Daemon) node. Attackers can use the exposed macaroon to gain full control of the LND node, including moving funds, resulting in theft of funds from affected deployments.

Technical POC Analysis

CWE-552: Files or Directories Accessible to External Parties.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 public PoC link from nuclei

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

BTCPay Server versions prior to 2.4.2 expose critical LND node credentials, enabling unauthenticated attackers to seize full control of the node and steal funds. This directly threatens the financial integrity of cryptocurrency payment operations, requiring immediate leadership attention. With no public exploit identified, the risk is elevated given the critical severity and potential for significant financial loss.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Model

4 threats: Information Disclosure, Elevation of Privilege, Spoofing and 1 more

4-step attack chain with trust boundaries and controls

Full threat model - attack chain, trust boundaries, controls per stage and evidence - is part of the Pro and Business plans.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
Low
self-hosted Bitcoin/Lightning payment processor, niche merchant/crypto deployment footprint
Social Media
5
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

67
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2023-0493 HIGH POC
8.8 Jan 26

Improper Neutralization of Equivalent Special Elements in GitHub repository btcpayserver/btcpayserver prior to 1.7.5. Ra

CVE-2021-3646 MEDIUM POC
6.1 Sep 10

btcpayserver is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rate

CVE-2023-1149 MEDIUM POC
5.4 Mar 02

Improper Neutralization of Equivalent Special Elements in GitHub repository btcpayserver/btcpayserver prior to 1.8.0. Ra

CVE-2023-0879 MEDIUM POC
5.4 Feb 17

Cross-site Scripting (XSS) - Stored in GitHub repository btcpayserver/btcpayserver prior to 1.7.12. Rated medium severit

CVE-2021-3830 MEDIUM POC
5.4 Sep 26

btcpayserver is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Rate

CVE-2021-29249 HIGH
7.5 Mar 26

BTCPay Server before 1.0.6.0, when the payment button is used, has a privacy vulnerability. Rated high severity (CVSS 7.

CVE-2021-29246 MEDIUM
6.7 May 05

BTCPay Server through 1.0.7.0 suffers from directory traversal, which allows an attacker with admin privileges to achiev

CVE-2021-29251 MEDIUM
6.5 Apr 01

BTCPay Server before 1.0.7.1 mishandles the policy setting in which users can register (in Server Settings > Policies).

CVE-2021-29250 MEDIUM
5.4 May 05

BTCPay Server through 1.0.7.0 suffers from a Stored Cross Site Scripting (XSS) vulnerability within the POS Add Products

CVE-2021-29248 MEDIUM
5.3 May 05

BTCPay Server through 1.0.7.0 could allow a remote attacker to obtain sensitive information, caused by failure to set th

CVE-2021-29247 MEDIUM
5.3 May 05

BTCPay Server through 1.0.7.0 could allow a remote attacker to obtain sensitive information, caused by failure to set th

CVE-2021-29245 MEDIUM
5.3 May 05

BTCPay Server through 1.0.7.0 uses a weak method Next to produce pseudo-random values to generate a legacy API key. Rate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy