Critical · 9.1 React GHSA-p3m5-59mp-jv5r CVE-2026-94482 GHSA-2464-fhr4-w9xw GHSA-673q-mjm6-r5xr
Three Next.js Vulnerabilities Patched: DoS via Server Actions and Two RCE Issues
Next.js has fixed three vulnerabilities affecting the App Router: a denial-of-service issue in Server Actions (CVE-2026-94482), a remote code execution risk in the Image Optimization API tied to SVG handling, and a remote code execution risk in `use cache` functions returning typed arrays. Updating to the patched Next.js releases resolves all three.
By PatchBriefing · ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
Three separate security advisories were published for Next.js, a widely used React framework for building full-stack web applications. The issues affect the App Router and include a denial-of-service vulnerability in Server Actions, a remote code execution risk in the Image Optimization API related to SVG file handling, and a remote code execution risk in `use cache` functions that return typed arrays. All three are fixed in the current Next.js releases.
What happened
Three vulnerabilities were disclosed in Next.js. The first, tracked as CVE-2026-94482, allows crafted requests against App Router applications that use at least one Server Action to cause excessive CPU consumption, blocking the processing of further requests in the same process. The second involves an upstream library used by the Image Optimization API; a memory-related flaw in that library can lead to remote code execution when Next.js runs on glibc-based Linux and SVG files are processed. The third affects applications using the App Router with Cache Components: a `use cache` function that returns multiple typed arrays can be exploited to achieve remote code execution through unsafe deserialization.
Technical cause
CVE-2026-94482 is classified as CWE-770 (Allocation of Resources Without Limits or Throttling): the Server Actions processing path in the App Router does not sufficiently limit resource consumption for certain crafted requests. The Image Optimization issue is classified as CWE-1395 (Dependency on Vulnerable Third-Party Component): Next.js relies on an upstream library for image processing that contains a memory-related flaw exploitable through SVG files, specifically on glibc-based Linux systems. The `use cache` issue is classified as CWE-502 (Deserialization of Untrusted Data): functions returning multiple typed arrays can trigger unsafe deserialization behavior that an attacker can leverage for remote code execution.
Why it matters
The Server Actions denial-of-service issue can be triggered remotely without authentication or user interaction, and affects any App Router application with at least one Server Action — a very common configuration. The two remote code execution issues, while requiring specific feature usage (SVG-based image optimization on glibc-based Linux, or `use cache` functions returning multiple typed arrays), carry severe potential impact if those conditions are met, since successful exploitation could allow an attacker to execute arbitrary code on the server.
Who is affected
Applications using the Pages Router, or App Router applications that do not use Server Actions, are not affected by the Server Actions DoS issue. The Image Optimization issue affects Next.js deployments that process SVG files through the Image Optimization API on glibc-based Linux systems. The `use cache` issue affects applications using the App Router with Cache Components that include a `use cache` function returning multiple typed arrays, though the advisory recommends upgrading regardless of whether such functions are present.
Affected versions
For the Server Actions DoS issue (CVE-2026-94482), the `next` package is affected from version 13.0.0 up to and including 15.5.27, and from version 16.0.0 up to and including 16.4.0. For the Image Optimization issue, the `next` package is affected from version 10.0.0 up to and including 15.5.27, and from version 16.0.0 up to and including 16.4.0. For the `use cache` issue, the `next` package is affected from version 16.0.0 up to and including 16.4.0.
Fixes and mitigation
The Server Actions DoS issue and the Image Optimization issue are both fixed in `next` versions 15.5.28 and 16.4.1. The `use cache` deserialization issue is fixed in `next` version 16.4.1. As a workaround for the Image Optimization issue, ensuring the `sharp` dependency used by Next.js is at version 0.35.5 or later also mitigates the problem; fresh installs of Next.js automatically receive a fixed version of `sharp`. No workaround is known for the `use cache` deserialization issue — affected applications should upgrade.
Recommended action
Upgrade Next.js to version 15.5.28 or 16.4.1 as soon as possible, regardless of which specific features (Server Actions, SVG-based image optimization, or `use cache` with typed arrays) your application uses, since the combined fixes address all three issues. If an immediate framework upgrade is not possible, verify that the `sharp` dependency is at version 0.35.5 or later as an interim mitigation for the Image Optimization issue, but note this does not address the other two vulnerabilities.
PatchBriefing score
9.1 / 10 · Critical
Official CVSS: 8.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS 0.0051 (36 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- next >= 16.0.0, <= 16.4.0
- vulnerable
- next ≥ 16.0.0 < 16.4.1
- vulnerable
- ≥ 15.5.28
- patched
- ≥ 16.4.1
- patched
- next >= 16.0.0, <= 16.4.0
- vulnerable
- next ≥ 16.0.0 < 16.4.1
- vulnerable
- ≥ 15.5.28
- patched
- ≥ 16.4.1
- patched
- next >= 16.0.0, <= 16.4.0
- vulnerable
- next ≥ 16.0.0 < 16.4.1
- vulnerable
- ≥ 16.4.1
- patched
Reported fixes
The Server Actions DoS issue and the Image Optimization issue are both fixed in `next` versions 15.5.28 and 16.4.1. The `use cache` deserialization issue is fixed in `next` version 16.4.1. As a workaround for the Image Optimization issue, ensuring the `sharp` dependency used by Next.js is at version 0.35.5 or later also mitigates the problem; fresh installs of Next.js automatically receive a fixed version of `sharp`. No workaround is known for the `use cache` deserialization issue — affected applications should upgrade.
How this was built
7 source records were collected, matched and used to prepare the report above.
-
GitHub Advisory Database database
-
GitHub Advisory Database database
-
NVD (NIST) database
-
GitHub Advisory Database database
-
OSV.dev database
-
OSV.dev database
Revision history
- Published
- Generated
- Published
- Generated