{"id":"GHSA-673q-mjm6-r5xr","aliases":["GHSA-673q-mjm6-r5xr"],"related":[],"kind":"vulnerability","state":"published","title":"Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays","summary":"## Impact\n\nA 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.\n\n## Workaround\n\nThere 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"## Impact\n\nA 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.\n\n## Workaround\n\nThere 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.","format":"markdown","source":"ghsa"}],"published":"2026-10-22T16:42:31.000Z","modified":"2026-10-22T17:00:04.201Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.4.1"}],"ecosystem":"npm","package":"next","purl":"pkg:npm/next","source":"ghsa"}],"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-673q-mjm6-r5xr","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vercel/next.js/commit/a4cea6aec5da89d116b8960e113189cf51745d2f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vercel/next.js","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/vercel/next.js/releases/tag/v16.4.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-673q-mjm6-r5xr","url":"https://github.com/advisories/GHSA-673q-mjm6-r5xr","licence":"CC-BY-4.0","modified":"2026-10-22T17:00:04.201Z"}],"updatedAt":"2026-11-25T22:56:44.316Z"}