Input validation error in Next.js - CVE-2026-96889
Published: October 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to a memory-related flaw in an upstream library used by the Next.js Image Optimization API when processing SVG files. A remote attacker can supply SVG files for processing to execute arbitrary code.
Exploitation requires Next.js to run on glibc-based Linux.