Blog

Nginx vulnerabilities (CVE-2026-123007, CVE-2026-118899, CVE-2026-123633)

ServerPilot has updated Nginx on all servers running Ubuntu 16.04 and later for three Nginx vulnerabilities, including the critical HTTP/2 vulnerability known as nginx2root (CVE-2026-123007). These vulnerabilities can be exploited remotely by an attacker who does not need to log in to the server.

The Nginx project fixed the vulnerabilities in Nginx 1.31.9, released on November 18, 2026 (Nginx’s security advisories).

We finished updating Nginx on these servers on November 18, 2026.

Servers running Ubuntu 14.04 no longer receive updates. Servers running Ubuntu 14.04 remain vulnerable and should be upgraded to Ubuntu 22.04 or later.

About the vulnerabilities

CVE-2026-123007 is a bug in how Nginx manages HTTP/2 flow control that corrupts the memory of an Nginx worker process. It can crash the worker process and, in some cases, let an attacker run code as the user the worker process runs as. F5, which develops Nginx, rated it critical (CVSS 9.2).

Although this vulnerability is known as nginx2root, it does not by itself give an attacker root access. The researchers who showed it could be used to gain root access combined it with a separate bug in the Linux kernel.

CVE-2026-123633 is a use-after-free bug that can happen when Nginx passes HTTP/2 requests from visitors on to another server, such as Apache, and an Nginx worker process is running low on connections. Like CVE-2026-123007, it can crash the worker process and, in some cases, let an attacker run code as the worker process’s user. F5 rated it critical (CVSS 9.2).

CVE-2026-118899 is a bug that causes an Nginx worker process to loop forever while reading a request body over a TLS 1.3 connection. The worker process then stops serving all of its connections. This vulnerability can be used to make apps unavailable but not to run code. F5 rated it high (CVSS 8.7).

All three vulnerabilities can be exploited remotely by an attacker who can make HTTP requests to the server. The attacker does not need to be logged in to the server or to any app.

Code that demonstrates CVE-2026-123007 has been published.

Affected Ubuntu releases

Ubuntu releaseAffectedFixed sp-nginx version
Ubuntu 26.04Yes1.31.9-1
Ubuntu 24.04Yes1.31.9-1
Ubuntu 22.04Yes1.31.9-1
Ubuntu 20.04Yes1.31.9-1
Ubuntu 18.04Yes1.31.9-1
Ubuntu 16.04Yes1.31.9-1
Ubuntu 14.04YesNo update available

What we have done

We have installed the updated Nginx package, sp-nginx 1.31.9-1, on all servers running Ubuntu 16.04 and later that have automatic updates enabled (the ServerPilot default). Servers that were offline when we updated them install the update during their next automatic update.

When the updated package is installed, it tests your server’s Nginx configuration and, if the test passes, restarts Nginx so the fixed version is running.

Servers that are not in a healthy state, or that have automatic updates disabled, may not have received the updated Nginx package. See below for how to verify the updated Nginx package was installed on a server.

What you should do

Confirm the Nginx package was updated

On servers running Ubuntu 16.04 and later, to determine the version of the Nginx package installed on a server, SSH into the server and run the following command:

dpkg-query -W sp-nginx

If the version is 1.31.9-1 or later, the updated package is installed.

If the package has not been updated, SSH into your server as root and run the following command to update the Nginx package:

apt-get update && apt-get install --only-upgrade sp-nginx

If this command fails, please check your server for problems such as a full disk and contact support.

Upgrade servers running Ubuntu 14.04

Servers running Ubuntu 14.04 remain vulnerable.

If a server is running Ubuntu 14.04, you should upgrade the server to Ubuntu 22.04 or later.

To determine which Ubuntu release a server is running, either view the server’s OS Info in the ServerPilot dashboard or run the following command on the server:

cat /etc/lsb-release

Security scanners

Nginx’s security advisories list Nginx 1.31.9 and later as not vulnerable. Some security scanners use F5’s CVE records, which include an affected version range with no end version, and so may report Nginx 1.31.9 as vulnerable. This is a false positive.

If a server’s sp-nginx package is 1.31.9-1 or later, the server is not affected by these vulnerabilities.

Contact support

If you have questions about your server, please contact support.