Pre-auth RCE in Nginx HTTP/2 handling wiz.io · 335 points · 113 comments · HN th...
HN Best 30 @best30
Pre-auth RCE in Nginx HTTP/2 handling wiz.io · 335 points · 113 comments · HN thread
TL;DR Five research teams, including Wiz, Xint, Rapid7, Ikotas Labs and Metnir, independently reported two critical unauthenticated RCE flaws in NGINX's HTTP/2 handling, CVE-2026-123633 (use-after-free) and CVE-2026-123007 (integer underflow), both rated CVSS 4.0 9.2. Fixed releases are 1.30.7 stable and 1.31.9 mainline; the workaround is to disable HTTP/2 until patched. Wiz says it withheld its proof-of-concept exploits and credits AI tools with finding the bugs.
- CVE-2026-123633: an HTTP/2 connection is marked reusable while a request is still being processed, so NGINX can free it during connection-slot cleanup, leaving a use-after-free that can lead to RCE.
- CVE-2026-123007: a flow-control refund in send_window is not capped at the HTTP/2 maximum, the bounds check then underflows, and a negative length leads to an out-of-bounds copy in the TLS send path.
- Both require HTTP/2 to be enabled. CVE-2026-123007 affects NGINX back to 1.9.5 (2015), and Wiz demonstrated code execution on a server serving ordinary static files over HTTPS on 64-bit systems.
- Fixed in NGINX OSS 1.30.7 stable and 1.31.9 mainline; NGINX Plus fixes are 37.0.7.1/37.2.0.1 and 37.0.8.1/37.3.0.1. If upgrading is not possible, disable HTTP/2 and restart NGINX.
- ASLR does not stop these, since the flaws can leak memory first. Wiz says CDNs and WAFs that terminate HTTP/2 may partly mitigate exploitation, and it has not released its exploits.
- Wiz says the bugs were found with its AI code-scanning harness, and a commit fixing one of them appeared in the public repository about a week before the coordinated disclosure.
Discussion The thread mixes technical triage with a broader debate about AI-driven vulnerability discovery. Early comments focus on patch timing: the fix was visible in the public repo a week before disclosure, distro packages (Ubuntu, Debian) and some Docker images lagged, and commenters ask why details were published before patches were ready. Many then move to the wider picture, arguing that AI is speeding up bug finding, that C and integer handling are to blame, and that the internet's infrastructure is getting less stable. The mood is alarmed and cynical, with some sharp disagreement about whether AI helps defenders more than attackers.
- AI tools are accelerating vulnerability discovery and exposing old bugs (many): Many commenters see this wave of RCEs as a sign that AI models can now find deep bugs in mature code. They expect more disclosures and note that attackers can use the same tools quickly.
- Blame C and unchecked integer arithmetic for memory bugs (many): Several argue that memory-unsafe languages and languages that ignore overflow cause this class of bug. Others counter that the underflow itself is language-neutral and the real harm comes from the C-style out-of-bounds copy, and that memory-safe languages still have unsafe escape hatches.
- Disclosure and patch gap put users at risk (many): Commenters criticize publishing details before patches reached distros and that the public commit gave attackers a head start. They point to the difficulty of rapid patching for small operators and to distro packages still unpatched at the time.
- Disabling HTTP/2 is a workable stopgap but painful (some): Users note that disabling HTTP/2 is the only mitigation right now. Others point out it is hard to do in some software, such as Nginx Proxy Manager, which has no global switch, and that it breaks gRPC services.
- Dismisses the hype; exploitation is still hard (a few): A few point out that the public proof-of-concepts are in controlled lab settings and that real traffic and heap grooming make exploitation hard. They argue the risk is real but not immediate.
- Concern that AI is centralizing the internet (a few): One commenter argues that frequent short-window exploits push traffic toward a few large providers, so the open internet is losing ground to a handful of companies.
Links from the comments
- The NGINX commit that fixes the integer underflow, discussed as evidence of the patch gap.
- Xint's writeup, which covers additional bugs and a full chain to root.
- Ubuntu's nginx package page, cited as still unpatched when the thread started.
- Debian's nginx package tracker, also cited as unpatched at the time.