NGINX and HTTP/2: How to Check Exposure and Update

NGINX and HTTP/2: How to Check Exposure and Update

Two HTTP/2 flaws could allow an unauthenticated attacker to execute code on vulnerable NGINX servers. F5 published fixes on November 18, 2026: check both the binary serving traffic and the effective configuration, because a seemingly affected version may have a distribution backport. HTTP/2 must be enabled for both flaws.

Who may be affected and how to check

The vulnerabilities are CVE-2026-123007 and CVE-2026-123633. The first affects NGINX from version 1.9.5 through 1.31.8 when HTTP/2 is enabled; it can affect even servers that only serve static files. The second starts with 1.19.7 and extends through 1.31.8: it requires HTTP/2 and NGINX to process requests as a reverse proxy, with pressure on available connections.

Therefore, a service reporting a version within those ranges does not by itself prove that it is still exposed: some distributors include fixes without changing the main version number. And having the HTTP/2 module compiled does not prove that the protocol is enabled on a particular site. The configuration and installed package are part of the check.

Start by identifying all instances, including those in containers and those installed outside the package manager. Check the running process, not just the executable you find on disk. If you use Docker or Kubernetes, perform the inspection inside the container or pod receiving the traffic; checking only the host can give you an incomplete picture.

  1. Locate every running instance. Check the binary version and active NGINX processes. If there are multiple installations, match each process's executable to the service actually handling connections. The TecnoAndroid guide recommends using ps aux | grep nginx for this check; if the executable appears as deleted, the process may still be using the old file after an update.

    nginx -v
    nginx -V
    ps aux | grep nginx

    nginx -V also lets you review the build options. In containers, run these checks inside the relevant instance.

  2. Inspect the effective configuration. Use nginx -T to dump the configuration found by the binary and search for all server blocks and directives related to HTTP/2. Older configurations may use http2 as a listen parameter; since NGINX 1.25.1, the separate http2 on directive is also available. Check all sites and listeners, not just the block you consider primary.

    nginx -T

    The master process may have been started with a different configuration path using -c, and the dump from disk may not match what the workers loaded. Compare the process command line with the files you inspected. For CVE-2026-123633, also identify the routes that send requests to application servers through a reverse proxy.

  3. Check where TLS terminates. An external curl test can confirm that the public-facing component negotiates HTTP/2 through ALPN. But if there is a CDN or load balancer in front of NGINX, the test describes that component, not necessarily the origin server. The practical question is whether the edge component terminates the HTTP/2 connection and sends a separate connection to the origin, or passes through the TLS connection so NGINX directly processes the client's frames.

    If the origin receives HTTP/2 directly, it may be exposed even if the public hostname goes through a proxy. If the proxy terminates the connection and the origin cannot be accessed from the Internet by another route, the client's frames do not reach NGINX intact. The origin IP must not remain an alternate route.

  4. Verify the vendor's patches. If you installed NGINX from Debian, Ubuntu, RHEL, or another distribution, compare the full package version with its security advisory and review its changelog. A package with an older base version may include the fix through a backport; do not declare it vulnerable or fixed based only on nginx -v. TecnoAndroid notes that apt changelog nginx is one way to review package history on systems that use apt.

  5. Update to a fixed build. For NGINX Open Source, the listed fixed versions are 1.30.7 stable and 1.31.9 mainline. For NGINX Plus, fixes for both flaws are included in 37.0.8.1 or 37.3.0.1. Install the package appropriate for your channel or your distribution's fixed package; then confirm that the running process uses the updated binary. A configuration change alone does not replace the old binary that remains loaded.

  6. If you have to wait to update, disable HTTP/2. In NGINX 1.25.1 or later, set http2 off; in the affected blocks. In earlier versions, remove the http2 parameter from the listen directives. Check all listeners and validate the configuration before applying it. This measure reduces exposure to these two flaws, but does not replace the update or fix the other vulnerabilities included in F5's advisory.

    nginx -t
    sudo systemctl reload nginx

    Afterward, verify externally that HTTP/2 is no longer negotiated at the affected endpoints and confirm that the old workers have exited. A reload alone does not guarantee that existing connections have been closed.

  7. Review signs of failure in context. Investigate unexpected worker exits and commands started by NGINX, especially if they coincide with connection pressure or HTTP/2 traffic. Unit 42 warns that a message such as worker_connections are not enough, reusing connections can also appear under normal load; a worker crash by itself does not prove exploitation either. Correlate the logs with the configuration and service status.

Fixed versions

ProductFixed versions
NGINX Open Source, stable1.30.7
NGINX Open Source, mainline1.31.9
NGINX Plus37.0.8.1 or 37.3.0.1

Mistakes that can leave the server exposed

Don't rely on the version number alone. A backport may fix a package that retains an apparently vulnerable version; confirm its status in your distribution's advisory and package history. Conversely, a version reported by a public-facing service does not tell you whether active HTTP/2 terminates at NGINX or at an intermediary.

Don't inspect only the first server block, and don't assume that a test against the public domain reaches the origin. If there is a CDN or load balancer, make sure the origin does not accept direct connections that bypass that perimeter. And don't treat disabling HTTP/2 as a permanent solution: it protects against these two flaws, not all the security issues F5 fixed in the same release.

Finally, don't interpret a crash or a pressure warning as confirmation of an attack. They are reasons to investigate; the immediate step is still to check the package and configuration in every instance and apply the appropriate fix.

Sources: TecnoAndroid, Wiz Research, Cloudflare Blog, BleepingComputer, Unit 42