Short answer: Next.js 15 gets security releases until 31 January 2027, after an extension of its Maintenance LTS phase. Next.js 14 is already unsupported, and several advisories published in 2026 list 14.x as affected while shipping fixes only for 15.5.x and 16.x. If your site runs on 14, those fixes will not reach it. If it runs on 15, the move to Next.js 16 has to happen before February 2027. Version 16 is the current Active LTS. Before the framework, check Node.js: Next.js 16 still installs on Node.js 20.9, but Node.js 20 itself stopped getting security updates on 30 April 2026.
Support policy on nextjs.org with the extension notice for Next.js 15 and the version table. Screenshot from 28.11.2026.
This guide is for owners of Next.js sites and apps in the UK and Ireland, and for anyone who took over a Next.js project from another team. Version dates come from the Next.js support policy, release dates from the npm registry, and security details from the advisories published in the vercel/next.js repository on GitHub, all checked on 28 November 2026.
Is Next.js 15 still supported?
Yes, until 31 January 2027. The support policy keeps each major version in Maintenance LTS for two years after its first release. Next.js 15 came out on 21 October 2024, so the original end date was 21 October 2026. Vercel extended it: the page now says security releases for Next.js 15 continue through 31 January 2027, and asks teams still on 15 to tell them what blocks the upgrade.
The npm registry shows the 15 line is still moving. Version 15.5.29 appeared on 3 November 2026, released on the same day as 16.4.5 with fixes for advisories published that day. The current release on the latest tag is 16.4.6 from 9 November 2026, and a 16.5.0 release candidate is already tagged rc.
Here is how the versions stand on 28 November 2026:
| Version | Released | Status | Last release on npm |
|---|---|---|---|
| Next.js 16 | 21 October 2025 | Active LTS | 16.4.6 (9 November 2026) |
| Next.js 15 | 21 October 2024 | Maintenance LTS, security releases through 31 January 2027 | 15.5.29 (3 November 2026) |
| Next.js 14 | 26 October 2023 | Unsupported | 14.2.35 (11 December 2025) |
| Next.js 13 | 26 October 2022 | Unsupported | 13.5.11 (27 March 2025) |
Source: nextjs.org/support-policy and the time field in registry.npmjs.org/next, checked 28.11.2026. Dates on npm are in UTC and can differ by a day from the policy page.
One practical consequence: if nobody watches the release notes, a site on 15 does not stop working on 1 February 2027. It keeps serving pages exactly as before. It just stops receiving fixes, and the next advisory that lists 15.x as affected will only have a fix in 16.x.
What Maintenance LTS covers
The support policy splits a major version’s life into two phases. In Active LTS, a version gets new features, bug fixes, performance work and security patches. That phase lasts until the next major version ships. Then the previous major moves to Maintenance LTS, where Next.js commits only to critical bug fixes and essential security updates.
Two lines in the policy matter for anyone planning maintenance.
First, updates for Maintenance LTS versions land as semver-minor releases, even when they are breaking changes. If your package.json pins "next": "~15.5.0" you get patch releases only. If it says ^15.0.0, a routine npm update can pull in a minor release that changes behaviour. Either way, a security release is not automatically a no-op for your code. I read the advisory and the release notes before I deploy one.
Second, Vercel reserves the right to patch versions outside the LTS policy in rare cases, depending on severity. That is why 14.2.35 exists: it shipped on 11 December 2025, after 14 had left support, as part of the follow-up to the React Server Components denial of service fixes. Nobody should plan around such exceptions: in the 2026 advisories I checked, 14.x shows up inside affected ranges with no 14.x fix.
Which advisories hit older Next.js versions
The security advisories page of the vercel/next.js repository listed 51 advisories with a 2026 publication date on 28 November 2026, five of them critical. Not all of them affect every app, because many depend on a specific feature: Server Actions, the Image Optimization API, Cache Components, Pages Router with i18n. These are the ones I would check first on an older app.
Image Optimization and sharp come first. GHSA-2464-fhr4-w9xw (CVE-2026-96889, critical, 14 October 2026) describes a memory bug in an upstream library used for image optimization that can lead to remote code execution when Next.js runs on glibc-based Linux. Affected: 10.0.0 to 15.5.27 and 16.x up to 16.4.0. Fixed: 15.5.28 and 16.4.1. The advisory names a workaround that does not need a Next.js upgrade: make sure the sharp package used by Next.js is 0.35.5 or later. Two months earlier, GHSA-2xp9-vwfh-vxw4 (critical, 25 August 2026) covered a flaw in libheif, used by sharp, when AVIF files are optimized. Fixed in 15.5.24 and 16.3.3, with AVIF optimization disabled until the fix propagated.
Windows servers had their own case. GHSA-p293-qw3h-jr36 (CVE-2026-75604, critical, 25 August 2026) allows remote code execution when the server runs on a Windows filesystem. Affected from 13.4 up to 15.5.24, fixed in 15.5.24 and 16.3.3, no workaround.
Cache Components show that 16 needs patching too. GHSA-673q-mjm6-r5xr (critical, 14 October 2026) affects only 16.0.0 to 16.4.0: a use cache function returning multiple typed arrays can lead to remote code execution. The advisory tells everyone on those versions to upgrade, even without such a function.
Self-hosted apps behind a proxy got a fix in November. GHSA-pc58-hwjq-p385 (CVE-2026-119348, medium, 3 November 2026) affects self-hosted apps where route handlers or the fetch cache return an upstream response unchanged. Behind an HTTP/1.1 reverse proxy that queues pipelined responses, a crafted upstream response can mix up responses between clients. Fixed in 15.5.29 and 16.4.5.
The Pages Router with i18n had a gap in May. GHSA-36qx-fr4f-26g5 (CVE-2026-44573, high, 6 May 2026) concerns apps that use the Pages Router with i18n and check authorization in middleware. Requests to the locale-less /_next/data/<buildId>/<page>.json route skipped the middleware, so the server-side JSON of protected pages could be read without passing the check. Fixed in 15.5.16 and 16.2.5. The workaround is to enforce authorization in the page’s server-side data path as well, which I recommend regardless of version.
Two older advisories explain why I never treat middleware as the only lock on the door. GHSA-f82v-jwr5-mffw (CVE-2025-29927, critical, March 2025) let attackers bypass authorization checks done in middleware with an x-middleware-subrequest header. Deployments hosted on Vercel were protected automatically; self-hosted ones needed the update or a proxy rule that drops the header. And GHSA-9qr9-h5gf-34mp (CVE-2025-55182, critical, 3 December 2025) was remote code execution in React Server Components, affecting React 19.0.0, 19.1.0, 19.1.1 and 19.2.0 and, through them, Next.js 15.x and 16.x with the App Router, plus the 14.3 canary builds from 14.3.0-canary.77. Stable 14.x was not affected by that one.
Is Next.js 14 still safe?
Not if it uses the App Router with Server Actions, and probably not in general. The clearest case is GHSA-p3m5-59mp-jv5r, published on 14 October 2026 with severity high and a CVSS 4 score of 8.2.
Advisory GHSA-p3m5-59mp-jv5r in the vercel/next.js repository on GitHub: affected and patched versions. Screenshot from 28.11.2026.
Crafted requests to an App Router app with at least one Server Action can push CPU usage so high that the process stops handling other requests. In practice that means a site that goes down on demand. The advisory lists every version from 13.0.0 to 15.5.27 as affected, names 15.5.28 and 16.4.1 as patched, and states that no workaround exists besides upgrading. The last 14.x release on npm is 14.2.35 from 11 December 2025, so there is no 14.x version with this fix. Apps that use only the Pages Router, or no Server Actions, are not vulnerable to this one.
The image optimization advisory GHSA-2464 also lists 14.x inside its affected range with fixes only in 15.5.28 and 16.4.1. There, the sharp 0.35.5 workaround is available to a 14 app on glibc Linux, so a 14 site can close that specific hole without a framework upgrade. That is a stopgap, and it only works if someone knows the advisory exists.
My reading: a Next.js 14 site in production is running on luck plus whatever its hosting platform filters out. It should move to 15 now and to 16 before 15 runs out.
Inherited a Next.js app: check this first
Many of the Next.js projects I look at were built by another agency or a contractor who has since moved on. The owner knows the site works but not which version it runs, where it is hosted, or who has the keys. Before any upgrade, I establish these facts:
- The installed version, not the declared one.
package.jsonsays what was allowed; the lockfile andnpm ls nextsay what is actually installed. A range like^14.1.0tells you little. - The router. An
app/directory means App Router, apages/directory means Pages Router, some projects have both. Several advisories apply to only one of them. - Server Actions. Search the code for
"use server". If it appears, GHSA-p3m5 applies to anything below 15.5.28. - Middleware. A
middleware.tsfile that checks sessions or roles is the place where three of the advisories above bit. I check whether the pages behind it also check authorization themselves. - Where it runs. Vercel, a container on a cloud provider, a VPS with
next startbehind nginx, or a static export on a CDN. A static export (output: 'export') has no Next.js server in production, which removes most server-side advisories but not the build-time dependencies. - Node.js on the server.
node -von the build machine and in production. They are not always the same. - Who controls the accounts. The Git repository, the hosting account, the domain and DNS, and environment variables such as API keys. Without them, nobody can deploy the upgrade.
The public marker is easy to see from outside. A page built with Next.js loads its assets from /_next/static/, and many deployments also send an x-powered-by: Next.js header unless poweredByHeader is switched off. On 28 November 2026 I found the /_next/static/ path in the HTML of daft.ie, donedeal.ie, deliveroo.co.uk and monzo.com. They are not my clients; the marker only shows that Next.js is in use on those sites. The same check works on your own site, and it is the same check an automated scanner runs when it looks for targets.
How to upgrade Next.js 15 to 16
The official upgrade guide starts with a codemod and then walks through breaking changes. I follow it in this order.
I start on 15 and bring the app to the latest 15.5.x release first and make sure tests and the build pass there. If the app still reads params, searchParams, cookies(), headers() or draftMode() synchronously, which Next.js 15 tolerated during a compatibility period, run the async Request APIs codemod: npx @next/codemod@canary next-async-request-api . and then npx next typegen, available since 15.5, to generate the PageProps, LayoutProps and RouteContext type helpers. In Next.js 16, synchronous access is gone.
Then I run the upgrade codemod. npx @next/codemod@canary upgrade latest updates next.config to the top-level turbopack option, migrates from next lint to the ESLint CLI, renames middleware to proxy, removes the unstable_ prefix from stabilized APIs and drops the experimental_ppr segment config. It does not run every migration, so the remaining steps are manual.
Next comes the build tool. Turbopack is the default for next dev and next build in 16. If the project has a custom webpack configuration, next build fails on purpose. Either migrate the config to Turbopack options such as turbopack.resolveAlias, or keep webpack with next build --webpack. The guide notes that a plugin can add a webpack config you never wrote yourself, which is common in inherited projects.
The file middleware.ts becomes proxy.ts and the exported function proxy. The proxy runs on the Node.js runtime only. If your middleware needs the edge runtime, the guide says to keep using middleware for now.
next/image changed several defaults. images.minimumCacheTTL went from 60 seconds to 4 hours (14400 seconds). The value 16 was removed from images.imageSizes. images.qualities now allows only [75] by default. Local images with query strings need an images.localPatterns.search entry. images.domains and next/legacy/image are deprecated. On a site where editors swap images under the same URL, the longer cache TTL is the change people notice first.
Some features are removed outright. AMP support is gone. next lint is gone and next build no longer lints. serverRuntimeConfig and publicRuntimeConfig are removed in favour of environment variables. Parallel route slots need an explicit default.js, or the build fails.
Next.js 16 ships with React 19.2 support and needs TypeScript 5.1 or later. Update @types/react and @types/react-dom with React.
Coming from 14, I do 14 to 15 first, deploy that, and only then go to 16. Next.js 15 is where the async Request APIs arrived with a compatibility layer; jumping straight to 16 removes that layer and mixes two sets of breaking changes in one deployment.
For self-hosted apps, the self-hosting guide has a section worth rereading after the upgrade. Several instances behind a load balancer need the same NEXT_SERVER_ACTIONS_ENCRYPTION_KEY, otherwise users see “Failed to find Server Action” errors. They also need a shared cacheHandler for ISR, because the default cache lives on each instance’s local disk, and a consistent build ID or deploymentId to avoid version skew during rolling deployments. Behind nginx, streaming only works with buffering disabled, for example with X-Accel-Buffering: no.
Which Node.js version Next.js 16 needs
Next.js 16 requires Node.js 20.9.0 or later and drops Node.js 18. The engines field of the current release says the same: >=20.9.0. That is the floor the framework accepts, and it sits below what I would run.
According to the Node.js release schedule:
- Node.js 20 reached end of life on 30 April 2026. An app on Next.js 16 and Node.js 20 installs and runs, and gets no Node.js security fixes.
- Node.js 22 is in maintenance and ends on 30 April 2027.
- Node.js 24 has been LTS since 28 October 2025 and ends on 30 April 2028.
- Node.js 26 became LTS on 28 October 2026 and ends on 30 April 2029.
For an upgrade done now, I aim for Node.js 24 in production and on the build machine, and I pin the version in the Dockerfile, in .nvmrc and in the hosting settings, so it cannot drift. On a managed platform, the Node.js version is usually a project setting. On a VPS or a container, it is whatever someone installed or wrote into the base image, often years ago.
The order matters as much as the version. I change Node.js first, on the current Next.js version, and test. Then I upgrade Next.js on the new Node.js. When something breaks, I know which change caused it.
What makes a Next.js upgrade expensive
I do not quote prices here, they depend on the project. What drives the effort can be seen before any work starts:
| Driver | How to spot it | Why it matters |
|---|---|---|
| Version gap | npm ls next | From 14 to 16 means two sets of breaking changes, and 14 to 15 brings the async Request APIs |
| Custom webpack config | webpack key in next.config, or a plugin that adds one | Build fails under Turbopack until it is migrated or webpack is kept explicitly |
| Middleware with auth | middleware.ts that reads cookies or sessions | Rename to proxy, edge runtime question, and auth checks that should also live in the data layer |
| Pages Router with i18n | i18n key in next.config | Several advisories target this combination |
| Sync request APIs | params.slug used without await | Codemod handles most cases, the rest is manual typing work |
| Image handling | next/image with remote sources, query strings, custom qualities | New defaults change caching and output |
| Self-hosting with several instances | Kubernetes, ECS, more than one container | Shared cache handler, encryption key, build ID |
| Node.js on the server | node -v in production | Node.js 20 is end of life, a host without Node.js 24 limits the plan |
| No tests | Empty __tests__, no Playwright or Cypress | Every change needs manual checks of forms, logins and checkout |
| Unmaintained dependencies | Auth, CMS or UI packages that peg Next.js or React versions | Replacement or fork before the core upgrade |
The first and last rows usually decide the size of the job. A small marketing site on the App Router with no custom webpack config and a maintained CMS client is a different job from a 14 app with a hand-written auth layer in middleware and a UI library that stopped at React 18. That is why I read package.json, the lockfile and next.config before I give an estimate.
The Next.js service page describes how I take on existing Next.js projects, including upgrades and ongoing maintenance.
UK GDPR and outdated frameworks
Neither the UK GDPR nor the EU GDPR names a framework version or requires vendor support. What they require is security appropriate to the risk. Article 32 UK GDPR obliges controllers and processors to implement appropriate technical and organisational measures, “taking into account the state of the art”, and point (d) asks for a process for regularly testing, assessing and evaluating those measures. The wording in the EU GDPR, which applies directly in Ireland, is the same.
My view, which is not legal advice: a site that collects personal data through forms or accounts, runs a framework version with a published, fixed vulnerability, and has no plan to apply the fix, is hard to defend as state of the art. The question a regulator asks after an incident is what you knew and what you did about it. “The agency that built it is gone” is not an answer to that question.
The breach rules are the second reason to keep versions current. Article 33 UK GDPR requires the controller to notify a personal data breach without undue delay and, where feasible, not later than 72 hours after becoming aware of it, unless the breach is unlikely to result in a risk to people’s rights and freedoms. The footnotes on legislation.gov.uk record that on 30 September 2026 the authority named in Article 33(1) was changed to “the Commission” by S.I. 2026/386, regulations made under the Data (Use and Access) Act 2025. If you have a breach procedure that still names the old body, it is worth reading the current text.
In Ireland, Part 2 of the Data Protection Act 2018 establishes the Data Protection Commission and makes it the supervisory authority for the GDPR. The same 72-hour notification rule applies under Article 33 GDPR.
Seventy-two hours is short when nobody knows which Next.js version is deployed or who can read the server logs. Those are the same gaps I list in the inherited app section, so the version inventory also belongs to breach readiness.
Next.js maintenance checklist
This is what ongoing maintenance of a Next.js app covers for me:
- Watch the advisories. Subscribe to the security advisories of the vercel/next.js repository on GitHub and read each one against the app: router, Server Actions, image optimization, cache features, hosting. Many advisories only matter for one combination.
- Patch releases on the active line. Keep the app on the newest 16.x patch. Read the release notes, because maintenance updates can carry behaviour changes as semver-minor releases.
- Dependencies around Next.js. React and React DOM move with Next.js, and CVE-2025-55182 showed that a React package can carry the vulnerability. Also
sharpfor image optimization, the auth library, the CMS client. - Node.js pinned and planned. Production and build on a supported LTS version, with the next switch planned before the current one ends.
- Authorization in the data layer. Middleware or proxy checks as the first gate, plus checks in server components, route handlers and Server Actions.
- Self-hosting settings reviewed after each major update. Cache handler, encryption key, build ID, proxy buffering,
poweredByHeader. - Backups and a tested rollback. For a Next.js app that usually means the previous build artefact or container image, ready to redeploy, plus backups of whatever data store sits behind it.
- The next end date in the calendar. Under the current policy, Next.js 16 moves to Maintenance LTS when 17 ships and stays there until two years after its own release.
What I need to scope your upgrade
You can collect most of this without a developer, or ask whoever has repository access:
- The
package.jsonand the lockfile (package-lock.json,pnpm-lock.yamloryarn.lock). - The
next.configfile (.js,.mjsor.ts). - Where the app is hosted, and whether you have admin access to that account, the repository and the domain.
- The Node.js version on the server, if you know it, or the Dockerfile.
- A short list of what users do on the site: log in, submit forms, buy something, upload files.
With these, I can tell you which advisories apply to your version, whether a workaround such as the sharp update closes the most urgent gap while the upgrade is prepared, and which route the upgrade takes. If you are still choosing between frameworks for a new build rather than maintaining an existing one, my comparison of Astro and Next.js covers that decision.
Send the details through the contact form. I reply by email within 24 hours on working days.
Last updated: 28.11.2026. Version and support data from nextjs.org and registry.npmjs.org, advisories from github.com/vercel/next.js, Node.js dates from github.com/nodejs/Release, legal texts from legislation.gov.uk and irishstatutebook.ie: checked 28.11.2026.






