Posts tagged “Security”
New features, fixes and improvements to Netlify, as they ship.
-
If you have an Enterprise plan, you can now enable domain capture, which automatically provisions Netlify users with your company email domain so that new signups automatically route to a designated team.
Domain capture helps ensure that employees using Netlify to build custom apps and more are keeping private info secure and following the same guardrails you’ve already set up.
For example, without domain capture, an employee can sign up with their work email and start deploying projects that your organization can’t see or manage. Domain capture closes that gap, so the people and projects that belong to your company stay under your organization’s access controls and SSO policies.
To set up a domain capture using a corporate domain with Netlify, reach out to your Enterprise Account Team for next steps.
-
Organization webhooks let you automate setup, security, and compliance for every new project in your organization. Organization Owners subscribe once, and Netlify calls your endpoint whenever a project is created or goes live in any team, including teams you add later.
Supported events
site_createdfires when a project is created in any team in the organization. The payload includes the project name, team, repository, access settings, and more.site_publishedfires when a production deploy becomes the live version of a project. The payload includes the deploy URL, branch, commit, and more.
Event names use
site, our previous name for projects.What you can build
- Turn on Password Protection automatically for every new project
- Build a searchable directory of everything your organization has shipped
- Post new projects to Slack
- Flag projects that use an unapproved repository or framework
- Send creation and publish events to your SIEM for an audit trail
- Run post-launch checks on every production publish
Availability
Organization webhooks are available today for teams in a Netlify organization, which requires an Enterprise plan. Owners set them up through the API with a personal access token. If you don’t have an organization yet, contact us about bringing your teams together.
Learn more
The organization webhooks documentation includes a complete example with signature verification, plus the endpoints for listing, updating, and re-enabling webhooks.
-
The React Router team has disclosed seven security vulnerabilities in React Router. Most have limited impact on Netlify, but if your site uses React Router, you should update it. If your site doesn’t use React Router, you don’t need to do anything.
Am I affected?
Your site may be affected if it uses React Router 6, 7, or 8, either directly or through a framework built on it. These frameworks include, but aren’t limited to:
- Remix 2, which uses React Router 6
- Shopify Hydrogen, which uses React Router 7
Sites that don’t use React Router aren’t affected.
To check:
- In your site’s folder, install your dependencies, then list the installed React Router packages, using the commands for your package manager in the table below. In a monorepo, run them in the folder of the site you deploy, not the repository root. This lists every installed copy and its version, including copies that another framework, such as Remix 2, brings in. It only sees installed packages, so install first.
- This checks the code in your project folder, not what’s deployed. Older deploys keep running the code they were built with, as explained under “What should I do?”.
- You can also open your project’s
package.jsonfile and look forreact-routeror packages starting with@react-router/. A framework built on React Router may not list it there, so listing the installed packages is more reliable. - If an AI tool built your site and you’re not sure, ask it: “Does this project use React Router, directly or through another package? If so, which version?”
- If you have a Credit plan with Agent Runners, you can ask the same question in Ask mode.
Step npm pnpm Yarn Install dependencies npm installpnpm installyarn installList installed versions npm ls react-router @react-router/node @react-router/serve @react-router/devpnpm why react-router @react-router/node @react-router/serve @react-router/devyarn why react-router, then repeat for@react-router/node,@react-router/serve, and@react-router/devUpdate within your version range npm update react-router react-router-dom @react-router/node @react-router/serve @react-router/devpnpm update react-router react-router-dom @react-router/node @react-router/serve @react-router/devInstall the patched version for your major version directly (next row) Install a patched version directly npm install react-router@^7.18.6(7.x) ornpm install react-router@^8.5.1(8.x)pnpm add react-router@^7.18.6(7.x) orpnpm add react-router@^8.5.1(8.x)yarn add react-router@^7.18.6(7.x) oryarn add react-router@^8.5.1(8.x)What should I do?
If your site uses React Router 7 or 8, update it to a patched version and deploy again:
- Check that your
package.jsonlists React Router packages with a^or~version range, such as^7.17.0. A range such as*lets the update move you to a new major version, which can include breaking changes. - In the same folder, run the update command for your package manager from the table above. With npm and pnpm, it only installs versions that your
package.jsonallows, so it keeps you on your current major version. With Yarn, install the patched version for your current major version. - List the installed versions again and compare each package with its patched version below. If any are still affected:
- If the affected copy is nested under another package, such as
react-router-domor a framework, update that package. Installingreact-routeron its own doesn’t replace a copy that another package pins. - Otherwise, install a patched version directly, such as
react-router@^7.18.6orreact-router@^8.5.1, and do the same for any@react-router/packages you use. Then list the installed versions again to confirm every copy is patched.
- If the affected copy is nested under another package, such as
- Commit every file the update changed, including
package.jsonand your lockfile, such aspackage-lock.json,pnpm-lock.yaml, oryarn.lock, then deploy.
If an AI tool built your site, you can ask it to “update React Router to the latest patched version”.
The patched versions are:
react-router8.5.1 or later (for React Router 8.x)react-router7.18.5 or later (for React Router 7.x)@react-router/node,@react-router/serve, and@react-router/dev8.5.1 or later (for React Router 8.x)@react-router/nodeand@react-router/serve7.18.6 or later (for React Router 7.x)
React Router 6 and Remix 2: there is no patched React Router 6.x release for GHSA-x8j4-g9rr-8j87 or GHSA-7m2v-44vx-v55w, and
npm updatecan’t fix them. To fix these two issues, you need to upgrade to a patched React Router 7 or 8 release listed above. Remix 2 apps use React Router 6, so they need to move to React Router 7.Make sure the
IS_RR_BUILD_REQUESTenvironment variable is not set on your site or as a shared environment variable on your team. React Router sets it automatically during builds, and it should never be configured in your environment variables. If you find it, remove it, then create and publish a new deploy. Existing deploys keep the environment variables they were deployed with, so older deploys created while the variable was set stay affected until they’re deleted (see the next paragraph).Note that older deploys keep running the code they were built with. Publicly available deploy previews and older production deploys may remain vulnerable until they are automatically deleted, and Netlify never automatically deletes the most recent successful deploy of each branch, so branch deploys can stay vulnerable indefinitely. If you’ve locked auto publishing, Netlify builds your patched deploy but doesn’t publish it, so publish it manually. You can’t delete a deploy while it’s published. Check your deploys and delete vulnerable ones manually.
Vulnerabilities
Vulnerability Affected versions Fixed in GHSA-2rq8-3rm6-2w8f - Server-rendering DoS react-router7.0.0–7.18.4, 8.0.0–8.5.07.18.5, 8.5.1 GHSA-qhgm-jj2j-75wj - Prototype pollution react-router7.0.0–7.18.4, 8.0.0–8.5.07.18.5, 8.5.1 GHSA-mp5r-736v-j8x9 - Node.js server DoS @react-router/node7.0.0–7.18.5,@react-router/serve7.9.2–7.18.5,@react-router/node,@react-router/serve,@react-router/dev8.0.0–8.3.07.18.6, 8.3.1 GHSA-x8j4-g9rr-8j87 - Route-matching DoS react-router6.0.0–7.18.2, 8.0.0–8.3.07.18.3, 8.3.1 GHSA-mjj8-rxh9-q8f5 - RSC redirect XSS react-router7.11.0–7.18.3, 8.0.0–8.3.x7.18.4, 8.4.0 GHSA-8wpx-2pj4-ggvx - CSRF react-router7.12.0–7.18.2, 8.0.0–8.3.07.18.3, 8.3.1 GHSA-7m2v-44vx-v55w - Open redirect react-router6.4.0–7.18.2, 8.0.0–8.3.07.18.3, 8.3.1 Impact on Netlify
GHSA-2rq8-3rm6-2w8f and GHSA-x8j4-g9rr-8j87 (denial of service)
In short: someone could send specially crafted requests that make your site slow to respond.
These are server-side denial-of-service (DoS) vulnerabilities. On Netlify, this has minimal impact: our autoscaling serverless architecture means that a malicious request resulting in a crashed or hung function does not affect other requests. However, active exploitation could increase your function costs. GHSA-x8j4-g9rr-8j87 can also slow down a visitor’s browser during client-side navigation. Regardless of hosting provider, all apps on affected versions may be affected in the browser.
GHSA-qhgm-jj2j-75wj (prototype pollution)
In short: in a rare setup, an attacker could tamper with data your site’s server code relies on.
On the server, this issue only matters if a build-only React Router setting is present while your site is running. Netlify does not carry that setting from your build into production, and already blocks the related request headers before they reach Netlify Functions as well as Edge Functions. Most Netlify projects are not affected on the server. The only exception is a site where someone has added this setting as an environment variable, either on the site or as a shared environment variable on the team (see above). Regardless of hosting provider, all apps on affected versions should upgrade.
GHSA-mp5r-736v-j8x9 (Node.js server DoS)
In short: a specially crafted request could crash a self-hosted React Router server. Netlify doesn’t use that server.
This vulnerability affects the Node.js server that ships with
@react-router/node,@react-router/serve, and@react-router/dev. Netlify does not run this server for deployed projects, and Netlify rejects the malformed requests involved, therefore Netlify projects are not affected. We still recommend upgrading.GHSA-mjj8-rxh9-q8f5 (XSS in RSC redirects)
In short: with an experimental feature that Netlify doesn’t support, an attacker could run their own code on your site.
This only affects React Router’s experimental React Server Components (RSC) modes. Netlify’s React Router adapter does not support RSC, so Netlify projects are not affected. Regardless of hosting provider, apps using experimental RSC modes that redirect to untrusted destinations may be vulnerable.
GHSA-8wpx-2pj4-ggvx (CSRF)
In short: an attacker could trick a signed-in visitor into submitting a form on your site without meaning to.
To exploit this, an attacker needs to serve plain-HTTP content on your site’s own domain. Netlify serves every site over HTTPS and redirects plain-HTTP requests. Browsers also never load
*.netlify.appdomains over plain HTTP, so on*.netlify.appdomains, this is very unlikely to be exploitable. Custom domains don’t get this browser protection automatically. To get it, send aStrict-Transport-Securityheader from your site. Browsers only apply this header after a first visit over HTTPS. To also protect first visits, add your domain to the HSTS preload list.GHSA-7m2v-44vx-v55w (open redirect)
In short: a link to your site could send visitors on to an attacker’s site, such as a fake sign-in page.
Apps that redirect to a destination taken from user input, such as a
returnToquery parameter after login, may send visitors to an external site. Regardless of hosting provider, all apps redirecting to destinations from user input may be vulnerable. Upgrading fixes React Router’s own navigation, but your code should also check that a redirect destination stays on your site before redirecting.Resources
-
Starting in version 27.18.0, Netlify CLI stores authentication tokens encrypted at rest in your operating system’s native secure keychain rather than in plain text on disk. This update protects your account credentials across macOS, Windows, and supported Linux distributions.
Previously, Netlify CLI saved login tokens in plain text in a local configuration file (such as
~/Library/Preferences/netlify/config.jsonon macOS). Because these tokens grant full access to manage your Netlify account and projects, plain text storage left them exposed to any malicious script or local process with disk read access. Storing tokens directly in your device’s secure credential store mitigates that risk and limits the blast radius of local machine breaches or prompt injection attacks.How it works
Netlify CLI now integrates directly with platform-native credential managers:
- macOS: Keychain
- Windows: Windows Credential Manager
- Linux: Secret Service API (standard on GNOME and KDE, and configurable elsewhere)
When you run
netlify login, new tokens are automatically saved to the OS keychain. Depending on your system settings, your device may occasionally ask for biometric authorization (such as Touch ID or fingerprint) or your password when the CLI accesses your credentials.Migrating your token

When an existing plain text token is detected during an interactive command, Netlify CLI prompts you to migrate to keychain storage. Approving the prompt initiates a login refresh, saves your token securely to the keychain, and removes the legacy plain text file entry. If you decline, your choice is remembered so you aren’t nagged again. You can also trigger the migration at any time by running
netlify login --new.If keychain storage is unavailable on your system or writes fail, Netlify CLI automatically falls back to plain text storage. To verify where your active token is stored, run
netlify status. You can also setNETLIFY_USE_LEGACY_AUTH_STORAGE=1to disable keychain storage if required in your environment.What you need to do
To update your Netlify CLI to the latest version, run:
npm install -g netlify-cli@latestThe next time you run an interactive command requiring authentication, press Enter at the prompt to migrate your token to your system’s keychain, or run
netlify login --newto migrate immediately.When updating, keep the following in mind:
- Multiple global CLI installs: If you have multiple global installs of Netlify CLI across different Node managers (such as
nvm,pnpm, or Homebrew), update all of them so an older version doesn’t revert your credentials back to plain text storage. - Local Netlify MCP: If you use the local Netlify Model Context Protocol (MCP) server, ensure you have
@netlify/mcpversion 1.22.1 or later to support keychain-stored credentials.
Learn more about managing your credentials in the Netlify CLI documentation or view the changes in the Netlify CLI repository.
-
For projects connected to public repositories, we’ve reworked the previous sensitive variable policy into an expanded untrusted deploys policy to improve security and help protect your team’s usage. Deploy Previews from forks, opened by someone outside your Netlify team, now wait for a team member to approve them before they build. You can opt out anytime by choosing a different option in your untrusted deploys policy.
Previously, the sensitive variable policy only blocked building these deploys when Netlify detected sensitive environment variables in your project. On projects without detected sensitive variables, anyone who opened a pull/merge request could build without anyone reviewing from your team reviewing the updates first. Now these deploys wait for approval whether or not your project has sensitive variables, as long as your project has the default Require approval setting on.
Production deploys, branch deploys, and Deploy Previews from your team members aren’t affected. Note that Netlify assumes that team members have matched their Netlify team user ID with their Git provider accounts. If you previously chose Build without sensitive variables or Build without restrictions, your project keeps that setting and allows those builds as it did before.
What you’ll notice
If your project receives pull/merge requests from people or bots not on your team, you may see more pending deploy requests at the top of your project’s deploy list. To find out when a deploy is waiting for approval, set up deploy notifications.
Why we made this change
Anyone can open a pull/merge request from a fork of a public repository, and building its Deploy Preview runs their code. Even without sensitive variables, that build can use your project’s resources and your team’s usage. Requiring approval lets you review the changes before they build.
The policy has a new name and location
Because the policy is no longer only about environment variables, the sensitive variable policy is now the untrusted deploys policy. It has moved from your project’s environment variables settings to Project configuration > Developer settings > Continuous deployment > Untrusted deploys policy.
The policy options are:
- Require approval (default): untrusted deploys wait for a team member to accept or reject them.
- Build without sensitive variables: untrusted deploys build automatically, but variables identified as sensitive aren’t passed to the build.
- Build without restrictions: untrusted deploys build like any other Deploy Preview.
Learn more about the untrusted deploys policy in our docs.
-
The Next.js team has disclosed seven security vulnerabilities in Next.js, patched on November 3, 2026 in 16.4.5 and 15.5.29. The issues span cached data leaking between users, exposure of HttpOnly cookies, cache poisoning, and cross-client response injection. Several of them do not affect apps hosted on Netlify. Here’s what Netlify customers need to know.
Summary
Some of these vulnerabilities affect Next.js sites hosted on Netlify (details in Impact on Netlify), so if you run Next.js on Netlify, we strongly recommend upgrading
nextto 16.4.5 (or 15.5.29 on 15.x) and redeploying. One issue also needs an update to the OpenNext Netlify Next.js adapter,@netlify/plugin-nextjs5.16.6. The adapter is auto-installed by default, so a redeploy picks it up. You only need to upgrade it manually if you pin its version. See What should I do? for full steps.Vulnerabilities
Vulnerability CVE Severity Affected GHSA-vc7v-qv4w-wrv8 — Cache leak across root param values in nested 'use cache'functions via delayed inner stream metadataCVE-2026-119351 Medium 16.2+ apps using Cache Components with nested use cachefunctions and root paramsGHSA-7qx7-33qx-rqx2 — SVG rejection bypass in Next.js image optimization CVE-2026-119347 Medium 15.x/16.x apps using the built-in image optimizer with images.dangerouslyAllowSVG: falseGHSA-vvgp-ww4w-46vf — Cache poisoning of shared fallback shells in Cache Components via request-supplied placeholder route params CVE-2026-119350 Medium 16.4+ apps using Cache Components with certain dynamic route shapes GHSA-mfr8-8qww-v76h — Information disclosure across root params in Next.js when a 'use cache'function is called throughunstable_cache()CVE-2026-119790 Medium 16.3+ apps using Cache Components that call the same use cachefunction directly and throughunstable_cacheGHSA-f3mh-rxg3-f5g2 — HttpOnly cookie exposure through internal response header on Next.js Edge runtime routes CVE-2026-119346 Medium Edge Route Handlers and Edge API routes that set HttpOnly cookies GHSA-rhh4-g77r-r9qj — Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments CVE-2026-119349 Medium 16.x apps passing binary arguments (e.g. Blob) to a shareduse cachefunctionGHSA-pc58-hwjq-p385 — Cross-client response injection and disclosure in self-hosted Next.js applications forwarding fetched responses CVE-2026-119348 Medium Self-hosted App Router routes returning a fetched response unchanged, behind certain reverse proxies Impact on Netlify
Not affected on Netlify
- GHSA-7qx7-33qx-rqx2 (SVG rejection bypass): Netlify projects are not affected. Image optimization on Netlify is handled by Netlify Image CDN, so the vulnerable Next.js image optimizer code is not used. Netlify Image CDN serves SVG images with a Content Security Policy that prevents scripts from running.
- GHSA-mfr8-8qww-v76h (
use cacheleak viaunstable_cache): Netlify projects are not affected. This leak requires two requests to share a single server process’s in-progress cache fill. On Netlify’s serverless architecture each request is served by its own isolated invocation, so the required overlap cannot occur. - GHSA-pc58-hwjq-p385 (cross-client response injection): Netlify projects are not affected. Netlify’s infrastructure frames responses itself, so a response with an incorrect length from your app cannot affect responses to other requests. However, on unpatched versions, a Route Handler that returns a fetched response unchanged can send a response that browsers fail to decode. Upgrading Next.js resolves it.
Information disclosure
- GHSA-vc7v-qv4w-wrv8 (nested
use cacheleak) and GHSA-rhh4-g77r-r9qj (binaryuse cachearguments): under the conditions in each advisory, content cached for one user or root param value (e.g. a locale or tenant) can be served to another. On Netlify, apps that meet those conditions are affected. Upgrading Next.js resolves both. - GHSA-f3mh-rxg3-f5g2 (HttpOnly cookies in Edge responses): exploitation requires an attacker to already be able to run JavaScript on your site’s origin. It can then read cookies marked HttpOnly. On Netlify, this affects Edge Route Handlers and Edge API routes, and also cookies set in Next.js Middleware. The Netlify adapter update alone covers all of these. Upgrading Next.js fixes Edge Route Handlers and Edge API routes. The Middleware case is fixed in the Netlify adapter, so you also need adapter 5.16.6. See What should I do?.
Cache poisoning and availability
GHSA-vvgp-ww4w-46vf (cache poisoning of shared fallback shells): affects Next.js 16.4+ apps using Cache Components with the route shape described in the advisory. A single request can cause valid pages to return a cached 404 error. On Netlify, apps that meet those conditions are affected. Upgrading Next.js resolves it.
What should I do?
We strongly recommend upgrading as soon as possible:
- Upgrade
nextto 16.4.5 (or 15.5.29 if you’re on 15.x) and redeploy.
The OpenNext Netlify Next.js adapter that runs your app must also be updated to v5.16.6:
- Auto-installed adapter (default): redeploy — the update is applied automatically.
- Manually installed adapter: upgrade
@netlify/plugin-nextjsto v5.16.6 and redeploy. Upgrading Next.js alone does not fix the Middleware case on Netlify. We recommend not pinning the adapter version so future fixes ship automatically.
A new deploy clears content cached by previous deploys in the same deploy context, including any entries affected by these issues. A production deploy does not clear the cache for branch deploys or Deploy Previews (and vice-versa). Purge affected entries in those contexts separately, purge the whole site or delete those deploys. If you’ve opted responses out of automatic invalidation with the
Netlify-Cache-IDheader, those stay cached after a deploy, so purge them on demand.Note that any publicly available deploy previews and branch deploys may remain vulnerable until they are automatically deleted. Consider deleting these deploys manually.
Resources
-
The Next.js and React teams have disclosed three security vulnerabilities (two critical, one high), released on October 14, 2026: a remote code execution (RCE) in SVG image processing, an RCE in
use cache(Cache Components), and a denial of service (DoS) in App Router Server Actions. Here’s what Netlify customers need to know.Summary
If you run Next.js on Netlify, we strongly recommend upgrading
nextto 15.5.28 or 16.4.1 and redeploying. Several of these have limited or no impact on Netlify; see Impact on Netlify. See What should I do? for steps.Vulnerabilities
All issues are patched in 15.5.28 and 16.4.1.
Vulnerability Severity Affected GHSA-673q-mjm6-r5xr — Unauthenticated Remote Code Execution in use cachefunctions returning typed arraysCritical 16.x apps using Cache Components with a use cachefunction returning typed arraysGHSA-2464-fhr4-w9xw — Unauthenticated Remote Code Execution in Image Optimization API when SVG files are used (CVE-2026-96889) Critical Processing untrusted SVGs via sharp(Node.js runtime, glibc Linux); on Netlify, reachable throughnext/ogImageResponseGHSA-p3m5-59mp-jv5r — Denial of Service in App Router using Server Actions High 13.x–16.x App Router apps with at least one Server Action Impact on Netlify
Remote code execution
GHSA-673q-mjm6-r5xr is a Critical RCE affecting Next.js 16.x apps using Cache Components, triggered by a
use cachefunction that returns typed arrays — an unusual configuration not expected in normally functioning applications. On Netlify, apps that meet those conditions are affected; upgrading Next.js resolves it.GHSA-2464-fhr4-w9xw (CVE-2026-96889) is an RCE in the image library (
sharp) Next.js uses to process SVGs. The advisory describes it through the next/image Image Optimization API — which on Netlify is served by Netlify Image CDN, not your function, so that path is not exercised on Netlify. The same flaw is reachable throughnext/ogImageResponse, which does run in your Netlify function: apps that render untrusted input viaImageResponseare affected. There, the impact is limited to a crashed function invocation, not code execution — minimal impact on our autoscaling serverless architecture, though active exploitation could increase your function costs. Upgrading Next.js (which also updates the bundledsharp) resolves it.Denial of service
GHSA-p3m5-59mp-jv5r is a server-side DoS affecting App Router apps that define a Server Action. On Netlify, this has minimal impact: our autoscaling serverless architecture means a malicious request that consumes excessive CPU in one function does not affect other requests. However, active exploitation could increase your function costs. Upgrading Next.js resolves it.
What should I do?
We strongly recommend upgrading
nextto 15.5.28 or 16.4.1 and redeploying as soon as possible.Note that any publicly available deploy previews and branch deploys may remain vulnerable until they are automatically deleted. Consider deleting these deploys manually.
Resources
-
On private projects and sites protected with Netlify team login, your Netlify Functions and Edge Functions can now see who is making the request. The signed-in Netlify user is available as
context.user, with their user ID, email address, and when their access expires.This function returns the signed-in user’s ID, email address, and access expiry as JSON at
/whoami, and responds with a401whencontext.userisn’t set:netlify/functions/whoami.ts import type { Config, Context } from '@netlify/functions'export default async (req: Request, context: Context) => {if (!context.user) {return new Response('Unauthorized', { status: 401 })}return Response.json({id: context.user.id,email: context.user.email,expiresAt: context.user.expiresAt.toISOString(),})}export const config: Config = { path: '/whoami' }Previously, protecting a site meant Netlify checked who could visit, but your code couldn’t tell who they were. Knowing who’s on the other end meant adding a second login of your own on top.
Now Netlify verifies the visitor at the edge and passes their identity to your code. Because
context.usercomes from Netlify and not from the request, a visitor can’t impersonate someone else by sending their own headers.With
context.user, you can build on the login your team already uses. Examples like:- Internal dashboards and admin tools that show each person their own data
- Audit logs that record who made a change or triggered an action
- Approval and review workflows that know who approved what
- Per-person settings, permissions, or feature access inside an internal app
Learn more in the Netlify documentation:
-
The Next.js team has disclosed seven security vulnerabilities in Next.js (one high, five medium, one low), patched on September 30, 2026 in 15.5.27 and 16.3.8. The issues span server-side request forgery (SSRF), cache poisoning, and information disclosure. Several of them do not affect apps hosted on Netlify. Here’s what Netlify customers need to know.
Summary
Some of these vulnerabilities affect Next.js sites hosted on Netlify (details in Impact on Netlify), so if you run Next.js on Netlify, we strongly recommend upgrading
nextto 15.5.27 or 16.3.8 and redeploying. The OpenNext Netlify Next.js adapter must also be updated to@netlify/plugin-nextjs5.16.1; it’s auto-installed by default, so a redeploy picks it up (a manual upgrade is only needed if you pin the version). See What should I do? for full steps.Vulnerabilities
All issues are patched in 15.5.27 and 16.3.8.
Vulnerability Severity Affected GHSA-cjq9-62q9-8jv4 / CVE-2026-94483 — Image optimizer SSRF High 16.x with an attacker-controlled remote host in images.remotePatternsGHSA-4jqv-mc3x-m676 / CVE-2026-94543 — Cache poisoning of SSG/ISR pages (cross-route) Medium 15.x/16.x Pages Router apps with SSG/ISR and a root catch-all route GHSA-mcj8-r9mp-w47p / CVE-2026-94484 — Cache poisoning via encoded paths / /index(SSG/ISR)Medium 15.x/16.x apps combining a root catch-all with SSG/ISR routes GHSA-f87g-xv8r-7p7x / CVE-2026-94485 — Metadata image dynamicParamsbypass (information disclosure)Medium 16.x App Router Webpack builds using metadata image routes GHSA-h694-7cp9-m8p3 — Cache leak across root param values in nested use cacheMedium 16.3.x with Cache Components + nested use cachereading root paramsGHSA-3w37-wq28-93x7 / CVE-2026-94544 — Draft Mode use cachecontent leakMedium 16.3.x with Cache Components / useCache, Draft Mode, and draft-dependent cached contentGHSA-39w2-rjm5-chcv / CVE-2026-94486 — Development MCP information disclosure Low 16.x development servers ( next dev) with the MCP endpointImpact on Netlify
Not affected on Netlify
- GHSA-cjq9-62q9-8jv4 (Image optimizer SSRF): Netlify projects are not affected. Image optimization on Netlify is handled by Netlify Image CDN — a separate service outside your project’s functions — so the vulnerable Next.js image-optimizer code path is not used, and the Image CDN has its own protections against this class of SSRF.
- GHSA-3w37-wq28-93x7 (Draft Mode
use cachecontent leak): Netlify projects are not affected. This leak requires two requests to share a single server process’s in-flight cache fill. On Netlify’s serverless architecture each request is served by its own isolated invocation, so the required overlap cannot occur. - GHSA-39w2-rjm5-chcv (Development MCP information disclosure): Netlify projects are not affected. This affects the
next devdevelopment server only; Netlify serves production builds, which do not expose the development MCP endpoint.
Information disclosure
GHSA-f87g-xv8r-7p7x (Metadata image
dynamicParamsbypass) can expose content from routes excluded viadynamicParamsthrough metadata image routes. It only affects Webpack builds; Turbopack builds are not affected. On Netlify, apps that use a Webpack build are affected; upgrading Next.js resolves it.Cache poisoning and availability
GHSA-4jqv-mc3x-m676 and GHSA-mcj8-r9mp-w47p affect apps with SSG/ISR routes behind a root catch-all.
- GHSA-4jqv-mc3x-m676 (cross-route cache poisoning): Pages Router apps with SSG/ISR and a root catch-all route are affected on Netlify. Upgrading Next.js resolves the poisoning on its own. The fix also changes how cache entries are keyed, so you should update the Netlify adapter (5.16.1) as well — otherwise prerendered pages miss the cache and re-render (a serving/performance regression, not a security one). See What should I do?.
- GHSA-mcj8-r9mp-w47p (encoded paths /
/index): App Router apps with a prerendered catch-all route are affected by an availability issue — certain valid percent-encoded URLs can return an error (HTTP 500) instead of the page. Upgrading Next.js resolves it. - GHSA-h694-7cp9-m8p3 (cache leak across root param values): affects Next.js 16.x apps using Cache Components with a nested
use cachethat reads root params (e.g. locale or region segments) — an enclosing cache entry can be keyed without the root param and reused across values, so content produced for one value can be served for another. Upgrading Next.js resolves it.
What should I do?
We strongly recommend upgrading as soon as possible:
- Upgrade
nextto 15.5.27 or 16.3.8 and redeploy.
The OpenNext Netlify Next.js adapter that runs your app must also be updated to v5.16.1:
- Auto-installed adapter (default): redeploy — the update is applied automatically.
- Manually installed adapter: upgrade
@netlify/plugin-nextjsto v5.16.1 and redeploy. We recommend not pinning the adapter version so future fixes ship automatically.
Note that any publicly available deploy previews and branch deploys may remain vulnerable until they are automatically deleted. Consider deleting these deploys manually.
Resources