Advisory

GHSA-673q-mjm6-r5xr

Also known as: None

Summary

Next.js: Unauthenticated Remote Code Execution in use cache functions returning typed arrays

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-10-22 16:42 UTC
Modified
2026-10-22 17:00 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 16.0.0, fixed 16.4.1 (semver)

Fixed versions

16.4.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences