Critical Next.js Vulnerabilities Allow Hackers to Execute Malicious Code Remotely
Next.js patches two unauthenticated remote-code-execution flaws and a denial-of-service bug in 15.5.28 and 16.4.1.
Next.js released fixes for two critical unauthenticated remote-code-execution flaws, both scored 9.5, and a high-severity denial-of-service flaw scored 8.2. GHSA-673q-mjm6-r5xr affects App Router apps using Cache Components on Next.js 16.0.0–16.4.0 when a cached function returns multiple typed arrays; it has no CVE and is fixed in 16.4.1. CVE-2026-96889 is a memory weakness in SVG handling by the Image Optimization API on glibc Linux, affecting 10.0.0–15.5.27 and 16.0.0–16.4.0, and is addressed with sharp 0.35.5 or later. GHSA-p3m5-59mp-jv5r can exhaust CPU through Server Actions on versions 13.0.0–15.5.27 and 16.0.0–16.4.0; patched releases are 15.5.28 and 16.4.1. No exploitation was reported.
- Two unauthenticated RCE flaws score CVSS 9.5; the DoS scores 8.2.
- Cache-component RCE affects Next.js 16.0.0–16.4.0 and has no CVE.
- CVE-2026-96889 is an SVG image-optimization memory flaw on glibc Linux.
- Fixes are Next.js 15.5.28 and 16.4.1; sharp 0.35.5 covers only the image bug.
- CVEs
- CVE-2026-96889
- Vendors
- Vercel
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-96889 | Use-After-Free in librsvg SVG Parsing via Nested XIncludes and Duplicate Entities | 7.8 | 1% | PoC |
From the original article
2 min read at cybersecuritynews.com
Next. js has released security updates for two critical vulnerabilities that could let remote attackers run malicious code without logging in. A third, high-severity flaw could stop affected applications from serving requests.
By Abinaya · cybersecuritynews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.