CriticalVulnerabilityGHSA-673q-mjm6-r5xrPublished 22 Oct 2026
Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays
Affected releases · next
- 16.x16.0.0 – 16.4.0Fixed in 16.4.1
On 16.x, the newest line:
npm install next@16.4.1Not affected
0.1.0 – 15.5.28
378 releases
Affected
16.0.0 – 16.4.0
43 releases
Fixed
16.4.1 – 16.4.2
2 releases, latest
Is your project affected?
Paste your package.json, or type the range you declare for next. It is read in your browser and sent nowhere.
What happens
Impact
A vulnerability in applications using App router with Cache Component can lead to remote code execution. The application needs to have a use cache function that returns multiple typed arrays.
Workaround
There is no known workaround for affected applications with such use cache functions. You should upgrade immediately even if your application does not have similar functions.