AZSecureby Azguards Technolabs

Security bulletins · Vercel (Next.js)

Next.js August 2026 security release: two critical RCEs (CVE-2026-75604)

Two ways to run code on a Next.js server without logging in: a malicious AVIF image sent to the image optimizer, or a bug on Windows-hosted servers.

CriticalNode.js

Free website scan

Is your store serving malware right now?

Checks home, product, cart and checkout pages, blocklists, exposed files and spam shown only to Google. Takes about a minute.

What happened

A flaw in libheif, which sharp uses to read AVIF images, let a malicious image sent to Next.js Image Optimization run code on the server. The patched releases turn AVIF optimization off.

Separately, CVE-2026-75604 allowed code execution on Windows-hosted servers running both the Pages Router and the App Router without Cache Components. Linux and macOS hosts weren't affected by that one.

What to do

  1. Upgrade Next.js to the latest release on your line, rebuild and redeploy.

Not sure if your site is affected?

The free scan looks at your site from outside: what it runs, exposed files, injected scripts and known malicious domains. It can't read your exact patch level. A deep scan can: it checks the installed versions and packages against this bulletin and looks for what attackers leave behind.

Patched late, or not sure when?

A deep scan checks your server with read-only access, and an Azguards engineer signs off the report.

Sources

Posted by the Azguards security team. Last reviewed .