On a fully updated Ubuntu 26.04 server, nginx -v still prints 1.28.3, and that server is open to CVE-2026-123007 today. The bug is a memory corruption in nginx’s HTTP/2 flow control, fixed upstream in nginx 1.30.7 and 1.31.9 on 18 November 2026 together with CVE-2026-123633, a use-after-free in the same HTTP/2 code. Wiz, one of several teams that found the pair, says the first one gave them remote code execution against plain static files over HTTPS.
No distro package carries the fix yet, so the useful questions are whether HTTP/2 is actually live on your listeners and how to switch it off safely until it is. We’ll walk through the checks, the http2 off; stopgap and the move to the nginx.org build, plus the two places where the obvious fix silently does nothing. All of it was run on 18 November 2026 on Ubuntu 26.04 LTS and on Rocky Linux 10 with SELinux enforcing, so no step turns it off, and no exploit traffic was sent at any lab host.
Is your nginx affected by CVE-2026-123007
Your server is exposed when three things are true: the nginx build is between 1.9.5 and 1.31.8 without a backported patch, the binary has the HTTP/2 module, and at least one TLS listener negotiates h2. The first two are true for almost every packaged nginx in use. The third is a config choice, which is why the HTTP/2 check below matters more than the version string.
- Every distro nginx package we checked on 18 November 2026 is exposed when HTTP/2 is on.
- The Docker Official Image is exposed, with
nginx:stableon 1.30.6 when we pulled it. - nginx 1.30.7 (stable) or 1.31.9 (mainline) from nginx.org is fixed.
- A build serving only HTTP/1.1 is safe from these two CVEs, but still needs the release for the others.
Ubuntu 22.04’s nginx 1.18.0 sits inside the CVE-2026-123007 range but below the 1.19.7 start of the CVE-2026-123633 range, according to the nginx.org advisory ranges. That is one bug instead of two, and it is still the more serious one, so the stopgap applies there all the same.
What the two HTTP/2 bugs do, and how bad they are
CVE-2026-123007 sits in HTTP/2 flow control. Wiz calls it an integer underflow, while F5 files it as a heap buffer overflow. The nginx changelog for 1.30.7 describes it as “a flow control window overflow in HTTP/2 might allow an attacker to cause a segmentation fault in a worker process, or might have potential other impact”. It needs no backend: Wiz demonstrated code execution on nginx serving ordinary static files over HTTPS on 64-bit systems. CVE-2026-123633 is narrower. It is a use-after-free that only triggers when HTTP/2 client connections are proxied to an upstream and the worker is running short of worker_connections.
The sources do not agree on severity, and the disagreement is worth reading rather than averaging. The three ratings line up as follows.
| Source | CVE-2026-123007 | CVE-2026-123633 | What they say about code execution |
|---|---|---|---|
| nginx.org advisories | major | medium | No exploitability claim on the advisory page |
| F5 (K000163926, K000163928) | CVSS 3.1 8.1, CVSS 4.0 9.2 | CVSS 3.1 8.1, CVSS 4.0 9.2 | Code execution “on systems with ASLR disabled or when the attacker can bypass ASLR”; data plane only; F5 lists no mitigation |
| Wiz (one of several finders) | Critical, CVSS 4.0 9.2 | Critical, CVSS 4.0 9.2 | ASLR does not protect, because the attack first gains memory read access; RCE shown against static files |
Our reading is that the medium label on CVE-2026-123633 reflects its preconditions (proxying plus connection exhaustion), not a lower impact once those hold. We would treat CVE-2026-123007 as the urgent one on any public HTTPS listener with HTTP/2, because it needs nothing but a TLS connection. We did not verify any exploit claim ourselves, and nothing in this article sends attack traffic.
The other CVEs fixed in the same release
The 18 November release is bigger than the HTTP/2 pair. The nginx 1.30.7 changelog lists nine CVEs, and 1.31.9 mainline adds a tenth for a PROXY protocol bug that only exists in 1.31.4 and later. Turning HTTP/2 off covers two rows of this table and nothing else, which is why the stopgap is a bridge to the upgrade and never a replacement for it:
| CVE | Issue (nginx.org wording) | Severity | Vulnerable | Does http2 off help? |
|---|---|---|---|---|
| CVE-2026-123007 | Memory corruption in HTTP/2 flow control | major | 1.9.5 to 1.31.8 | Yes |
| CVE-2026-123633 | Use-after-free in HTTP/2 | medium | 1.19.7 to 1.31.8 | Yes |
| CVE-2026-123634 | Resolver use-after-free | medium | 0.6.18 to 1.31.8 | No (resolver path) |
| CVE-2026-121810 | HTTP/3 use-after-free | medium | 1.25.0 to 1.31.8 | No (HTTP/3 over QUIC) |
| CVE-2026-118899 | Infinite loop reading body over TLS 1.3 | major | 1.13.0 to 1.31.8 | Not tied to HTTP/2 in the advisory |
| CVE-2026-113425 | Mail proxy use-after-free | major | 0.5.33 to 1.31.8 | No (mail module) |
| CVE-2026-125283 | alias and try_files overflow | minor | 0.9.6 to 1.31.8 | No |
| CVE-2026-120967 | Stream SNI bypass with client certificate validation | medium | 1.25.5 to 1.31.8 | No (stream module) |
| CVE-2026-123640 | Stream ssl_preread validation | minor | 1.15.2 to 1.31.8 | No (stream module) |
| CVE-2026-120993 | PROXY protocol v2 NULL dereference | minor | 1.31.4 to 1.31.8 (mainline only) | No; fixed in 1.31.9 only |
Three of the “No” rows are what make this release dangerous for hosts that only flip the HTTP/2 switch. Xint’s nginx2root write-up chains five of these nginx bugs with a Linux kernel SCTP flaw to get root and break out of a Docker container. Its table shows the resolver, HTTP/3 and mail proxy bugs untouched by disabling HTTP/2. The upgrade is the only fix when any of these is true for your config.
- A
resolverline is set,proxy_passtakes its destination from the request, and subrequests run, which Xint tested withmirrorandmirror_request_body off. - A
listenline carries thequicparameter. - The config has a
mailblock. - A
streamblock usesssl_prereador client certificate checks.
November brings the third nginx security release since mid September, and the second in five weeks after the October fixes for CVE-2026-93479 and CVE-2026-15176, so a repo-based upgrade path pays for itself quickly.
Distro backports that nginx -v hides
Ubuntu, Debian and Red Hat backport security fixes onto the upstream version they shipped at release, so nginx -v never moves. The package revision does, and the changelog inside the package names every CVE it fixes. Checking for the CVE ID is the only test that holds on every distro. Start with the version string so you know which base you are on.
nginx -v
Then search the Debian or Ubuntu changelog for this release’s CVE IDs. A count of 0 means the installed package does not carry the fix.
apt changelog nginx 2>/dev/null | grep -cE "CVE-2026-(123007|123633)"
On our Ubuntu 26.04 VM the package was 1.28.3-2ubuntu1.12, the current security build. Its changelog lists CVE-2026-15176 and CVE-2026-93479 from October, which proves the search works, and returns nothing for the two HTTP/2 CVEs:

That positive control matters. An empty grep on its own could mean a typo or a changelog that never downloaded, while seeing the October CVEs in the same output shows the changelog is real and current. On Rocky Linux, RHEL and Amazon Linux the same check reads the RPM changelog:
rpm -q --changelog nginx | grep -E "CVE-2026-(123007|123633|15176)"
Rocky Linux 10 had nginx-1.26.3-16.el10_3.1, whose newest entry (30 October 2026) fixes CVE-2026-15176 and CVE-2026-97205 and nothing from this release:
$request_filename (CVE-2026-15176)
Alpine is the exception to the changelog method, since apk packages do not ship a Debian-style changelog. Compare the package revision (apk list -I nginx showed nginx-1.28.3-r7 on Alpine 3.23) against the Alpine security tracker instead. When a distro fix does land, the changelog check flips to a non-zero count, and that is your signal to upgrade the package and restart.
HTTP/2 exposure on the live listeners
A vulnerable binary only matters if a client can actually speak HTTP/2 to it, so check three layers: the build, the config nginx loaded, and what a TLS client negotiates. Each one catches a different mistake. The build check confirms the module is compiled in, which it is in every distro and nginx.org package we tested:
nginx -V 2>&1 | grep -o -- "--with-http_v2_module"
Next, dump the full loaded config with nginx -T, strip comments, and look for either HTTP/2 syntax. Stripping comments is not cosmetic, because on Rocky Linux 10 a plain grep counted 3 http2 lines because the stock nginx.conf carries a commented TLS server block, while the comment-stripped grep found the 2 real ones.
sudo nginx -T 2>&1 | sed "s/#.*//" | grep -nE "listen[[:space:]].*http2|^[[:space:]]*http2[[:space:]]+on[[:space:]]*;"
Finally, ask the server what it negotiates. Run both probes from the host itself or from a machine that reaches the same listener, replacing 127.0.0.1 with the address clients use if nginx binds to a specific IP:
curl -skI --http2 https://127.0.0.1/ | head -3
openssl s_client -connect 127.0.0.1:443 -alpn h2 </dev/null 2>&1 | grep -E "ALPN protocol:|No ALPN negotiated"
Before the stopgap, our Ubuntu VM showed all three layers lined up: the module present, http2 on; at line 289 of the dump, an HTTP/2 200 from curl and ALPN protocol: h2 from OpenSSL:

Trust the ALPN line over the grep. The grep tells you where to edit, but the OpenSSL probe is what an attacker’s client sees, and it is the line we use to prove the stopgap worked. Both probes above send no SNI, so they only reach the default server on that port. Our lab VMs had one vhost each, but since 1.25.1 http2 is set per server, so a host with several names needs one probe per server_name: add -servername shop.example.com to the OpenSSL line, and give curl --resolve shop.example.com:443:127.0.0.1 https://shop.example.com/. If you front nginx with a CDN or load balancer that terminates TLS, probe nginx directly on its own listener too, because the edge may speak HTTP/2 to the internet and HTTP/1.1 to you, or the reverse.
The http2 off stopgap on 1.25.1 and newer
Builds from 1.25.1 onward have a per-server http2 directive, so the stopgap is a one-word change in each server block that has it enabled. That covers Ubuntu 26.04 (1.28.3), Debian 13 and Rocky Linux 10 (both 1.26.3) and Alpine 3.23 (1.28.3). Open the server block that the grep pointed at:
sudo vim /etc/nginx/sites-available/site.conf
Below is the exact test vhost from our Ubuntu VM with the stopgap applied. The only change from the vulnerable version is on becoming off.
server {
listen 443 ssl;
listen [::]:443 ssl;
http2 off;
server_name web-lab01.example.com;
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl_certificate_key /etc/ssl/private/ssl-cert-snakeoil.key;
root /var/www/html;
index index.html index.nginx-debian.html;
location / {
try_files $uri $uri/ =404;
}
}
Test the config before reloading, and note the worker PIDs on both sides of the reload so you can prove the old ones are gone. A reload keeps the master and its listening sockets, so no connection is refused while it happens:
ps -o pid,ppid,lstart,cmd -C nginx
sudo nginx -t && sudo systemctl reload nginx
ps -o pid,ppid,lstart,cmd -C nginx
After the reload the workers that existed before (2683 and 2684 in our run) had gone and two new ones started at 16:19:18. Curl fell back to HTTP/1.1, and OpenSSL reported No ALPN negotiated, which is the result you want:

The cost is real but small for most sites: browsers fall back to HTTP/1.1 with several parallel connections, and gRPC over this listener stops working because gRPC requires HTTP/2. If you serve gRPC through nginx, the upgrade is the only option you have. Repeat the change in every server block the grep listed, then run the grep and the ALPN probe again until both come back empty.
Old workers that keep HTTP/2 alive after the reload
A reload does not kill old workers. It asks them to finish their open connections and then exit. Any client holding a connection open keeps an old worker running with whatever config it started with, so right after the stopgap reload that worker still speaks HTTP/2. We reproduced the drain with a second reload: one idle TLS connection, held open in the background with (sleep 75 | openssl s_client -connect 127.0.0.1:443 -quiet >/dev/null 2>&1 &), kept the previous worker alive, and ps showed it:

PID 2991 is labelled worker process is shutting down next to the two new workers, and it only exited once the client let go. An attacker who already has a connection open is not cut off by your reload. Check for draining workers after every reload.
ps -o pid,lstart,cmd -C nginx | grep "shutting down"
If the line will not go away, restart nginx in a quiet window, accepting that it drops every connection. The other option is to cap the drain time with worker_shutdown_timeout in the main context of nginx.conf, a directive that has existed since 1.11.11 and has no default. A value like worker_shutdown_timeout 30s; makes the next reload close the stragglers after 30 seconds.
Older builds and the listen http2 parameter
Before 1.25.1, HTTP/2 was enabled with a parameter on the listen line, and the http2 directive does not exist. Ubuntu 24.04 (1.24.0), Ubuntu 22.04 (1.18.0) and Debian 12 (1.22.1) are in this group, so their configs can only use the old form. Newer builds still accept the old form with a deprecation warning, which is where our second trap came from.
On Rocky Linux 10 we wrote the vhost with the old listen parameter. Then we added http2 off; to the same server block, as you might if you read only the advisory’s first line. nginx -t passed and the reload succeeded, yet the listener still negotiated h2:

So http2 off; does not override the listen parameter. The full nginx -t output only adds a deprecation warning for each listen ... http2 line, and nothing in it says the http2 off; line is ignored. Delete http2 from every listen line the grep found, starting with the vhost.
sudo vim /etc/nginx/conf.d/site.conf
Change both listen lines so they end in ssl;, as in the start of the Rocky vhost below, which ran after the change. On a build older than 1.25.1, leave out the http2 off; line, because nginx does not know it there.
server {
listen 443 ssl;
listen [::]:443 ssl;
http2 off;
server_name rpm-lab01.example.com;
Test and reload, then rerun the probe:
sudo nginx -t && sudo systemctl reload nginx
openssl s_client -connect 127.0.0.1:443 -alpn h2 </dev/null 2>&1 | grep -E "ALPN protocol:|No ALPN"
With the parameter gone, the grep exited 1 and the handshake fell back:
No ALPN negotiated
We’d make this the default habit on every version: remove http2 from listen lines and use the http2 directive only where your build supports it. Then the ALPN probe, not the config, decides when you’re done.
nginx 1.30.7 from the nginx.org repo on Ubuntu 26.04
The nginx.org packages for Ubuntu 26.04 (“resolute”) had 1.30.7 on release day, so you don’t have to wait for Ubuntu. Switching repos replaces Ubuntu’s packaging with nginx.org’s, and that has a side effect we hit in the lab, covered right after the install. First the prerequisites and the signing key:
sudo apt install curl gnupg2 ca-certificates lsb-release ubuntu-keyring
curl -s https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
Verify the key file before trusting it. On a fresh user account gpg fails with gpg: Fatal: /home/mercy/.gnupg: directory does not exist! and prints a truncated listing, so create the directory first:
mkdir -m 700 -p ~/.gnupg
gpg --dry-run --quiet --no-keyring --import --import-options import-show /usr/share/keyrings/nginx-archive-keyring.gpg
The file holds three keys. The one nginx.org’s install page tells you to match is 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62:
pub rsa4096 2024-05-29 [SC]
8540A6F18833A80E9C1653A42FD21310B49F6B46
uid nginx signing key <[email protected]>
pub rsa2048 2011-08-19 [SC] [expires: 2027-05-24]
573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
uid nginx signing key <[email protected]>
pub rsa4096 2024-05-29 [SC]
9E9BE90EACBCDE69FE9B204CBCDCD8A38D88A2B3
uid nginx signing key <[email protected]>
Add the stable repo and pin it above Ubuntu’s archive, otherwise apt keeps preferring the distro build:
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] https://nginx.org/packages/ubuntu $(lsb_release -cs) nginx" | sudo tee /etc/apt/sources.list.d/nginx.list
echo -e "Package: *\nPin: origin nginx.org\nPin: release o=nginx\nPin-Priority: 900\n" | sudo tee /etc/apt/preferences.d/99nginx
sudo apt update
apt-cache policy nginx
The candidate should now be the nginx.org build at priority 900, with Ubuntu’s 1.28.3 below it at 500:
nginx:
Installed: 1.28.3-2ubuntu1.12
Candidate: 1.30.7-1~resolute
Version table:
1.30.7-1~resolute 900
900 https://nginx.org/packages/ubuntu resolute/nginx amd64 Packages
...
*** 1.28.3-2ubuntu1.12 500
500 http://security.ubuntu.com/ubuntu resolute-security/main amd64v3 Packages
100 /var/lib/dpkg/status
Back up the config tree before installing. You’ll need it in a minute:
sudo cp -a /etc/nginx /root/nginx-before-1.30.7
sudo apt install nginx
Apt removes nginx-common and installs the nginx.org package over the Ubuntu one. Read these lines in the output carefully, because the last one replaces your main config:
Removing nginx-common (1.28.3-2ubuntu1.12) ...
Unpacking nginx (1.30.7-1~resolute) over (1.28.3-2ubuntu1.12) ...
Setting up nginx (1.30.7-1~resolute) ...
Installing new version of config file /etc/default/nginx ...
Installing new version of config file /etc/init.d/nginx ...
Installing new version of config file /etc/logrotate.d/nginx ...
Installing new version of config file /etc/nginx/fastcgi_params ...
Installing new version of config file /etc/nginx/mime.types ...
Installing new version of config file /etc/nginx/nginx.conf ...
We ran the install with --force-confold and the file was replaced anyway, because it belonged to nginx-common, which apt had just removed. That rules out the usual “keep my config” answer as a safeguard here.
Sites that vanish after the repo switch
The new nginx.conf includes only /etc/nginx/conf.d/*.conf, not Ubuntu’s sites-enabled directory, and the service was left stopped. Our HTTPS site returned nothing at all:
β nginx.service - nginx - high performance web server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; preset: enabled)
Active: inactive (dead) since Wed 2026-11-18 16:22:49 UTC; 24s ago
Your sites-available and sites-enabled files survive the switch, and only the include is missing. Add it back in the http block.
sudo vim /etc/nginx/nginx.conf
The end of the http block should read like this, with the second include line added:
#gzip on;
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
Compare the rest against your backup in /root/nginx-before-1.30.7/nginx.conf and carry over anything you’d tuned, such as worker_connections, log formats or client_max_body_size. The nginx.org config also runs workers as user nginx instead of www-data, which matters for PHP-FPM sockets and upload directories. Then test and start the service:
sudo nginx -t
sudo systemctl restart nginx
curl -skI https://127.0.0.1/ | head -2
The site answered again from the new binary:
HTTP/1.1 200 OK
Server: nginx/1.30.7
Use restart here, not reload. A reload re-reads the config but keeps the old master process, and only a new master runs the patched executable. The master’s start time in ps -o pid,lstart,cmd -C nginx must be later than the package install.
nginx 1.30.7 on Rocky Linux 10 and the RPM file conflict
On Rocky Linux 10 (and RHEL 10, AlmaLinux 10), nginx.org’s repo carries 1.30.7 as nginx-2:1.30.7-1.el10.ngx, with the same epoch as the AppStream build, so dnf sees it as a normal upgrade. Create the repo file:
sudo vim /etc/yum.repos.d/nginx.repo
These are nginx.org’s published repo definitions, exactly as we installed them:
[nginx-stable]
name=nginx stable repo
baseurl=https://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true
[nginx-mainline]
name=nginx mainline repo
baseurl=https://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=1
enabled=0
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true
A plain sudo dnf upgrade nginx fails at the transaction test. AppStream splits nginx across three packages, while the nginx.org package ships the binary and config itself, so its files collide with nginx-core.

Nothing was changed by the failed transaction, and rpm -q nginx still showed the AppStream build. The working route is to back up the config, remove the AppStream packages and install the nginx.org one. Your files under conf.d are left in place because no package owns them:
sudo cp -a /etc/nginx /root/nginx-before-1.30.7
sudo dnf remove nginx nginx-core
sudo dnf install nginx-1.30.7 #https://nginx.org/en/CHANGES-1.30
Read the removal list before you answer yes. On our VM it also took nginx-filesystem, and on a real host it will take any nginx-mod-* package that depends on nginx, so note those and find the nginx.org equivalents. On the first install from the repo, dnf asks to import the nginx.org signing key. Accept it only if the fingerprint reads 573B FD6B 3D8F BC64 1079 A6AB ABF5 BD82 7BD9 BF62. Dnf pulls the package from nginx-stable, and our vhost was still in conf.d afterwards:
nginx x86_64 2:1.30.7-1.el10.ngx nginx-stable 1.1 M
---
nginx-1.30.7-1.el10.ngx.x86_64
nginx version: nginx/1.30.7
default.conf
site.conf
Removing the AppStream packages also removed the systemd enablement, so enable and start the service again:
sudo nginx -t
sudo systemctl enable --now nginx
The first start in our run failed, and the second worked. The error is covered in the troubleshooting section at the end, and it did not come back when we repeated the whole swap. With SELinux enforcing, the new binary was labelled httpd_exec_t and the PID file httpd_var_run_t, so no policy change was needed.
HTTP/2 back on, on the patched build
Once 1.30.7 is running, undo the stopgap so clients get HTTP/2 again. On both VMs we set http2 on; in the server block (keeping http2 off the listen lines), then reloaded and probed. On Ubuntu we also checked that the nginx.org changelog names both CVEs:
zgrep -E "CVE-2026-12(3007|3633)" /usr/share/doc/nginx/changelog.gz
Both entries are present, the server reports 1.30.7 and the handshake negotiates h2 again:

On Rocky the RPM changelog of the nginx.org package says only “1.30.7-1”, so the version string from nginx -v is the right check there. Unlike a distro backport, the nginx.org build is the upstream release itself. Rocky’s probe also returned HTTP/2 200 from server: nginx/1.30.7 with SELinux still reporting Enforcing.
Fixed versions by distro as of 18 November 2026
Rows marked “lab” were installed and checked by us on 18 November; every other cell comes from a vendor page. Where a vendor had published nothing yet (the Ubuntu, Debian, Red Hat and Amazon CVE pages for CVE-2026-123007 all returned 404 that day), the row says pending:
| Platform | nginx package we found | CVE-2026-123007 fix | Source |
|---|---|---|---|
| nginx.org stable / mainline | 1.30.7 / 1.31.9 | Fixed | nginx.org advisory; lab on Ubuntu 26.04 and Rocky 10 |
| Ubuntu 26.04 LTS | 1.28.3-2ubuntu1.12 | Fixed in 1.28.3-2ubuntu1.13 (USN-9159-1, 19 Nov 2026) | Lab; ubuntu.com/security/CVE-2026-123007 |
| Ubuntu 24.04 LTS | 1.24.0-2ubuntu7.19 | Pending as of 18 Nov 2026 | Lab (container) |
| Ubuntu 22.04 LTS | 1.18.0-6ubuntu14.22 | Pending as of 18 Nov 2026 (123633 range starts above 1.18) | Lab (container) |
| Debian 13 trixie | 1.26.3-3+deb13u10 | Pending as of 18 Nov 2026 | Lab (container) |
| Debian 12 bookworm | 1.22.1-9+deb12u10 | Pending as of 18 Nov 2026 | Lab (container) |
| Rocky Linux 10 / RHEL 10 | nginx-1.26.3-16.el10_3.1 | Pending as of 18 Nov 2026 | Lab |
| Amazon Linux 2023 | nginx-1.30.6-1.amzn2023.0.1 | Pending as of 18 Nov 2026 | Lab (container) |
| Alpine 3.23 | nginx-1.28.3-r7 | Pending as of 18 Nov 2026 | Lab (container) |
Docker nginx:stable / nginx:mainline | 1.30.6 / 1.31.8 | Pending as of 18 Nov 2026 | Lab (pulled 18 Nov) |
| NGINX Plus | R37 | 37.0.8.1 and 37.3.0.1 (123633 in 37.0.7.1 and 37.2.0.1); R33 to R36 get no fix | F5 CVE records, Wiz |
Expect the distro rows to change within days. When they do, a plain package upgrade plus a restart closes the hole without the repo switch, and the changelog grep from earlier confirms it. Our nginx install guide for Ubuntu 26.04 uses the distro package, and Ubuntu shipped that fix as 1.28.3-2ubuntu1.13 on 19 November. A host built from it is covered once apt upgrade pulls that build and nginx restarts; until then it still needs the stopgap.
Containers, images and ingress-nginx
Containers inherit whatever nginx their base image had on build day. The official nginx:stable image we pulled ran 1.30.6, so rebuilds do not help until the image is republished. Until then, three checks keep a container fleet honest.
- Each running container reports its version with
docker exec <container> nginx -v, and anything below 1.30.7 goes on the rebuild list. - Mounted configs carry the same
http2 off;change as a host install, followed by a reload inside the container. - The OpenSSL ALPN probe runs against the container’s published port, once per
server_name, and printsNo ALPN negotiated. - Dockerfiles pin the 1.30.7 tag once Docker republishes the image, so a later rebuild cannot fall back to 1.30.6.
Kubernetes users on the community ingress-nginx controller are in a harder spot. The Kubernetes project announced that maintenance would stop in March 2026, so no release will carry this fix, and the support table in its README lists nginx 1.27.1 for the v1.15 releases. Its use-http2 ConfigMap option defaults to "true". Setting it to "false" in the controller’s ConfigMap is the stopgap, and moving off the controller is the real fix. Our Gateway API migration walkthrough covers that path on GKE. F5’s NGINX Ingress Controller and NGINX Gateway Fabric are separate products; check F5’s advisory for their fixed builds.
Errors we hit in the lab
Each of these came up during the runs above, with the cause and the fix that worked.
“gpg: Fatal: /home/mercy/.gnupg: directory does not exist!”
The key verification command uses --no-keyring but still wants a home directory, and a fresh account has none. The listing printed only the first key’s header line before failing. mkdir -m 700 -p ~/.gnupg fixes it, and the rerun shows all three nginx signing keys.
“file /usr/sbin/nginx from install of nginx-2:1.30.7-1.el10.ngx.x86_64 conflicts with file from package nginx-core-2:1.26.3-16.el10_3.1.x86_64”
This is the AppStream package split described above. Do not force it with rpm --replacefiles, because that leaves two packages claiming the same files. Remove nginx and nginx-core with dnf, then install the nginx.org package.
“nginx: [emerg] open() “/run/nginx.pid” failed (13: Permission denied)”
This came on the first systemctl enable --now nginx right after the RPM swap on Rocky Linux 10, followed by systemd’s Failed with result 'protocol'. No AVC denial was logged, a second sudo systemctl start nginx worked, and a full repeat of the swap with dontaudit rules disabled started cleanly. We could not pin the cause, so if you see it, read journalctl -u nginx, check ls -lZ /run/nginx.pid and start again. Don’t set SELinux to permissive for this.
“the “listen … http2” directive is deprecated, use the “http2″ directive instead”
Rocky’s 1.26.3 prints this warning for every listen ... http2 line on nginx -t. It is harmless as a warning, but it marks exactly the lines where http2 off; will not work, as the test above showed. Treat each warning as a line to fix before you call the stopgap done.
Exposure checklist before HTTP/2 goes back on
Work through this per host, because configs drift even between servers built from the same image:
- The changelog grep for CVE-2026-123007 returns a match, or
nginx -vshows 1.30.7, 1.31.9 or later from nginx.org. - The nginx master’s start time in
psis later than the package install. - Until then, the
nginx -Tgrep finds nohttp2 onand nolisten ... http2line. - The OpenSSL probe, run with
-servernamefor every TLSserver_name, printsNo ALPN negotiatedduring the stopgap. - No worker is still
shutting downafter the last reload. - On Ubuntu after a repo switch,
nginx.confincludessites-enabledand the service is active. - Hosts using
resolver,listen ... quic, amailblock orstreamwithssl_prereadare upgraded, not just mitigated.
Items 3 and 4 are the ones people skip, and they are the only proof that the stopgap is live. If you also run PHP behind nginx, the PHP2Shell mitigation guide follows the same check, mitigate and verify order, and our CVE-2026-15176 alias audit covers the October bug that the same distro builds already fix. For the kernel side of an nginx2root-style chain, the NoisyTCP kernel patch walkthrough shows how we verify a running kernel. Upstream ranges and fixed versions are on the nginx security advisories page, and the reporter’s technical background is in Wiz’s write-up of the two HTTP/2 bugs.