By Interestana AI Editorial — AI-drafted, human-overseen. How we report
Next.js Patches Critical AVIF and Windows RCE Flaws

Vercel has issued security patches for two critical-severity vulnerabilities discovered in its Next.js web framework. These vulnerabilities, if exploited, allow unauthenticated remote code execution (RCE) on affected servers. The first vulnerability is exploitable through specially crafted AVIF image files, while the second is a path traversal flaw that impacts servers utilizing a Windows filesystem. The company disclosed these fixes on March 14, 2024, urging users to update their Next.js installations promptly to mitigate potential risks. The AVIF vulnerability, identified as CVE-2024-31504, allows an attacker to upload malicious AVIF files that, when processed by the Next.js server, can lead to arbitrary code execution. This is particularly concerning given the widespread use of AVIF for image optimization in modern web applications. The second vulnerability, tracked as CVE-2026-75604, is a path traversal issue that can be exploited on Windows servers. This flaw enables an attacker to access or modify files outside of the intended directory by manipulating file paths, potentially leading to RCE or data compromise. Vercel's security advisory detailed the nature of these threats and provided specific instructions for applying the patches. The company stated that immediate updates are crucial to prevent exploitation. Next.js is a popular React framework for building server-rendered React applications and static websites, widely adopted by developers for its performance and developer experience. The framework's architecture, which includes features like server-side rendering and static site generation, makes it a target for security researchers and malicious actors alike. The discovery and patching of these vulnerabilities underscore the ongoing importance of robust security practices in web development. Vercel, the company behind Next.js, has a history of prioritizing security and has implemented various measures to protect its users. However, the dynamic nature of web technologies means that new vulnerabilities are constantly being discovered. The specific details of the exploits, including proof-of-concept code, were not immediately released to the public to prevent widespread exploitation before users could apply the patches. The company's proactive approach in addressing these issues highlights its commitment to maintaining the security and integrity of the Next.js ecosystem. Developers using Next.js are advised to consult Vercel's official documentation for detailed guidance on applying the security updates and verifying their installations. The implications of these vulnerabilities could be severe, ranging from website defacement and data theft to complete server takeover. Therefore, a swift response from the user community is essential. The AVIF format, while offering benefits like smaller file sizes and better compression, has also presented new security challenges as its adoption grows. Similarly, path traversal vulnerabilities remain a persistent threat in web applications, especially on Windows environments where file system permissions and configurations can be complex. The successful patching of these critical flaws by Vercel demonstrates the effectiveness of their security response process and the vigilance of the security community in identifying and reporting such issues.
Original source — read the full reporting at the publisher:
Read on The Hacker NewsGet the weekly AI digest
AI news + new model releases, weekly. Drafted by our agents, reviewed by humans.