Can Nginx Vulnerabilities (nginx2shell) Be Prevented by ALB/WAF?
We verified the content of the Nginx vulnerability group announced on November 18, 2026 (Japan time November 19), and the protection effectiveness of ALB/WAF or reverse proxy for each vulnerability.
Conclusion
First, the conclusion.
- Of the 10 Nginx vulnerabilities, 8 can be prevented by placing ALB or reverse proxy in front of Nginx.
- This assumes that AWS ALB (default settings) forwards client requests HTTP2/HTTP3 to the target in HTTP1.1.
- The remaining 2 cannot be prevented by ALB or reverse proxy.
- Naturally, the fundamental solution is to update to the corrected version.
Multiple NGINX Vulnerabilities (November 19, 2026)
The target was 10 vulnerabilities, 5 of which could potentially lead to unauthorized remote code execution (RCE) depending on the conditions.
- Official announcement date: November 18, 2026 (local time)
- Domestic news date: November 19, 2026
- Target products: NGINX Open Source, NGINX Plus
- Corrected version: NGINX 1.30.7 (stable), 1.31.9 (mainline)
- Particularly noteworthy functions: HTTP/2, HTTP/3, DNS resolver, mail proxy
1. List of Individual Vulnerabilities (Total 10)
The severity is classified by NGINX’s official classification (major/medium/minor). The affected versions are generally indicated for NGINX Open Source.
| CVE Number/Severity | Vulnerability Content/Conditions | Expected Impact | Affected Versions |
|---|---|---|---|
| CVE-2026-123007 Major | An integer calculation error occurs in HTTP/2 flow control, leading to out-of-bounds heap memory writes. This applies to environments where HTTP/2 is enabled. | Arbitrary code execution (RCE), Service Denial (DoS) | 1.9.5–1.31.8 |
| CVE-2026-123633 Medium | When connection termination occurs during backend connection in HTTP/2, a Use-After-Free access to released memory occurs. | RCE, DoS | 1.19.7–1.31.8 |
| CVE-2026-121810 Medium | A Use-After-Free occurs during connection termination and stream generation in HTTP/3 (QUIC). This requires HTTP/3 and proxying to the backend. | RCE, DoS | 1.25.0–1.31.8 |
| CVE-2026-123634 Medium | A Use-After-Free occurs in DNS resolver response processing. This involves combinations of proxy_pass with variables and SSI or mirror-based subrequests. |
RCE, DoS | 0.6.18–1.31.8 |
| CVE-2026-113425 Major | A Use-After-Free occurs when a client connection is terminated during an authentication request via auth_http in the mail proxy. |
RCE, DoS | 0.5.33–1.31.8 |
| CVE-2026-118899 Major | Using TLS 1.3 with HTTP connections, a crafted communication can cause an infinite loop when reading the request body. | DoS (worker process becomes unresponsive) | 1.13.0–1.31.8 |
| CVE-2026-120993 Minor | A NULL pointer reference occurs due to an incomplete TLS handshake when using dynamic certificate loading and PROXY protocol v2 in the stream module. | Worker process abnormal termination, DoS | 1.31.4–1.31.8 (※) |
| CVE-2026-125283 Minor | A buffer overflow occurs due to regular expression capture processing in combinations of alias, try_files, and map variables. |
Worker process abnormal termination, DoS | 0.9.6–1.31.8 |
| CVE-2026-120967 Medium | When using ssl_verify_client on in non-default virtual servers of the stream module, client certificate verification can be bypassed. |
Authentication bypass, unauthorized access | 1.25.5–1.31.8 |
| CVE-2026-123640 Minor | Insufficient input validation in ngx_stream_ssl_preread_module allows spoofing of routing variables via crafted TLS ClientHello. |
Unauthorized backend connection, access control bypass | 1.15.2–1.31.8 |
Source: NGINX Official Security Advisory, CERT-EU Security Advisory. The conditions and impacts refer to F5’s CVE information.
2. Particularly Dangerous Vulnerabilities
The 5 RCE-related vulnerabilities highlighted by CERT-EU have CVSS v3.1 scores of 8.1 (High) and CVSS v4.0 scores of 9.2 (Critical) according to F5. For these RCEs to be exploited, conditions such as ASLR (Address Space Layout Randomization) being disabled or attackers bypassing ASLR are required.
In particular, CVE-2026-123007 has HTTP/2 being enabled as its main prerequisite, making it a high-priority vulnerability due to its wide impact.
Additionally, these 5 vulnerabilities are demonstrated as attacks by researchers under the name “nginx2root.” However, they do not directly grant root privileges on NGINX alone; obtaining root privileges requires combining with another Linux kernel vulnerability.
3. Response Status in Kunato
The response status of my WAF, Kunato (github), is as follows.
Note that the evaluation prerequisites are as follows.
- All external communications must pass through Kunato, and direct access to NGINX is not allowed.
- Kunato terminates TLS and HTTP/2/HTTP/3 (default setting).
- Kunato forwards to NGINX via non-TLS HTTP/1.1.
Evaluation Results Based on the Configuration
Attack paths can be blocked → 8 items
Defense cannot be guaranteed → 2 items
Defense Feasibility for Individual Vulnerabilities
| CVE Number | Vulnerability Content | Defense Decision | Basis for Kunato’s Defense |
|---|---|---|---|
| CVE-2026-123007 | HTTP/2 flow control memory corruption/RCE | ○ Defense Possible | Kunato terminates HTTP/2 and forwards to NGINX via HTTP/1.1, so vulnerable HTTP/2 processing does not occur |
| CVE-2026-123633 | Use-After-Free/RCE during HTTP/2 connection termination | ○ Defense Possible | HTTP/2 connection termination processing is completed within Kunato, so NGINX’s HTTP/2 processing does not start |
| CVE-2026-121810 | Use-After-Free/RCE in HTTP/3/QUIC processing | ○ Defense Possible | Kunato terminates HTTP/3 and forwards to NGINX via HTTP/1.1, avoiding NGINX’s QUIC processing |
| CVE-2026-123634 | Use-After-Free/RCE in DNS resolver | × Not Possible | Even via HTTP/1.1, DNS resolution and subrequest processing occur internally in NGINX, making it impossible to avoid vulnerable processing |
| CVE-2026-113425 | Use-After-Free/RCE in mail proxy | ○ Unreachable | Connections to SMTP/IMAP/POP3 cannot be made via HTTP communication through Kunato, preventing attacks on the mail module from external sources |
| CVE-2026-118899 | Infinite loop/DoS due to TLS 1.3 request processing | ○ Defense Possible | TLS is terminated at Kunato, and forwarded to NGINX as plaintext HTTP/1.1, so NGINX’s corresponding TLS processing does not start |
| CVE-2026-120993 | PROXY protocol v2 related DoS in stream module | ○ Unreachable | PROXY protocol v2 communications for this item cannot reach NGINX’s stream module via Kunato |
| CVE-2026-125283 | Buffer overflow/DoS related to alias, try_files, map |
× Not Possible | Vulnerable NGINX path evaluation processing can be executed even via normal HTTP requests. No dedicated defense rules are confirmed |
| CVE-2026-120967 | Bypass of client certificate verification in stream virtual servers | ○ Unreachable | There is no external TLS connection path to NGINX’s stream module, so attempting to bypass authentication is impossible |
| CVE-2026-123640 | TLS ClientHello spoofing via ssl_preread in stream |
○ Unreachable | TLS ClientHello does not directly reach NGINX’s stream module, preventing attack on routing processing |
Classification of Judgments
The above 8 items are evaluated based on structural defenses, not vulnerability-specific attack signature detection by Kunato.
| Defense Method | Number | Target |
|---|---|---|
| Protocol Termination and Conversion to HTTP/1.1 | 4 items | 2 HTTP/2-related, 1 HTTP/3-related, 1 TLS 1.3-related |
| Blocking External Access Paths to Vulnerable Services | 4 items | 1 mail-related, 3 stream-related |
| Vulnerable Processing Remains via HTTP/1.1 | 2 items | DNS resolver-related, path evaluation-related |
However, even under these premises, the following 2 items require NGINX-side responses.
- CVE-2026-123634: Confirm settings related to NGINX’s DNS resolver or subrequests, and apply the corrected version.
- CVE-2026-125283: Confirm the combination of
alias,try_files, andmap, and apply the corrected version.
Final Conclusion
In a configuration where direct paths to the origin are completely blocked and Kunato terminates all external HTTP communications, it is evaluated that 8 out of 10 items can structurally block external attack paths.
The remaining 2 items can still be exploited via HTTP/1.1, so they cannot be defended by Kunato alone.
Appendix: What About AWS ALB?
If AWS ALB is placed in front of Nginx, ALB forwards client requests HTTP2/3 to the target in HTTP1.1 by default. Therefore, similar to Kunato, it can prevent attacks dependent on HTTP2/3 if there is no direct path to the target.
However, some vulnerabilities that WAF cannot prevent remain, so updating to the corrected version is still the fundamental solution.
Comments
No comments yet.