NGINX released security updates on November 18, 2026, fixing HTTP/2 vulnerabilities that researchers demonstrated could allow unauthenticated remote code execution. If NGINX handles traffic for your OpenCart, WooCommerce, Magento or other PHP site, check the server’s package, configuration and running processes—not just your application version. (nginx.org)
Key takeaways
- Upstream fixes are available: NGINX 1.30.7 stable and 1.31.9 mainline fix CVE-2026-123007 and CVE-2026-123633. Distribution packages may use different version numbers. (nginx.org)
- Check every NGINX endpoint, including origins, containers and additional virtual hosts.
- Replace the running executable through a full restart or the documented live binary upgrade procedure. A configuration reload is not a binary upgrade. (nginx.org)
- Treat disabling HTTP/2 as temporary containment, not completed patching. (wiz.io)
- Verify service behavior afterward and investigate suspicious activity separately.
What changed
Two disclosed vulnerabilities affect NGINX’s HTTP/2 processing:
| Vulnerability | Issue | First affected upstream version |
|---|---|---|
| CVE-2026-123007 | Memory corruption in HTTP/2 flow control | 1.9.5 |
| CVE-2026-123633 | HTTP/2 use-after-free | 1.19.7 |
NGINX identifies unpatched releases through 1.31.8 as affected, with fixes available in the stable and mainline releases above. Use your distribution’s advisory when assessing a backported package. (nginx.org)
Both issues require HTTP/2 to be enabled. CVE-2026-123633 additionally involves reverse-proxy processing under connection pressure; CVE-2026-123007 was demonstrated against NGINX serving static files, without a PHP backend or third-party module. (wiz.io)
Code execution initially has the permissions of an NGINX worker—not automatically root. Enabled address-space randomization is not grounds to dismiss the risk: researchers reported bypassing it. (circl.lu)
Why this matters for stores and PHP sites
These are NGINX vulnerabilities, not defects in your checkout extension or PHP framework. Updating OpenCart, WordPress or Magento does not replace the affected web-server executable. One NGINX instance may also handle several stores and APIs, extending the potential impact beyond one domain. (wiz.io)
We recommend checking what the NGINX worker account can read or modify: application files, writable directories, configuration secrets and neighboring sites. Prioritize exposed servers, but include internal proxies and management endpoints in your inventory.
1. Identify the actual NGINX service and configuration
The examples below assume a systemd service named nginx. Check its startup command before using standard paths; hosting panels and custom installations may use another binary or configuration.
sudo systemctl show nginx -p ExecStart -p MainPID
nginx -V 2>&1
sudo nginx -T 2>&1 | grep -nE 'http2|listen|server_name'
nginx -V prints build options; nginx -T tests and prints configuration files currently on disk. If the service uses custom -c or -p arguments, repeat those when inspecting it. Configuration output may contain secrets, so do not paste an unredacted dump into a public ticket. (freedesktop.org)
Look for:
--with-http_v2_modulein build options.http2 on;in anhttporservercontext.- Legacy listeners such as
listen 443 ssl http2;.
Build support alone does not establish exposure; HTTP/2 must also be enabled and reachable. Review complete configuration contexts rather than treating grep matches as a final assessment. (nginx.org)
2. Find and install your vendor’s fixed package
As checked on November 19, 2026, Ubuntu’s CVE tracker and Debian’s security tracker still listed affected distribution packages as vulnerable. Recheck the entry for your exact release: an upstream fix does not mean your configured repository already supplies it. (ubuntu.com)
Record the full installed package revision. For a Debian or Ubuntu installation:
dpkg-query -W -f='${binary:Package}\t${Version}\n' 'nginx*'
sudo apt-get update
apt-cache policy nginx
Compare the installed and candidate revisions with your vendor’s advisory. Distribution security fixes can retain an older upstream version, so nginx -v or an HTTP Server header cannot reliably establish patch status. (manpages.debian.org)
Back up configuration securely and arrange a maintenance window or rolling restart. Once your vendor confirms a fixed package is available, a typical upgrade is:
# Debian/Ubuntu: package name assumed to be nginx
sudo apt-get install --only-upgrade nginx
# DNF-based systems: use instead of the APT command
sudo dnf upgrade nginx
Use the binary and module package names specified by your vendor, and review the transaction before accepting it. These commands install repository candidates; they do not independently prove that the CVEs are fixed. (manpages.debian.org)
For containers, deploy an updated image and recreate the affected containers. Updating the host’s NGINX package does not update a container’s separate filesystem. (docs.docker.com)
3. If necessary, temporarily disable HTTP/2
If you cannot patch immediately, temporarily remove HTTP/2 exposure:
- NGINX 1.25.1 and later: set
http2 off;in affected server contexts and remove legacyhttp2parameters fromlistendirectives. - NGINX 1.9.5–1.25.0: remove the
http2listener parameter; these versions do not support the newer directive.
Review inherited settings, shared listeners and IPv6 configurations. Validate the configuration, replace affected workers, and verify that the actual endpoint no longer negotiates HTTP/2. (nginx.org)
Keep the patch task open. The November 18 release also fixes vulnerabilities outside HTTP/2, so disabling this protocol does not replace installing the security update. (nginx.org)
4. Restart NGINX and verify the running executable
A reload rereads configuration and starts workers from the existing master process. It does not load a newly installed executable, and old workers can continue serving existing clients. For a conventional installation, perform a full restart after a successful configuration test. (nginx.org)
sudo nginx -t && sudo systemctl restart nginx
sudo systemctl status nginx --no-pager
pid=$(systemctl show nginx -p MainPID --value)
sudo readlink "/proc/$pid/exe"
sudo "/proc/$pid/exe" -v
Continue only if the service is active and MainPID is nonzero. /proc/PID/exe references that process’s executable, allowing you to check the binary associated with the running master rather than whichever nginx appears first in your shell’s path. Investigate an executable marked (deleted). (freedesktop.org)
Repeat the package queries and confirm that no pre-upgrade NGINX workers remain. For high-availability deployments, follow the documented live binary upgrade procedure if you cannot restart normally. (nginx.org)
We use the same installed-versus-running distinction in our Linux TCP kernel patch-verification checklist.
5. Verify HTTP/2 and store behavior
Test the origin directly, not only the public hostname behind a CDN. Replace this documentation-only IP address and example hostname with your endpoint:
openssl s_client \
-connect 192.0.2.10:443 \
-servername shop.example.com \
-alpn h2,http/1.1 </dev/null
The -servername argument supplies TLS SNI; -alpn offers application protocols. Check the negotiated result in the output. (docs.openssl.org)
Interpret it alongside package verification:
- Patched, HTTP/2 enabled: negotiating
h2is expected. - Temporarily mitigated: the endpoint should not negotiate
h2. - Handshake or connection failure: inconclusive; investigate rather than recording “HTTP/2 disabled.”
Negotiating HTTP/2 establishes protocol availability, not whether the binary is vulnerable. Repeat checks across relevant listeners and virtual hosts. (nginx.org)
Then test your storefront, login, cart, checkout and payment callback routes. Use sandbox payments where available, and watch for new errors before completing the rollout.
6. Review logs and signs of compromise
Look for unexpected worker crashes, core dumps, programs launched by NGINX, unusual outbound connections, and long-lived HTTP/2 connections with substantial inbound traffic but few logged requests. These are investigation leads, not proof of exploitation. HTTP/2 control frames normally do not appear as individual access-log requests, so clean access logs do not rule out compromise. (circl.lu)
A starting check, adjusted for your configured log location:
sudo grep -Ei 'worker process.*exited|signal 11|segfault' \
/var/log/nginx/error.log
sudo coredumpctl list nginx
Preserve evidence if anything is suspicious. (circl.lu)
If compromise is suspected, coordinate containment and investigation before destructive cleanup. Confirmed incidents may require rebuilding from trusted sources and rotating exposed application secrets; installing a patch alone does not remove persistence. (cisa.gov)
FAQ
Is my older NGINX version vulnerable after a distribution update?
Not necessarily. Your distributor may backport fixes without changing the upstream version. Compare the full package revision with its advisory. (documentation.ubuntu.com)
Is disabling HTTP/2 enough?
It is temporary mitigation for these HTTP/2 issues, not a substitute for the security update. Re-enable HTTP/2 after patching and verification if you need it. (wiz.io)
Does restarting PHP-FPM apply the NGINX fix?
No. Replace the NGINX executable through its own restart or documented binary upgrade procedure. Restarting a backend does not upgrade NGINX. (nginx.org)
Sources
- NGINX security advisories and November 18 release announcement
- Wiz research disclosure
- Ubuntu CVE tracker and Debian security tracker
- Ubuntu guidance on version banners and backports
- NGINX command-line options, HTTP/2 configuration, listener configuration and process control
- APT upgrade commands, APT policy queries, package revision queries and DNF documentation
- systemctl documentation, Linux executable references and OpenSSL connection testing
- Docker container isolation and redeployment guidance
- CIRCL response guidance
- CISA incident and vulnerability response playbooks

