Many apps built with AI tools run on Next.js, and Next.js prints its own version into the public files every visitor downloads. Nordik's free scan reads that version and compares it with the day's list of critical and high advisories. Here is what it saw in its first day and a half.
The numbers
Between November 30 and December 1, 2026, Nordik's AI scanner read the public pages of 48 live websites. Most were small apps Nordik was looking at as possible customers; none is named here.
- 23 of the 48 showed a framework version that could be compared. The other 25 did not print one, or could not be read in full.
- 20 of those 23 run Next.js. The other 3 showed only a React version.
- 5 of the 20 Next.js apps run a version covered by critical advisory GHSA-2464-fhr4-w9xw, dated October 22, 2026.
- By line: 2 of the 17 on Next.js 16, the only app on 15, and both apps still on 14.
This is a small sample, not a survey. It counts what a stranger's browser can see, nothing more.
What the advisory says
The GitHub advisory is rated critical. It describes a memory problem in a library Next.js uses to resize images, which can lead to remote code execution, meaning a stranger running their own code on your server. The advisory says this applies when Next.js runs on glibc-based Linux.
The patched versions are 16.4.1 and 15.5.28. There is no patched 14 release, so an app on 14 has to move to 15.
The advisory also names a workaround: make sure the sharp package Next.js uses is 0.35.5 or later. Fresh installs get a fixed sharp on their own, so an app on an old Next.js version may already have it.
What the scan did and did not do
Only the version was compared. Nothing was sent to any of these apps to test the flaw, and whether each app uses image optimization, or which sharp it has, is not known from outside. A version in range is a reason to check, not proof of a break-in risk.
Check your own app in one minute
In your project folder, run npm ls next sharp. Or open your live site, open the browser console (right-click, Inspect, then Console) and type next.version. If it answers with a number, that is the version your visitors are served.
Then compare:
- On 16: you want 16.4.1 or later.
- On 15: you want 15.5.28 or later.
- On 14 or older: plan the move to 15.5.28 or later. The Next.js upgrade guide for version 15 lists what changes.
- Either way,
sharpshould be 0.35.5 or later.
After the upgrade, put the app online again and check the console once more, so you know the live site changed and not only your laptop.
Why apps fall behind
None of this needs a careless founder. An app built with an AI tool is usually installed once, at the version that was current that week, and then left alone while the features change. The lockfile keeps that exact version on every new deploy, which is what it is for, so the live site never moves unless someone asks it to.
Version 14 is the harder case. A jump to a new major version can change how pages fetch data and how caching works, so it gets put off. The advisory leaves no patched 14 release, which turns that delay into exposure.
Keep it from happening again
- Once a month, run
npm outdatedand read the lines for next, react and sharp. - If your code is on GitHub, turn on Dependabot security updates. It opens a pull request when an advisory covers a package you use.
- After any upgrade, sign in, try the pages that show private data, and check the live version in the console.
- Write the date and version in a note, so next month starts from a known point.
A prompt to plan the upgrade
Paste this into the AI tool you build with. It reads and plans; it changes nothing until you say so.
Fix prompt
Check my Next.js app against GitHub advisory GHSA-2464-fhr4-w9xw and do not change anything yet. Tell me the exact next and sharp versions installed, from the lockfile. If next is in the affected ranges (10.0.0 to 15.5.27, or 16.0.0 to 16.4.0), give me the smallest upgrade that clears it: 16.4.1 or later on 16, 15.5.28 or later on 15 or below. If I am on 14 or older, list the breaking changes of the move to 15 that touch my files. Wait for my go-ahead before changing anything.Let the scan look for you
The same version check runs in Nordik's free scan, along with the other outside checks. The free scan accepts apps from any platform and points you at where to look first. It is a starting point, not a verdict.