---
title: "Security Advisory, December 2026: React/Next.js, NGINX and Post-Quantum Readiness"
thumbnail_title: "Patch React, Next.js and NGINX now. Plan for post-quantum."
slug: "security-advisory-december-2026-react-nextjs-nginx-post-quantum"
description: "Recent vulnerabilities in React Server Components, Next.js and NGINX (rewrite module and HTTP/2) that need patching now, plus post-quantum cryptography readiness that needs planning now. Affected components, patched versions, interim mitigations and priority actions."
author: "security-team"
date: "December 4, 2026"
lastUpdated: "2026-12-04"
category: "Security"
featured_image: "https://strapi-main-website.objectstore.e2enetworks.net/security-advisory-december-2026-react-nextjs-nginx-post-quantum.png"
---

## Introduction

New vulnerabilities continue to be reported across a wide variety of web frameworks, server software and cryptographic standards. This blog looks at the recent vulnerabilities reported in **React Server Components (RSC)**, **Next.js** and **NGINX**, which need patching now, and also covers **post-quantum security readiness**, which needs planning now, along with some practical advice for organizations using these technologies.

Whether you're running self-managed apps or internet-facing workloads, or you need long-term cryptographic resilience, this advisory will help you understand the risks and take appropriate action.

Software versions and dates in this advisory are current as of **4 December 2026**.

**BitNinja users:** make sure WAF protection is turned on and up to date. If you don't use BitNinja yet, you can turn it on as an extra layer of protection; it does not replace patching. [Activate BitNinja on a node](https://docs.e2enetworks.com/myaccount/node/how-to/activate-bitninja-on-a-node/)

## 1. React Server Components (RSC) & Next.js App Router Vulnerabilities

### Overview

Since December 2025, a series of security vulnerabilities has been disclosed that affect React Server Components (RSC) and Next.js App Router deployments. The most recent critical issues, disclosed in October 2026, include **CVE-2026-126187**, an unauthenticated remote code execution (RCE) flaw in React Server Components. These are application-layer issues (not cloud infrastructure issues) and can expose your applications to the risks below.

### Affected Components

- Applications using React Server Components (RSC), including through frameworks and plugins such as Next.js, React Router, Waku, `@parcel/rsc` and `@vitejs/plugin-rsc`
- Next.js App Router-based deployments
- Self-hosted React/Next.js workloads
- Internet-facing Node.js applications that use any of the above

### Potential Risks

- **Remote Code Execution (RCE):** CVE-2025-55182 ("React2Shell"), CVE-2026-126187 and, in Next.js Image Optimization, CVE-2026-96889
- **Denial-of-Service (DoS)** conditions, for example CVE-2025-55184, CVE-2026-23864 and CVE-2026-23870
- **Middleware bypass** scenarios (Next.js advisories published in May 2026)
- **Source code exposure** (CVE-2025-55183)

### Recommended Actions

- Review all externally exposed React and Next.js applications
- Upgrade React and Next.js packages to the latest patched versions
- Review reverse proxy, CDN, and WAF configurations protecting public-facing applications
- Monitor workloads for abnormal traffic spikes, resource exhaustion, or unexpected application behavior
- Restrict unnecessary public exposure of development or internal application endpoints
- Validate middleware and request-handling configurations

### Patch Guidance

Recommended patched versions (as of 4 December 2026):

| Package | Patched Versions |
| --- | --- |
| React (`react-server-dom-webpack`, `react-server-dom-parcel`, `react-server-dom-turbopack`) | 19.0.9 / 19.1.10 / 19.2.9 / 19.3.1 or later |
| Next.js | 16.4.5 (16.x) / 15.5.29 (15.x) or later |

Next.js 14.x and earlier are no longer supported, and recent security fixes for Next.js 15.x have shipped only in 15.5.x, so upgrade to a supported release line. Next.js has a security release scheduled for 15 December 2026; check the [Next.js security page](https://nextjs.org/blog/security) for the latest versions.

**Reduce exposure while you upgrade** (these steps do not replace upgrading):

- Restrict public exposure of vulnerable application endpoints
- Apply updated WAF protections and managed rule sets
- Monitor for unusual POST requests, excessive CPU usage, or abnormal request patterns
- Restrict or review React Server Components and Server Actions exposure

**Validate installed versions:**

```bash
npm list react-server-dom-webpack react-server-dom-parcel react-server-dom-turbopack
npm list next
npx next info
```

**Dependency & supply chain review:**

- Audit lockfiles and dependencies for vulnerable package versions
- Enable automated dependency scanning (Dependabot, Snyk, `npm audit`)

### Reference Links

- [Cloudflare Advisory](https://developers.cloudflare.com/changelog/post/2026-05-06-react-nextjs-vulnerabilities/)
- [Next.js Security Update](https://nextjs.org/blog/security-update-2025-12-11)
- [GitHub Security Advisory](https://github.com/advisories/GHSA-h25m-26qc-wcjf)
- [React Security Advisory](https://react.dev/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components)
- [Microsoft Security Analysis](https://www.microsoft.com/en-us/security/blog/2025/12/15/defending-against-the-cve-2025-55182-react2shell-vulnerability-in-react-server-components/)
- [Next.js Security Updates (latest)](https://nextjs.org/blog/security)
- [GitHub Security Advisory: CVE-2026-126187](https://github.com/advisories/GHSA-xqc2-xf4c-x3h3)

## 2. NGINX Rewrite Module Vulnerabilities

### Overview

The NGINX rewrite module (`ngx_http_rewrite_module`) has been affected by three vulnerabilities disclosed in 2026, **CVE-2026-42945 ("NGINX Rift")**, **CVE-2026-9256** and **CVE-2026-15176**, which can lead to buffer overflows and memory corruption under certain circumstances. These issues arise when an attacker sends crafted requests to a server whose rewrite configuration matches specific patterns. CVE-2026-42945 has been reported as **exploited in the wild**.

### Affected Components

- NGINX Open Source versions before 1.30.6 (stable) or 1.31.7 (mainline) that use the `rewrite` directive, and NGINX Plus without F5's latest security update
- Configurations where a `rewrite` directive with a query string (`?`) is followed, in the same location, by an `if` or `set` directive, with an unnamed regex capture such as `$1` (CVE-2026-42945)
- Configurations that combine `alias` with `rewrite` (CVE-2026-15176)

### Potential Risks

- Denial-of-Service (DoS) via crafted requests
- Memory corruption leading to worker process crashes
- Remote code execution on systems where ASLR is disabled or can be bypassed (CVE-2026-42945)

### Recommended Actions

- Apply the latest NGINX security patches
- If you cannot upgrade immediately, replace unnamed regex captures (`$1`, `$2`) with named captures in affected `rewrite` directives (interim workaround for CVE-2026-42945)
- Review rewrite configurations for unsafe patterns
- Use `return` directives instead of `rewrite` where possible

### Patch Guidance

- Upgrade to the latest stable NGINX release (**1.30.8** as of 4 December 2026) or the latest mainline release (**1.31.10**). Versions 1.30.6 (stable) and 1.31.7 (mainline) are the minimum that fix all three vulnerabilities.
- Apply vendor-recommended patches for your distribution. Distribution packages often backport fixes without changing the NGINX version number, so check your distribution's security advisory for each CVE.
- For NGINX Plus, apply the latest security update from F5

**Validate your NGINX version:**

```bash
nginx -v
```

### Reference Links

- [NGINX Security Advisories](https://nginx.org/en/security_advisories.html)
- [F5 Security Advisory K000161019 (CVE-2026-42945)](https://my.f5.com/manage/s/article/K000161019)

## 3. NGINX HTTP/2 Vulnerabilities

### Overview

Multiple vulnerabilities have been found in the NGINX HTTP/2 implementation. The most serious, fixed on 18 November 2026, are **CVE-2026-123007** (memory corruption in HTTP/2 flow control) and **CVE-2026-123633** (use-after-free in HTTP/2), which can crash worker processes and potentially allow remote code execution. Earlier issues include HTTP/2 request injection in the proxy module (CVE-2026-42926) and the rapid reset attack (CVE-2023-44487) from 2023.

### Affected Components

- NGINX versions before 1.30.7 (stable) or 1.31.9 (mainline) with HTTP/2 enabled, using either `http2 on;` or the older `listen 443 ssl http2;` syntax
- Configurations exposing HTTP/2 endpoints to the internet

### Potential Risks

- Denial-of-Service (DoS) through rapid stream resets
- Memory corruption and worker process crashes
- Remote code execution in some cases (CVE-2026-123007, CVE-2026-123633)
- Resource exhaustion leading to service unavailability

### Recommended Actions

- Upgrade to a patched NGINX version
- If you cannot upgrade immediately, disable HTTP/2 where it is not required
- Limit HTTP/2 concurrent streams with `http2_max_concurrent_streams`
- Configure rate limiting for HTTP/2 connections
- Monitor for abnormal stream reset patterns
- Use a CDN/WAF with HTTP/2 protection capabilities

### Patch Guidance

- Upgrade to NGINX **1.30.7 or later** (stable) or **1.31.9 or later** (mainline), which include fixes for known HTTP/2 vulnerabilities. The latest releases are 1.30.8 and 1.31.10.
- Apply the latest security patches from your OS vendor
- For NGINX Plus, apply the latest F5 security update

**Configuration hardening example** (these settings help against resource-exhaustion attacks such as rapid reset; they do not fix the memory-corruption vulnerabilities above, so upgrading is still required):

```nginx
http {
    http2_max_concurrent_streams 128;   # 128 is the NGINX default
    limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;

    server {
        listen 443 ssl;
        http2 on;
        limit_req zone=one burst=20 nodelay;
    }
}
```

### Reference Links

- [NGINX Security Advisories (CVE-2026-123007, CVE-2026-123633)](https://nginx.org/en/security_advisories.html)
- [CVE-2023-44487 – HTTP/2 Rapid Reset](https://nvd.nist.gov/vuln/detail/CVE-2023-44487)
- [Cloudflare HTTP/2 Rapid Reset Analysis](https://blog.cloudflare.com/technical-breakdown-http2-rapid-reset-ddos-attack/)

## 4. Post-Quantum Security Readiness

### Overview

As quantum computing progresses, quantum attacks on traditional cryptographic algorithms (RSA, ECC, Diffie-Hellman) are a real long-term threat. **'Harvest now, decrypt later'** attacks are a concern today: attackers may already be harvesting encrypted data that they intend to decrypt once they have a quantum computer powerful enough to do so.

Organizations must start getting ready for Post-Quantum Cryptography (PQC) right now, particularly for long-lived data and critical infrastructure.

### Why It Matters

- RSA and ECC will be broken by sufficiently large quantum computers (Shor's algorithm)
- Symmetric encryption (AES) is much less affected (Grover's algorithm); NIST does not expect to need to move away from AES
- Long-lived sensitive data transmitted today could be decrypted in the future
- Governments and standards bodies are setting PQC migration timelines:
  - **NIST** (IR 8547, final October 2026): quantum-vulnerable public-key algorithms deprecated after 2030 and disallowed after 2035
  - **India** (DST Task Force roadmap, 2026): quantum resiliency for Critical Information Infrastructure by 2029 and enterprise-wide PQC adoption by 2033
  - **EU** (coordinated roadmap, June 2025): Member States to start transitioning by the end of 2026 and move critical infrastructure by the end of 2030
  - **NSA** (CNSA 2.0): timelines for US national security systems

### NIST-Recommended Post-Quantum Algorithms

| Algorithm | Type | Use Case |
| --- | --- | --- |
| ML-KEM (CRYSTALS-Kyber) | Key encapsulation | Key exchange |
| ML-DSA (CRYSTALS-Dilithium) | Digital signature | Authentication |
| SLH-DSA (SPHINCS+) | Digital signature | Stateless hash-based signatures |
| FN-DSA (FALCON) | Digital signature | Compact signatures (FIPS 206, not yet final) |

ML-KEM, ML-DSA and SLH-DSA were published as final standards (FIPS 203, 204 and 205) in August 2024.

### Recommended Actions

- Inventory all cryptographic assets and dependencies (TLS, SSH, code signing, VPN)
- Assess which systems use RSA/ECC and prioritize migration
- Adopt hybrid modes (classical + PQC) where available (e.g., TLS hybrid key exchange)
- Engage vendors on PQC roadmaps for hardware, software, and cloud services
- Update policies to require crypto-agility in procurement
- Monitor NIST and vendor guidance for algorithm updates
- Test PQC implementations in non-production environments
- Plan for certificate and key lifecycle changes

### Practical Steps for Cloud Workloads

- Enable TLS 1.3 with hybrid key exchange where supported (for example `X25519MLKEM768`, offered by default in OpenSSL 3.5 and later)
- Review VPN and SSH configurations for PQC readiness (OpenSSH 10.0 and later use the hybrid `mlkem768x25519-sha256` key exchange by default)
- Ensure code signing and artifact integrity mechanisms can migrate
- Coordinate with cloud providers on their PQC timelines

### Reference Links

- [NIST Post-Quantum Cryptography](https://csrc.nist.gov/projects/post-quantum-cryptography)
- [NIST PQC Standards (FIPS 203/204/205)](https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards)
- [NIST IR 8547: Transition to Post-Quantum Cryptography Standards](https://csrc.nist.gov/pubs/ir/8547/final)
- [DST: Quantum-Safe Ecosystem in India](https://dst.gov.in/quantum-safe-ecosystem-in-india)
- [EU Coordinated Implementation Roadmap for the Transition to PQC](https://digital-strategy.ec.europa.eu/en/library/coordinated-implementation-roadmap-transition-post-quantum-cryptography)
- [NSA CNSA 2.0 Guidance](https://www.nsa.gov/Cybersecurity/Post-Quantum-Cybersecurity-Resources/)
- [Cloudflare PQC Research](https://blog.cloudflare.com/tag/post-quantum/)

## Summary: Priority Actions

| Vulnerability Area | Immediate Action | Long-Term Action |
| --- | --- | --- |
| React/Next.js | Patch to recommended versions | Enable dependency scanning |
| NGINX Rewrite | Upgrade NGINX, audit configs | Use named captures instead of unnamed captures (`$1`) in rewrite rules |
| NGINX HTTP/2 | Patch NGINX; disable HTTP/2 where not needed until patched | Keep NGINX on a supported, patched release |
| Post-Quantum | Inventory cryptographic assets | Plan PQC migration roadmap |

**Contact:** E2E Networks Security Operations Center ([soc@e2enetworks.com](mailto:soc@e2enetworks.com))

*This advisory is provided for informational purposes. Organizations should evaluate the applicability of these vulnerabilities within their own environments and take remediation measures as advised by the respective software vendors.*
