Skip to content
Brief Security & Trust ·

Next.js flaw lets attackers run code on servers using cached typed arrays

GitHub's advisory database says apps with certain cache functions can be hit by remote code execution without a login.

In brief
  • A Next.js flaw can let an outsider run code on a server with no login. It affects App Router apps with Cache Components and a cache function returning several typed arrays.
  • No workaround is known for such apps. The advisory says to upgrade now and links to the v16.4.1 release.

The GitHub Advisory Database published a warning about Next.js on 22 October 2026. It describes a flaw that lets an outsider run code on a server without logging in. The advisory says apps are at risk if they use the App Router with Cache Components and have a `use cache` function that returns several typed arrays.

The advisory says no workaround is known for apps with such functions. It tells everyone to upgrade now, even without a similar function, and links to the v16.4.1 release. The advisory text WebPulse reviewed does not include affected versions, a severity score or a CVE number (a public tracking ID), so the full advisory page should be checked. That text also does not say whether attackers are using the flaw.

The advisory tells teams to upgrade even if their code has no such function. Teams can list their App Router apps that use Cache Components, search for `use cache` functions that return typed arrays, and confirm the target version in the full advisory.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: GitHub Advisory Database.