BTCPay Server released an emergency update that fixes five security flaws in Nginx, the component that routes incoming web traffic to its payment application. The developers are urging operators of the self-hosted Bitcoin payment software to install the patch as soon as possible.
What happened
The vulnerabilities affect Nginx, the web server that forwards incoming requests to the BTCPay payment application. The update installs Nginx version 1.31.9, BTCPay Server said.
CERT-EU, the European Union's cybersecurity response team, issued an advisory on Wednesday: the five flaws could allow attackers to run malicious code remotely on vulnerable servers without logging in.
Researchers have demonstrated how to exploit one of the vulnerabilities. CERT-EU said, however, that no attacks involving any of the five flaws had been reported as of Wednesday.
How to install the update
BTCPay listed several update paths depending on how you run your server:
- Through the maintenance settings of your BTCPay instance
- Through your Docker installation, if you manage the server directly
- On node platforms, once the platform makes the update available
- If you cannot update immediately, BTCPay published a temporary workaround
BTCPay Server is self-hosted software, so each operator has to apply the patch on their own instance. Until then, the server stays exposed to the five flaws unless you have applied the workaround.
Two earlier incidents
The emergency update follows two earlier security incidents tied to a separate vulnerability that attackers exploited to steal crypto.
- August: attackers exploited a flaw to obtain Lightning Network node credentials and steal funds
- November: BTCPay reported Bitcoin and Litecoin hot-wallet thefts on instances running outdated software
- The November attackers used a different method to exploit the same August flaw
The five Nginx flaws fixed now are separate from the August issue. In the November incident, the affected instances were running outdated software, which is why the developers are pressing operators to update immediately.



