Originally published on proxymint.
nginx 1.31.9 and 1.30.7 fix ten bugs, two in HTTP/2 that can lead to code execution. Check your version, http2 config and container images in minutes.
TL;DR
- Run
nginx -vandgrep -rnE 'http2|listen .*quic' /etc/nginx/first. If the version is below 1.30.7 and the grep findshttp2, you're in range for CVE-2026-123007 and should upgrade or switch HTTP/2 off today. - The flow control bug goes back to nginx 1.9.5. Wiz says it got code execution with it on nginx serving plain static files, so a simple setup isn't a safe one. nginx rates it major and Wiz scores it CVSS 4.0 9.2.
- Containers don't get the host's upgrade. Images and ingress controllers are the ones that stay old for months, so run
docker run --rm IMAGE nginx -von every image and check the controller tags too. - A distro package can be fixed without saying 1.30.7. Debian sid's fix is package 1.30.6-4, so compare against the distro tracker rather than the upstream number.
Key takeaways
- Upgrade to 1.31.9 mainline or 1.30.7 stable, or the fixed distro package. Ten CVEs are fixed in one go, not just the two HTTP/2 ones.
- Use
nginx -Trather than trusting your memory of the config. It prints every included file, which is where an oldlisten 443 ssl http2;line usually hides. - The stopgap is
http2 off;on 1.25.1 and later, plus removinghttp2from any listen line. Older versions only have the listen parameter, so delete it there. - Read the severity labels for what they are. nginx calls the two HTTP/2 bugs major and medium while Wiz puts them at 9.2, in the critical range. Both point to the same action.
Read the full guide on proxymint, with the commands, tables and sources.

