NGINX2Root Fixed: Elestio Proxy Moves to OpenResty 1.31.9.1
Last week, F5 patched five critical NGINX flaws that researchers named NGINX2Root. They sit in HTTP/2 flow control and upstream forwarding, HTTP/3, the DNS resolver and the mail proxy, and if ASLR is disabled or bypassed, any of them can run code with the privileges of an NGINX worker. A public proof of concept exists for one of them. The fixed versions are 1.30.7 (stable) and 1.31.9 (mainline).
Every Elestio service sits behind NGINX, so here's what we changed, what happens automatically, and how to apply the fix today if you'd rather not wait.
What Changed
Our reverse proxy runs as a Docker container from the elestio/nginx-auto-ssl image: OpenResty, which bundles NGINX, plus automatic Let's Encrypt certificates. It handles HTTPS and routing for every service on your instance.
We've published a new build based on OpenResty 1.31.9.1. That release is built on NGINX 1.31.9, so it includes the fixes for all of the recent NGINX CVEs. Here's what moved, taken from the image metadata:
| Component | Previous 1.0.22 (December 2025) | New 1.0.22 and 1.0.23 |
|---|---|---|
| OpenResty | 1.27.1.2 | 1.31.9.1 |
| OpenSSL | 3.4.3 | 3.5.8 |
| Alpine base | 3.22.2 | 3.24.3 |
Same Tag, Patched Image
The new build is tagged 1.0.23, and we've also republished it under the existing 1.0.22 tag. That's deliberate. Existing instances run the proxy with the 1.0.22 tag, and we didn't want anyone to have to edit a compose file or change a version number to get the fix.
So the next time your instance pulls the proxy image, whether through the automatic update, the dashboard button or the commands below, it gets the patched build under the tag it already uses. The new image is a drop-in replacement: same configuration format, same certificate handling, no breaking change.
Your site configurations in /opt/elestio/nginx/conf.d/ and your certificates are not part of the image, so they stay exactly as they are.
Option 1: Do Nothing
The new proxy rolls out automatically to every Elestio service on Sunday, November 29. If you're happy to wait until then, there's nothing to do.
Option 2: Update Now from the Dashboard
In the Elestio dashboard, open your service overview, go to Software auto updates > Settings and click Update now. This pulls the new image and recreates the proxy container. Expect a few seconds of interruption while it restarts.
If your service is reachable from the internet, I'd do this today rather than wait for Sunday.
Option 3: Update by Hand
If you prefer the terminal, open one on your instance and run:
cd /opt/elestio/nginx
docker compose pull
docker compose down
docker compose up -d
pull downloads the new image, down stops and removes the old proxy container, and up -d starts a fresh one from the new image. Your sites are unreachable for the few seconds between down and up, so pick a quiet moment.
Why a Restart, Not a Reload
F5's advisory has one detail that's easy to miss: after upgrading, you have to restart NGINX. A reload (nginx -s reload) only re-reads the configuration. The NGINX master process keeps running the program it started with and creates new workers from that same old code, so the vulnerable version keeps serving traffic.
In a container, the same applies one level up: the NGINX binary lives in the image. Reloading NGINX inside the old container changes nothing. The new image only takes effect when the container is recreated, which is exactly what the dashboard button and the commands above do.
Check That You're Patched
Don't trust a file on disk, ask the running container. From /opt/elestio/nginx:
docker compose ps
docker compose exec <service-name> openresty -v
Use the service name shown by docker compose ps. You should see nginx version: openresty/1.31.9.1.
Don't Forget the Other NGINX
Our proxy is the NGINX in front of everything, but it's not always the only one. Some applications ship their own NGINX inside their images, for example to serve their frontend. Those copies are fixed by updating the application itself, which is why several projects, such as Mailu, shipped their own releases or mitigations last week. Keep application auto-updates on, or check your apps' release notes.
New to Elestio? Browse the fully managed services. Every one of them runs behind this proxy and gets fixes like this one automatically.
Troubleshooting
openresty -v still shows 1.27.1.2. The container wasn't recreated. Make sure you ran the commands from /opt/elestio/nginx, and that docker compose pull actually downloaded a new image.
A site returns 502 after the update. The proxy is running, but it can't reach the application behind it. Check that the app's containers are up with docker ps, and restart the app if needed.
The proxy container won't start. One of your custom files in conf.d/ probably has an error the new version rejects. Run docker compose logs in /opt/elestio/nginx to see the exact line, fix it, then run docker compose up -d again.
The logs warn that "listen ... http2" is deprecated. Recent NGINX versions prefer a separate http2 on; directive. It's a warning, not an error, and your sites keep working.
Thanks for reading ❤️ See you in the next one 👋