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

Next.js Fixes Two Critical Unauthenticated Remote-Code-Execution Flaws

Vulnerability Disclosure · 14 sources · Updated 3mo ago · First seen Aug 26, 2026

Next.js Fixes Two Critical Unauthenticated Remote-Code-Execution Flaws

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.

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.

4 events · Aug 2026 – Sep 1, 2026
  1. Sep 1, 20263mo ago

    CVE-2026-75604 path traversal and RCE chain detailed

    The CVE record detailed that improperly escaped encoded Windows path separators can traverse outside Next.js incremental-cache paths on affected Windows deployments. The traversal may expose private build data, including the server-reference-manifest encryption key, whose disclosure can enable remote code execution.

    CVE-2026-75604 - Next.js: Unauthenticated Remote Code Execution on windows-hosted servers
  2. Aug 26, 20263mo ago

    Canadian Cyber Centre issues Next.js critical-vulnerability advisory

    The Canadian Centre for Cyber Security issued advisory AV26-851 warning that Next.js 15.5 before 15.5.24 and 16.3 before 16.3.3 are affected by critical vulnerabilities. It urged users and administrators to review the August 2026 security release and apply available updates.

    Next.js security advisory (AV26-851) - Canadian Centre for Cyber Security
  3. Aug 2026

    libheif heap-overflow mechanism detailed for Next.js AVIF RCE path

    Technical details identified GHSA-g89c-p67h-r497 as a libheif heap buffer overflow underlying the malicious AVIF/HEIC processing path in Next.js Image Optimization. The flaw can create duplicate Alpha planes with different bit depths, leading to an undersized allocation and 16-bit writes; libheif 1.23.2 was identified as the patched upstream version.

    Next.js RCE Vulnerability: Critical AVIF & libheif Flaws Explained | The CyberSec Guru
  4. Aug 2026

    Next.js releases fixes for two critical unauthenticated RCE flaws

    Next.js released versions 16.3.3 and 15.5.24 to address two critical unauthenticated remote-code-execution vulnerabilities. One involves attacker-controlled AVIF images processed by the Image Optimization API through sharp and libheif; the releases disable AVIF optimization pending an upstream libheif fix. The other, CVE-2026-75604, affects Windows-hosted applications using both Pages Router and App Router without Cache Components.

    August 2026 Security Release | Next.js
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.