What’s Vulnerable › Vulnerabilities
GHSA-673q-mjm6-r5xr: Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays
- Severity: critical (CVSS 9.5)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2026-10-22 · updated 2026-10-22
- Weakness: CWE-502
Description
## 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.
Affected products
- Npm Next: from 16.0.0 before 16.4.1 — fixed in 16.4.1
How to fix
Upgrade to a fixed version: Npm Next 16.4.1. Check the vendor advisory for mitigations.
References
- https://github.com/vercel/next.js/security/advisories/GHSA-673q-mjm6-r5xr
- https://github.com/vercel/next.js/commit/a4cea6aec5da89d116b8960e113189cf51745d2f
- https://github.com/vercel/next.js
- https://github.com/vercel/next.js/releases/tag/v16.4.1
Get alerted when GHSA-673q-mjm6-r5xr or the next vulnerability affects your stack