# GHSA-673q-mjm6-r5xr: Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays

- Severity: Critical (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-10-22T16:42:31.000Z
- Modified: 2026-10-22T17:00:04.201Z
- Weaknesses: 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.

(As written by GitHub Advisory Database.)

## Affected

- next (npm): from 16.0.0 before 16.4.1

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-673q-mjm6-r5xr> (web)
- <https://github.com/vercel/next.js/commit/a4cea6aec5da89d116b8960e113189cf51745d2f> (web)
- <https://github.com/vercel/next.js> (package)
- <https://github.com/vercel/next.js/releases/tag/v16.4.1> (web)

## Sources

- GitHub Advisory Database: [GHSA-673q-mjm6-r5xr](https://github.com/advisories/GHSA-673q-mjm6-r5xr), CC-BY-4.0, modified 2026-10-22

---

Page: https://cve.day/GHSA-673q-mjm6-r5xr · Whole record: https://cve.day/GHSA-673q-mjm6-r5xr.json · Rebuilt by cve.day 2026-11-25T22:56:44.316Z
