NGINX2Shell: nginx fixed it, then each distribution did
November 24, 2026
On 18 November, nginx released fixes for five vulnerabilities. The worst of them can let an attacker run code on any server with HTTP/2 enabled. But most Linux machines don't run nginx from nginx.org, they run their distribution's package, and the distributions shipped their fixes over the following days, each with its own idea of how serious it was.
NGINX2Shell, or nginx2root
NGINX2Shell is the name that stuck for the two HTTP/2 vulnerabilities. Xint, who found four of the five, calls the whole set nginx2root. All five are memory errors in nginx's worker process, and all are fixed in nginx 1.30.7 and 1.31.9 (nginx security advisories):
| CVE | Where | Needs | nginx's rating |
|---|---|---|---|
| CVE-2026-123007 | HTTP/2 flow control | HTTP/2 enabled, nginx 1.9.5 and later | major |
| CVE-2026-123633 | HTTP/2 | HTTP/2, proxying, and worker connections running out | medium |
| CVE-2026-121810 | HTTP/3 | HTTP/3, and worker connections running out | medium |
| CVE-2026-123634 | resolver | the resolver directive, with the same name resolved in subrequests | medium |
| CVE-2026-113425 | mail proxy | a mail block | major |
F5, the company behind nginx, gives all five a CVSS score of 9.2 out of 10, which counts as critical. On the older CVSS 3.1 scale they get 8.1, high.
CVE-2026-123007 is the one most servers should care about. It needs nothing but HTTP/2, which many HTTPS servers have turned on, and the bug has been in nginx since version 1.9.5 in 2015. Rapid7 has published a proof of concept that runs code in a fresh nginx container, though they note it will probably fail against a busy server. Xint went a step further and combined it with a bug in the Linux kernel to get root on the host. When this was written, none of the five was in CISA's catalog of known exploited vulnerabilities.
When each distribution shipped the fix
Distributions don't move a stable release to a new nginx version. They backport the fix into the version they already ship, so nginx -v shows the same old version number after the update. The package version is what tells you whether you have the fix:
| OS | Advisory and rating | Fix available |
|---|---|---|
| AlmaLinux 10 | ALSA-2026:A024, Critical, the two HTTP/2 CVEs ALSA-2026:100744, Critical, all five | the same day,nginx 1.26.3-16.el10_3.1.alma.2two days later, nginx 1.26.3-16.el10_3.3.alma.1 |
| AlmaLinux 9 | ALSA-2026:A025, Critical, the two HTTP/2 CVEs ALSA-2026:100748, Critical, the four that affect it | the same day,nginx 1.20.1-32.el9_9.1.alma.3two days later, nginx 1.20.1-32.el9_9.2.alma.2 |
| Ubuntu 24.04 | USN-9159-1, high | the next day,nginx 1.24.0-2ubuntu7.20 |
| Debian 13 | DSA-6642-1, not rated | the next day,nginx 1.26.3-3+deb13u11 |
| Debian 12 | DLA-4918-1, not rated | the next day,nginx 1.22.1-9+deb12u11 |
| AlmaLinux 8 | ALSA-2026:100747, Critical | two days later,nginx 1.24.0-3.module_el8.10.0+4384+8a1ec6ac.9.alma.2 |
| Rocky Linux 9 | RLSA-2026:100748, Critical | three days later,nginx 1.20.1-32.el9_9.2.rocky.0.1 |
| Fedora Linux 44 | FEDORA-2026-ca670457c3, Critical | three days later,nginx 1.30.7-2.fc44 |
| Arch Linux | no advisory yet | the same day,nginx 1.30.7-1 |
AlmaLinux and Rocky Linux normally rebuild Red Hat's fixes, and Red Hat rated four of the five critical. AlmaLinux didn't wait for it, though, and had its own fix for the two HTTP/2 vulnerabilities out the same day as nginx. Ubuntu also fixed its older releases, back to 16.04, but for 20.04 and older only in its paid Ubuntu Pro.
What OS Checker showed
OS Checker compares each machine's installed packages with its distribution's repositories every hour, and uses the distribution's own rating of each fix, as explained in What a critical update means. For a machine with nginx installed, that meant:
- AlmaLinux, Rocky Linux: nginx listed as a critical security update, and an email alert. On AlmaLinux 9 and 10, that happened the same evening nginx released its fix.
- Ubuntu, Linux Mint: a security update rated high, in the dashboard and the next report, but no alert. On Ubuntu 18.04 and 20.04, the update is marked as needing Ubuntu Pro.
- Debian: a security update with no rating, and no alert, since Debian's security tracker hasn't rated any of the five.
- Fedora Linux: a critical security update and an alert on Fedora 44 and 45. On Fedora 43, the update was still in testing when this was written, so it hadn't reached the repositories yet.
- Arch Linux: nginx 1.30.7 as an ordinary outdated package, since Arch hasn't published a security advisory for it.
Update, then restart
Installing the fixed package doesn't always fix the nginx that's already running. If you run apt upgrade by hand on a machine with needrestart, which Ubuntu installs by default, it asks afterwards which services to restart. But automatic updates, like unattended-upgrades on Debian, install the new package and leave the old nginx running until someone restarts it. And systemctl reload nginx isn't enough: a reload only starts new worker processes from the master process that's already running, old code and all. Use systemctl restart nginx.
That's what the services-restart-required.sh plugin is for. It lists the services that still run outdated code, so a machine where the update was installed automatically but nginx still runs the old code shows up in OS Checker.
It's also worth checking for nginx that doesn't come from your distribution: in a container image, from nginx.org's own repository, or built into a load balancer or ingress controller. OS Checker only sees packages installed from the distribution, see Who keeps your packages secure?
What to take from it
- The fix from upstream is where it starts. The date that matters is when your distribution ships it.
- The same fix can be critical on one OS and unrated on another, so when a vulnerability is in the news, look for the package update by name rather than waiting for an alert.
- The version
nginx -vshows doesn't tell you whether a machine is fixed. The package version does. - An update isn't done until the services using it have been restarted.