What changed
On August 25, 2026, Next.js moved its scheduled August security release forward by one day and published Next.js 16.3.3 and 15.5.24. The release fixes two critical unauthenticated remote-code-execution vulnerabilities. One affects the Image Optimization API when AVIF files are optimized through the underlying libheif path used by sharp. The other affects Windows-hosted applications using the Pages Router or App Router without Cache Components. The pre-announcement had only identified one undisclosed critical issue and an August 26 release date; builders now have the exact affected versions, patch versions and exposure conditions.
Why it matters
This is now an actionable patch event rather than an advance warning. Both vulnerabilities are network-reachable and require no authentication, and the Windows-hosted issue has no known workaround besides upgrading. The AVIF issue affects a much broader historical version range, while the Windows issue depends on deployment environment and framework configuration. Teams should upgrade first and use the disclosed conditions to prioritize validation rather than waiting for exploit evidence.
The release moved forward and expanded to two critical flaws
Next.js published the release on August 25 rather than the originally scheduled August 26 date. The final advisory contains two critical vulnerabilities, not one. Patched releases are 16.3.3 on the Active LTS line and 15.5.24 on the Maintenance LTS line.
AVIF image optimization can lead to remote code execution
The AVIF vulnerability affects Next.js versions from 10.0.0 up to, but not including, 15.5.24 and versions before 16.3.3. Next.js says the issue originates in the libheif library used through sharp by the Image Optimization API. A malicious AVIF that reaches the optimization path can lead to remote code execution. Until the fix propagated, AVIF optimization was disabled; upgrading is the durable remediation.
Windows-hosted applications have a separate RCE path
A second vulnerability affects Next.js 13.4 through 15.5.23 and 16.0 through 16.3.2 when applications are hosted on a Windows filesystem and use the Pages Router or App Router without Cache Components. The advisory says there is no known workaround for affected Windows-hosted applications and recommends upgrading immediately.
Exposure is configuration-dependent, but patching is still the primary action
The two flaws have different prerequisites, so not every Next.js deployment is equally exposed. Linux-hosted applications are not described as affected by the Windows-specific flaw, and the AVIF issue depends on AVIF files reaching image optimization. Those distinctions are useful for incident triage, but they do not remove the need to move supported applications to 16.3.3 or 15.5.24.