News › Security
Security
BTCPay Server ships an emergency update for 5 Nginx flaws that could allow remote code execution
Operators of self-hosted BTCPay should update now. CERT-EU says no attacks involving the five flaws had been reported as of Wednesday.


BTCPay Server, the open-source software merchants use to accept Bitcoin payments on their own servers, issued an emergency update on 19 November to fix five security flaws, Cointelegraph reports. The flaws are in Nginx, the component that routes incoming web traffic to BTCPay's payment application. The update installs Nginx version 1.31.9.
According to a Wednesday advisory from CERT-EU, the European Union's cybersecurity response team, the flaws could let an attacker run malicious code remotely on a vulnerable server without logging in. Researchers have demonstrated an exploit for one of the five. CERT-EU said that as of Wednesday no attacks involving any of them had been reported.
Operators can install the fix through BTCPay's maintenance settings or through their Docker installation. People running BTCPay on node platforms should update when the platform makes the release available. The project also pointed those who cannot update immediately to a temporary workaround.
The update follows earlier incidents. Cointelegraph notes that in August attackers exploited a different flaw to obtain credentials for Lightning nodes and steal funds, and that in November BTCPay reported hot-wallet thefts on outdated software. BTCPay's own blog lists a 2 November post on a security incident affecting version 2.4.1 and earlier. We have not seen a BTCPay post on this Nginx update, so details here rest on Cointelegraph's report.
Facts only, never financial advice.