Next.js critical update August 26, 2026: how to prepare a website

24.08.20269 min read
Dmitry Meshcheryakov
Technical DirectorDmitry Meshcheryakov

On August 26, 2026, the Next.js team plans to release a fix for one critical vulnerability. Versions should be released along with the full newsletter Next.js 16.3.3 and 15.5.24. The official warning was published in advance so that the teams had time to prepare the update window and a safe deployment plan.

As of August 24, details of the vulnerability, the list of affected versions and technical specifications have not yet been disclosed. Therefore, now there is no need to look for an untested “fix” or urgently change the architecture. The right task for the next two days is to find all production projects on Next.js, determine their versions, check the build and rollback, and after publishing the newsletter, install the official patch.

Short answer: owners of Next.js 15 and 16 projects should prepare the update now, but install 16.3.3 or 15.5.24 possible only after their official release on August 26. Projects on Next.js 14 and older versions require a separate solution because these branches are not included in the current support policy.

What is confirmed as of August 24, 2026

There are four facts in the official Next.js announcement that you can rely on:

  1. security release is planned for August 26, 2026;
  2. he will fix it one critical vulnerability;
  3. the team plans to release Next.js 16.3.3 and Next.js 15.5.24;
  4. a description of the impact, affected versions and upgrade instructions will appear along with the full advisory.

Until the bulletin is published, it is unknown which Next.js components are affected and under what conditions exploitation is possible. We cannot say that the problem is related to Server Actions, middleware, Image Optimization, App Router, or any other specific mechanism. Such versions remain speculation until officially disclosed.

This is an important limitation for the technical team. The priority should be determined by the declared criticality and the presence of Next.js in production, and not by rumors about the attack method.

Which projects should be checked first?

Start not with updating, but with inventory. Next.js can be not only in the main website, but also in your personal account, administrative panel, online storefront, partner portal or a separate frontend application.

For each project, record:

  • application domain and purpose;
  • installed version of Next.js;
  • branch: 16.x, 15.x, 14.x or older;
  • hosting method: Vercel, own server, Docker, Kubernetes or other platform;
  • package manager and lock file;
  • responsible for assembly and deployment;
  • a working way to roll back to a previous artifact;
  • critical scenarios: login, application, payment, order, API, personal account.

You can check the actual version in the project directory using one of the commands:

npm ls next
pnpm list next
yarn why next

Don't limit yourself to a line in package.json. Range like ^16.2.0 does not show which version actually made it into the latest production build. Check the lock file, the CI/CD log and the composition of the already deployed artifact.

What to do before the patch releases on August 26

Before publishing a fix, it's helpful to have a process in place rather than blindly making changes.

1. Collect a list of all Next.js applications

Check out the repositories, containers, and services that serve public domains. If the infrastructure is large, look next in lock files and software specifications of components, and not just in repository names.

Check old projects and interior panels especially carefully. They are updated less frequently, but can remain accessible from the Internet and work with more sensitive data.

2. Prepare a reproducible build

Make sure that the project is built from an up-to-date master branch and a committed lock file. Before release day, it is worth performing a normal production build without changing dependencies. If it is already crashing, the problem should not be discovered for the first time during an urgent security deployment.

For npm in CI they usually use:

npm ci
npm run build

Team npm ci installs versions from the lock file and does not update it. This helps separate existing project issues from post-patch changes.

3. Check staging and rollback

A security update should not be turned into the first test of a recovery procedure. Make sure in advance that:

  • staging repeats key production settings;
  • secrets and external integrations can be securely verified;
  • the previous Docker image or build artifact is saved;
  • rollback does not depend on manual rebuilding of the old version;
  • the database does not change irreversibly during a normal frontend deployment.

If the project is deployed on several instances, prepare a phased rollout. First, a small percentage of traffic is updated, then the entire group after checking the metrics.

4. Designate an update window

We need a specific person responsible, and not a message in the general chat “will need to update.” Record the time of receiving advisory, checking affected versions, building, smoke testing and releasing to production.

For an online store or service with requests, choose a period with less load, but do not put off fixing a critical vulnerability indefinitely just for the sake of a convenient window.

5. Increase observability

Before deployment, check that the team will see the regression. Minimum set:

  • response rate 4xx and 5xx;
  • response time of server-side routes;
  • authorization and session errors;
  • API and Server Actions errors, if used;
  • conversion of key forms and checkout;
  • status of CDN, edge functions and server logs.

Without these signals, the update may technically succeed and leave the user script broken.

How to update after publishing a security release

On August 26, first open the official advisory and check three things: whether it affects your version, whether there are additional update conditions, and whether switching to the declared patch version is enough.

Next, use a controlled sequence.

Step 1: Create a separate branch and save the original state

Do not update the dependency directly on the production server. The change must go through the repository, code review and the usual pipeline.

git switch -c security/nextjs-august-2026

Step 2: Install the official patch for your branch

After the versions appear in the package registry and are listed in advisory:

npm install next@16.3.3

or for supported branch 15:

npm install next@15.5.24

For pnpm and Yarn, use your package manager's equivalent command. Do not automatically update all dependencies at the same time: the fewer unrelated changes that make it into the security release, the easier it is to check the cause of a possible regression.

Step 3. Check the diff lock file

The changes should make sense of the new version of Next.js and its associated transitive dependencies. If the entire lock file has been rewritten, or dozens of unrelated packages have been updated simultaneously, stop and find out why.

Step 4: Perform Build and Tests

Minimum check includes:

npm ci
npm run lint
npm test
npm run build

Run only scripts that exist in the project. If there are few automated tests, supplement them with a manual smoke set for the most expensive business scenarios.

Step 5. Check the site as a user and as a search robot

For a commercial website, opening the home page is not enough. Check:

  1. main and main landing;
  2. authorization and restoration of access;
  3. submitting forms and creating leads in CRM;
  4. cart, order and payment, if any;
  5. API routes and integrations;
  6. server-rendered HTML, canonical, robots and sitemap;
  7. response codes of old and new URLs;
  8. loading images and static resources.

This check protects not only from functional errors, but also from SEO regression. Unsuccessful deployment may return empty HTML, massive 500, incorrect canonicals or prohibition of indexing even with a visually working client interface.

Step 6: Release the update in stages

If the infrastructure allows, use canary or blue-green deployment. After the first wave, check errors, latency and key user actions. Only then transfer all traffic to the new artifact.

After release, do not remove the previous stable build until the end of the monitoring period. Rolling back should take minutes, rather than requiring you to find an old commit and rebuild.

What to do with Next.js 14 and older versions

According to the current support policy Next.js branch 16.x is in Active LTS, and 15.x - in Maintenance LTS. Next.js 14 and earlier major versions are listed as unsupported.

This does not mean that any old project will automatically be vulnerable on August 26th. This conclusion can be made only after publishing the list of affected versions. But you cannot count on a separate official patch for an unsupported branch without a direct indication in advisory.

Practical plan for a legacy project:

  1. determine the exact installed version and availability of the application from the Internet;
  2. On August 26, compare it with the list of affected versions;
  3. check if advisory offers official backport or mitigation;
  4. if a branch is affected and there is no patch for it, prioritize moving to a supported version;
  5. apply only officially recommended temporary measures before migration;
  6. Strengthen monitoring and limit unnecessary public application surface.

The transition from Next.js 14 to 15 or 16 is no longer a patch update. It needs to be tested as a separate migration using the official upgrade guides. Mixing an urgent security fix and a major refactoring in one untested deployment is dangerous.

Why CDN, WAF and hosting are not a replacement for updating

CDN and Web Application Firewall can reduce some of the external risks, but until the mechanics of the vulnerability are revealed, it cannot be said that a specific rule blocks it. Even after the signature appears, the WAF remains an additional layer and not a replacement for a patched version of the application.

Hosting on Vercel also does not mean that the dependency in the repository is automatically safe. You need to wait for the instructions for a specific advisory and perform the recommended update. The platform may implement additional protective measures, but the version next and the application life cycle remain part of the project team's responsibility.

Errors that increase the risk of updating

Not worth it:

  • install a package from an unofficial source before the release is published;
  • accept a description of a vulnerability from social networks as a confirmed advisory;
  • launch npm audit fix --force no diff checking and migrations;
  • simultaneously update Next.js, React, Node.js and the entire set of dependencies without having to;
  • roll out a patch without checking authorization, forms, payment and SEO metadata;
  • leave the old production build as the only copy for rollback;
  • consider a project safe only because it is “just a corporate site.”

Criticality is determined by the technical conditions of the vulnerability, not by the size of the business. A small site may contain forms, personal data, an administrative interface, and CRM integrations.

Checklist for the project manager

Deadline Action Result
Until August 26 Find all Next.js applications and versions The real update perimeter is clear
Until August 26 Check a clean production build Current bugs will not be mixed with the patch
Until August 26 Assign a person in charge and a work window The update will not remain without an owner
Until August 26 Check staging, monitoring and rollback Regression can be quickly seen and reversed
August 26 Read the official advisory Affected versions and instructions confirmed
After release Install 16.3.3 or 15.5.24 according to instructions A fixed supported version is used
After release Conduct build, tests and smoke check Business and SEO scenarios confirmed
After deployment Observe errors and conversion Hidden regression will not go unnoticed

If the project has not been updated for a long time, is not built reproducibly, or is working on an unsupported branch, you first need a technical analysis of the dependencies and deployment method. For complex applications it is related to tasks high-load backend development, and for a new project or planned modernization it is useful to evaluate development on Next.js.

A practical example of migrating an existing online store to a modern stack can be seen in the case Autopilot78: Next.js, SEO migration and custom admin panel. It shows why it is important to simultaneously control the frontend, data, user scripts and search structure when updating a platform.

FAQ

Should I update Next.js right now on August 24th?

You need to prepare the project now, but the versions 16.3.3 and 15.5.24 are scheduled for August 26, 2026 only. Before the official release, do not install a non-existent or unofficial package. Check the current version, build, tests, staging and rollback.

Which versions of Next.js will receive the fix on August 26th?

The Next.js team has announced plans to release 16.3.3 and 15.5.24. A full list of affected versions and impact terms will be published along with the security advisory.

What to do if the site runs on Next.js 14?

Next.js 14 is not in the current supported branches. Once the advisory is issued, check to see if your exact version is affected and if there is an official backport or workaround. If a branch is vulnerable and there is no patch for it, a migration to a supported version will be required.

Will Vercel automatically fix the vulnerability?

You cannot rely only on infrastructural protection. Follow the specific advisory and update your project dependency to the recommended version. Additional platform measures do not replace the corrected package.

Can I limit myself to WAF or CDN?

Not if the official bulletin requires a Next.js update. WAF and CDN remain additional layers of protection. Until the technical details are revealed, it is not even possible to reliably determine which rule could block exploitation.

Can a security update affect SEO?

A patch release should not purposefully change SEO, but any deployment can cause build or rendering regressions. After updating, check response codes, server-rendered HTML, canonical, robots, sitemap, main landing pages and forms.

How do you know if a particular project is affected?

Wait for the full advisory on August 26th and compare the area of ​​influence indicated there with the exact version and configuration of the project. The declared criticality does not in itself reveal the technical operating conditions.

Sources

Leave your contacts - we will call you back, sort out the problem and offer the best way. We have more than 350 projects behind us, each of which we launched with an individual approach. We guarantee expert advice during business hours.