
NGINX released emergency security updates yesterday for a set of critical vulnerabilities nicknamed NGINX2Root, led by CVE-2026-123007 and CVE-2026-123633. Both let an unauthenticated attacker run code on a server through NGINX’s HTTP/2 support, and both live in the web server itself rather than in WordPress, PHP or any plugin. If you’re a Bangkok or Thailand business running a website, an online store or a booking system behind NGINX, this one deserves attention today rather than at your next maintenance window.
What’s actually in these vulnerabilities
CVE-2026-123007 is an integer underflow in how NGINX manages HTTP/2 flow control. When the flow-control window goes beyond its allowed limit, it can cause a heap buffer overflow, which usually shows up first as an NGINX worker process crashing with a segmentation fault. CVE-2026-123633 is a separate use-after-free in HTTP/2 connection handling, where memory is released while a request is still using it.
Both are rated CVSS 4.0 9.2 (Critical). They are part of a larger batch of five critical NGINX flaws disclosed together, which also touch the mail proxy module and other handlers. On its own, CVE-2026-123007 gives an attacker the privileges of an NGINX worker process, normally a restricted account. Researchers have shown that this can be chained with a Linux kernel vulnerability to reach full root control of the server, which is where the “2Root” and “2Shell” nicknames come from.
Who found it, and why the timing is so uncomfortable
Several security teams found these bugs independently at about the same time, including Wiz Research, Rapid7, Xint and Ikotas Labs. The main flaw has been in NGINX’s code since version 1.9.5, released in 2015, so it went unnoticed for more than ten years. Wiz demonstrated a working exploit that gets around ASLR, a core memory protection, and Rapid7 published a proof-of-concept on disclosure day.
There is some good news. Rapid7’s exploit is demanding: it needs roughly 128 GB of HTTP/2 traffic over a single connection, and it was built for a specific test environment. CERT-EU has also noted that it was not aware of confirmed attacks in the wild when the flaws were disclosed. That should not make anyone relax. Public exploit code tends to get simpler and faster over time, and automated scanners start probing for unpatched servers very quickly. The crash-only variant (a denial of service) is far easier to trigger than full code execution.
Which versions are affected
All NGINX Open Source versions before 1.30.7 (Stable) and 1.31.9 (Mainline) are affected, as listed on the official NGINX security advisories page. The vulnerable path is only reachable when HTTP/2 is enabled, which on most HTTPS sites it is, through a line such as listen 443 ssl http2; or http2 on;.
On Ubuntu and Debian, NGINX usually comes from the distribution’s own package, and fixes are backported without changing the upstream version number. For example, on Ubuntu 24.04 you should be on package 1.24.0-2ubuntu7.20 or newer, not just “1.24.0”. Always check your vendor’s security notice (for Ubuntu, the Ubuntu Security Notices) or package changelog before deciding whether you’re patched. Some vendors, Red Hat among them, were still listing a fix as pending when the flaws were disclosed.
How to check if you’re actually exposed
If your site is served by NGINX with HTTP/2 enabled and the server hasn’t been updated, you are in scope. The key questions are which NGINX build you run, whether HTTP/2 is on, and whether the patched binary is actually running in memory. On the server, run:
nginx -v
apt list --installed nginx*
nginx -T 2>/dev/null | grep -E "http2|http3|quic"
Then check whether the running process is still the old binary. If this command shows “(deleted)” after the path, the server is still running the pre-patch version in memory:
sudo ls -l /proc/$(cat /run/nginx.pid)/exe
A static site on a managed platform where you don’t control the web server is not your concern. A hotel booking site, a WooCommerce store, a reverse proxy in front of an application, a Docker host publishing ports through NGINX, or an unmanaged VPS should all be treated as urgent. Updating WordPress does not fix this, because the flaw sits below the application layer. Not sure what your server is running? Contact our team and we’ll check it for you.
What to actually do about it
- Update NGINX now to 1.30.7 or 1.31.9, or install your distribution’s patched package (
sudo apt update && sudo apt install --only-upgrade nginx). - Fully restart NGINX, don’t just reload it. A configuration reload (
nginx -s reload) keeps the old binary in memory. Usesudo systemctl restart nginxor a proper binary upgrade, then re-run the process check above. - If you can’t patch immediately, disable HTTP/2. Remove
http2from yourlistendirectives (or sethttp2 off;), runnginx -t, then restart. Sites keep working over HTTP/1.1 with a small performance cost. - Keep the Linux kernel updated too. The root-takeover scenario depends on a kernel flaw, so apply pending kernel updates and reboot in a planned window.
- Audit for signs of probing. Check
/var/log/nginx/*error.log*anddmesg -Tfor repeated worker segmentation faults (signal 11), which can indicate exploit attempts. - Keep tested, offsite backups and a rollback plan, because that is what an RCE scenario calls for.
How we handle this for our Clients in Thailand
At Sierra IT Group, an infrastructure-level flaw like this is exactly why we run ongoing WordPress and server maintenance packages rather than leaving updates to chance. Every server under our management has already been patched and verified, with the new NGINX binary confirmed running, and monitoring and tested backups in place before any change. Our fully managed WordPress hosting adds hardened server configurations and firewall rules on top, and if a site has already been compromised, our malware removal and recovery team gets it cleaned up and back online fast.
If your server is self-managed or no longer covered by a maintenance plan, it will not receive this patch automatically. Contact us today and we’ll patch it and run a forensic check for you.
