Next.js Fixes Two Critical Unauthenticated Remote-Code-Execution Flaws
Vulnerability Disclosure · 14 sources · Updated 3mo ago · First seen Aug 26, 2026

Next.js released v16.3.3 and v15.5.24 to remediate two critical unauthenticated remote-code-execution vulnerabilities. One flaw can be triggered when the Image Optimization API processes an attacker-controlled AVIF image through the sharp dependency and its underlying libheif library; Next.js disabled AVIF optimization while awaiting propagation of an upstream libheif fix.
The second vulnerability, CVE-2026-75604, affects Windows-hosted applications using both the Pages Router and App Router without Cache Components; Linux and macOS deployments are not affected, and no workaround is available. The Canadian Centre for Cyber Security advised organizations running Next.js 15.5 earlier than 15.5.24 or 16.3 earlier than 16.3.3 to review the security release and apply the updates.


