Critical RCE Vulnerabilities in Next.js Windows Servers
Score: 7/10

Critical RCE Vulnerabilities in Next.js Windows Servers

Next.js released patches for two critical unauthenticated RCE vulnerabilities affecting Windows-hosted servers and the Image Optimization API using AVIF.

Executive Summary

On August 25, 2026, Next.js disclosed two critical-severity vulnerabilities (CVE-2026-75604 and GHSA-2xp9-vwfh-vxw4) that allow for unauthenticated remote code execution (RCE). CVE-2026-75604 is a path traversal flaw specifically impacting applications hosted on Windows filesystems using both the Pages and App Routers. The second issue involves an upstream heap buffer overflow in the libheif library, triggered during AVIF image optimization.

Technical analysis indicates that CVE-2026-75604 has no known workaround for affected Windows deployments, making immediate patching to versions 15.5.24 or 16.3.3 mandatory. For the AVIF vulnerability, Next.js has temporarily disabled AVIF optimization in patched versions to mitigate risk while the fixed libheif dependency propagates through the supply chain.

While there is currently no confirmed in-the-wild exploitation by named threat actors, a functional public PoC for the Windows RCE has been released by independent researchers. Given the unauthenticated nature of these flaws and their high impact on confidentiality and integrity, they represent a significant risk to internet-facing web applications.

Key Details

Threat Name

CVE-2026-75604

Affects

Next.js 13.4.0 before 15.5.24, Next.js 16.0.0 before 16.3.3, Next.js (Windows-hosted), Pages Router, App Router, Next.js >=13.4 <15.5.24, Next.js >=16.0 <16.3.3, Next.js (Windows server), next@16.2.11, Next.js >= 13.4 and < 15.5.24, Next.js >= 16.0 and < 16.3.3, Adobe Acrobat, Adobe Reader

Adversary

—

MITRE Techniques

Malware/Tools

None identified

Report Score

7out of 10
Quality Score
Good
IOC Quality4
TTP Details8
Detection Guidance6
Enterprise Relevance9
Clarity & Structure9
Technical Depth7

Sources