Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilitywidely-deployed-product-advisoryopen-source-dependency-vulnerabilityproof-of-concept-release

Critical Next.js RCE Flaws in AVIF Processing and Windows Cache Paths

Vulnerability Disclosure · 3 sources · Updated 2mo ago · First seen Sep 4, 2026

Critical Next.js RCE Flaws in AVIF Processing and Windows Cache Paths

Vercel issued out-of-cycle updates for two critical unauthenticated remote-code-execution flaws in Next.js: an AVIF/HEIC image-processing heap overflow and Windows-only path traversal, tracked as CVE-2026-75604. The image flaw is rooted in libheif, reached through Next.js's sharp and libvips image-optimization chain; malicious files with duplicate alpha channels of differing bit depths can trigger a controlled heap overflow. The issue, reported with a CVSS v4 score of 9.5, was confirmed against multiple production applications, and patched Next.js releases disable AVIF optimization while an upstream dependency fix propagates.

CVE-2026-75604 affects the incremental cache on Windows because route paths do not properly escape backslashes. Attackers can use percent-encoded backslashes to leave the cache directory, read files available to the server process, and write attacker-controlled cache content to selected paths; under susceptible Server Action patterns, this can be chained to RCE. Organizations running affected Windows deployments using the Pages Router or App Router without Cache Components should upgrade to Next.js 15.5.24 or 16.3.3; no configuration-only mitigation is available. Linux and macOS are not affected by the cache-path flaw.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Aug 25, 2026
  1. Reported Sep 3, 20263mo ago

    Exploits reported available for Next.js Windows RCE flaw

    Tenable reported that exploits are available for CVE-2026-75604, the Windows incremental-cache path traversal vulnerability in Vercel Next.js. The flaw is remotely exploitable without authentication or user interaction and can affect confidentiality, integrity, and availability.

    Next.js Framework 13.4 < 15.5.24 / 16.x < 16.3.3 RCE (Windows) | Tenable®
  2. Reported Aug 28, 20263mo ago

    Researchers confirm AVIF vulnerability can achieve RCE in production

    Researchers reported confirming remote code execution against multiple production applications using crafted AVIF/HEIF input processed through Next.js image optimization. The underlying libheif flaw can cause a controlled heap buffer overflow through duplicate alpha channels with differing bit depths.

    Next.js Critical RCE - Two CVEs, One Image File, and a Path Traversal That Only Hits Windows | by Bash Overflow | Aug, 2026 | Medium
  3. Aug 25, 20263mo ago

    Vercel releases Next.js fixes for two critical RCE vulnerabilities

    On August 25, 2026, Vercel issued an out-of-cycle Next.js security release fixing a critical AVIF image-processing heap overflow and the Windows incremental-cache path traversal flaw later identified as CVE-2026-75604. The fixes were released in Next.js 15.5.24 and 16.3.3; the AVIF mitigation disabled AVIF optimization, while the traversal fix escaped backslashes and enforced cache-path containment.

    Next.js Critical RCE - Two CVEs, One Image File, and a Path Traversal That Only Hits Windows | by Bash Overflow | Aug, 2026 | Medium
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Next.Js
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.