BTCPay Server issues emergency update to fix five Nginx security flaws

Editorial illustration: A metal server with a broad silver front plate outlined in green light, orange-lit cracks along its left edge, and three connected translucent panels above.

In brief

  • BTCPay Server shipped an emergency update fixing five Nginx security flaws.
  • CERT-EU said the flaws could allow remote code execution without logging in.
  • CERT-EU said no attacks involving the flaws had been reported as of Wednesday.
  • BTCPay's developers said the update installs Nginx version 1.31.9.
  • August and November thefts involved a separate vulnerability, not these Nginx flaws.

What CERT-EU flagged

The warning came from CERT-EU, the European Union's cybersecurity response team. According to its Wednesday advisory, an attacker wouldn't need to log in to run malicious code on a vulnerable server. For software that sits in front of a payment app, that's about as serious as it gets. Researchers have also shown how to exploit one of the five flaws.

So far, nobody has reported an attack.

CERT-EU said no attacks involving any of the five flaws had been reported as of Wednesday.

How operators can patch

BTCPay Server's developers said the update installs Nginx version 1.31.9. Operators can apply it through the maintenance settings or through their Docker installation, according to the project. If you're running BTCPay on a node platform, the process is different: those operators were told to update once their platform makes the release available. The project also pointed operators who can't update right away to a temporary workaround.

A separate, earlier vulnerability

This isn't BTCPay Server's first security incident. According to Cointelegraph, the emergency update follows two earlier incidents involving a separate vulnerability that attackers exploited to steal crypto. In August, attackers used that flaw to get credentials for Lightning Network nodes and steal funds, Cointelegraph reported. In November, BTCPay reported Bitcoin and Litecoin hot-wallet thefts on outdated software and said attackers had used a different method to exploit the same August flaw.

Those cases involved a different bug from the Nginx flaws, and they shouldn't be read as connected. For self-hosted operators, BTCPay's advice is simple: install the update as soon as possible (or use the workaround until they can).

Frequently asked questions

What did CERT-EU say about the BTCPay Server Nginx flaws?

CERT-EU is the European Union's cybersecurity response team. In a Wednesday advisory, it said the five flaws could allow attackers to remotely run malicious code on vulnerable servers without logging in. It also said no attacks involving any of the five flaws had been reported as of Wednesday.

How do BTCPay Server operators install the emergency fix?

BTCPay said operators can install the fix through the maintenance settings or their Docker installation. The update installs Nginx version 1.31.9. Operators on node platforms were told to update once their platform makes it available, and operators who can't update right away were pointed to a temporary workaround.