Two critical RCE vulnerabilities in Next.js 15.x and 16.x require immediate upgrades for self-hosted apps; Vercel-hosted apps are already protected.
Summary
Self-hosted Next.js deployments face unauthenticated remote code execution via AVIF image processing and Windows filesystem paths. Vercel customers see zero operational overhead, but self-hosted teams must upgrade or disable AVIF handling immediately.
Why it matters
Self-hosted Next.js deployments face unauthenticated remote code execution via AVIF image processing and Windows filesystem paths. Vercel customers see zero operational overhead, but self-hosted teams must upgrade or disable AVIF handling immediately.
Implementation verdict
For Vercel deployments: nothing required, AVIF disabled server-side. For self-hosted: upgrade to next@15.5.24 (15.x) or next@16.3.3 (16.x) without workaround for Windows variant—patched versions serve AVIF as-is pending libheif fix. Action required now if self-hosted on Windows.
Sources
Dev Signal
Get briefs like this in your inbox — free, every weekday.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.