CriticalGHSA-673q-mjm6-r5xr
Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays
Published 22 Oct 2026 · Updated 22 Oct 2026
Affected package
nextnpm
- Affected
- >=16.0.0 <16.4.1
- Fixed in
- 16.4.1
Update to the fixed version for your release line, for example:
npm install next@16.4.1Details
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.
Is GHSA-673q-mjm6-r5xr in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected next, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.