Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2567+ Articles
161+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. News
  3. Next.js Patches Two Critical RCE Flaws — AVIF and Windows Path Traversal
Next.js Patches Two Critical RCE Flaws — AVIF and Windows Path Traversal
NEWS

Next.js Patches Two Critical RCE Flaws — AVIF and Windows Path Traversal

Vercel patched two critical Next.js RCEs: a libheif AVIF heap overflow (CVSS 9.5) and a Windows-only path traversal flaw (CVSS 9.0).

Dylan H.

News Desk

August 27, 2026
3 min read

What Happened

Vercel has shipped patches for two critical-severity vulnerabilities in the Next.js framework, both capable of unauthenticated remote code execution. One is triggered by specially crafted AVIF image files; the other is a path traversal flaw affecting server-hosted deployments on Windows.


Vulnerability #1: AVIF Heap Buffer Overflow

AttributeValue
AdvisoryGHSA-2xp9-vwfh-vxw4
CVSS Score9.5 (Critical)
Root CauseHeap buffer overflow in libheif's image scaling code (underlying: GHSA-g89c-p67h-r497)
Affected VersionsNext.js 10.0.0 through 15.5.23, and all 16.x releases through 16.3.2
Discovered Byrootxharsh (finder), KarimPwnz (coordinator); also flagged by the Hacktron team

Crafted AVIF files containing nested identity-derivation references cause libheif to allocate undersized buffers, leading to 16,384-byte boundary overwrites. Researchers who reported the issue said they "were able to get RCE using this on multiple applications." The flaw only affects sites that have explicitly enabled AVIF image processing via next.config.js.


Vulnerability #2: Windows Path Traversal RCE

AttributeValue
CVE IDCVE-2026-75604
CVSS Score9.0 (Critical)
Affected VersionsNext.js 13.4 through 15.5.23, and 16.0 through 16.3.2
Platform ImpactWindows-hosted deployments only — Linux and macOS are unaffected
Discovered Byevolutionstorm and B0RI

Vercel's advisory states plainly: "there is no known workaround for affected windows-hosted applications. You should upgrade immediately if your server is hosted on Windows." Full technical details of the attack mechanism have not been disclosed.


Patched Versions

Release LinePatched Version
Maintenance LTS15.5.24
Active LTS16.3.3

Remediation

# Upgrade to the patched maintenance LTS
npm install next@15.5.24
 
# Or upgrade to the patched active LTS
npm install next@16.3.3
  • Vercel-hosted applications receive automatic protection with no user action required.
  • Self-hosted deployments — especially those running on Windows or with AVIF processing enabled — should upgrade immediately.
  • If AVIF handling isn't required, consider disabling it in next.config.js as an interim mitigation while you plan the upgrade.

Context

This marks the second scheduled release under Vercel's formal monthly security disclosure program, launched in July 2026. Vercel has attributed the rising pace of vulnerability discovery in part to LLM-assisted security research, which is accelerating how quickly flaws like this are found and reported across the framework ecosystem.


Sources

  • The Hacker News — Next.js Patches Critical AVIF and Windows Flaws Enabling Unauthenticated RCE
#Next.js#Vercel#RCE#AVIF#Windows#Security Updates#libheif

Related Articles

Next.js Creator Vercel Hacked

Vercel confirmed suffering a breach after a hacker claiming to be part of ShinyHunters offered to sell stolen data for $2 million, affecting the company...

3 min read

Building Desktop Apps with Electron and Next.js

Create cross-platform desktop applications by combining Electron for native capabilities with Next.js for the UI. Covers IPC communication, system tray,...

5 min read

Building Offline-First PWAs with Next.js and SQLite

Learn how to build a Progressive Web App with offline-first architecture using Next.js, SQLite for local storage, and Supabase for cloud sync. Includes...

5 min read
Back to all News