Article
Next.js and Node.js Security Updates, October 2026: What to Patch First
Next.js 15.5.28 and 16.4.1 fix two critical remote code execution flaws. Node.js 26.12.1, 24.22.1 and 22.23.4 fix ten CVEs. See the patch table and…
Quick links
Press Enter to search, Esc to close
Exploited vulnerability
A critical flaw in the Next.js Image Optimization API.
In short
CVE-2026-96889 is a critical flaw in the Next.js Image Optimization API. Vercel says a memory flaw in an upstream library can lead to unauthenticated remote code execution when SVG files are used and Next.js runs on glibc-based Linux. The Next.js advisory rates it 9.5 on CVSS v4.0. It is fixed in Next.js 15.5.28 and 16.4.1.
The Next.js advisory says a memory-related flaw in an upstream library used for Image Optimization can lead to remote code execution when Next.js runs on glibc-based Linux. Its CVSS v4.0 vector rates the flaw Critical. It is reachable over the network, needs no privileges and no user interaction, but has attack requirements present.
The NVD record for the same CVE id describes the upstream cause in librsvg. When the library parses an SVG with nested XML includes and a duplicate entity declaration, it can free an entity that is still in use. NVD says an attacker could cause a denial of service or run code. Red Hat scored the library flaw 7.8 on CVSS v3.1 with a local attack vector and user interaction required. The Next.js advisory scores the Next.js case separately.
The NVD record carries a CISA coordinator entry dated 25 September 2026 with exploitation marked "poc", automatable "no" and technical impact "total". In our dark web and Telegram sources, a vulnerability feed listed a public lab proof of concept for the Next.js case on 16 October 2026. We did not open it.
The advisory lists Next.js 10.0.0 to 15.5.27 and the 16 line above 16.0.0 up to 16.4.0 as affected. The patched versions are 15.5.28 and 16.4.1. Vercel's post names 16.4 as the Active LTS line and 15.5 as the Maintenance LTS line.
The advisory ties the flaw to Next.js running on glibc-based Linux and to SVG files in the Image Optimization API. It does not say that other operating systems or hosts are affected, and it makes no statement about managed hosting. As a workaround, Vercel says to make sure the sharp version used by Next.js is 0.35.5 or later. Upgrading Next.js brings a fixed sharp version automatically.
NVD also lists CVE-2026-114111, a record from VulnCheck. It says sharp before 0.35.5 bundles the affected librsvg and can lead to code execution on glibc-based Linux.
For the full list of fixes shipped on 14 October, including the use cache and Server Actions flaws, read our Next.js and Node.js patch guide.
The RustSec database and the NVD record publish the upstream librsvg use-after-free flaw that carries this CVE id.
The CISA coordinator entry on the NVD record marks exploitation as "poc", automatable as "no" and technical impact as "total".
Vercel publishes Next.js 15.5.28 and 16.4.1 and the advisory GHSA-2464-fhr4-w9xw, rated Critical.
Run npm ls next in each project and in each container image. Anything from 10.0.0 to 15.5.27, or 16.x above 16.0.0 up to 16.4.0, is in scope.
Install next@15.5.28 for the 15.5 line or next@16.4.1 for the 16.4 line, rebuild the image and redeploy. Vercel says this also brings a fixed sharp.
Run npm ls sharp. If you cannot update Next.js today, install sharp 0.35.5 or later, as the Vercel workaround says, and redeploy.
The advisory names glibc-based Linux. Note which of your containers and servers use it, and do the exposed image endpoints first.
Review logs of the image endpoint for unusual SVG requests, and watch for web processes that start shells or download tools. The vendor advisories publish no indicators of compromise.
It is a critical flaw in the Next.js Image Optimization API. A memory flaw in an upstream SVG library can lead to unauthenticated remote code execution on glibc-based Linux. The Next.js advisory rates it 9.5 on CVSS v4.0.
Next.js 15.5.28 and 16.4.1, published on 14 October 2026. Versions from 10.0.0 to 15.5.27 and the 16 line above 16.0.0 up to 16.4.0 are listed as affected.
The NVD record describes the library flaw alone, which Red Hat scored 7.8 on CVSS v3.1 with a local attack vector. The Next.js advisory scores the Next.js case separately, at 9.5 on CVSS v4.0 with a network attack vector.
We found no statement of exploitation from Vercel, and the CVE is not in the CISA Known Exploited Vulnerabilities catalog as of 21 October 2026. CISA's entry in the NVD record marks exploitation as proof of concept, so patch now.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.