Next.js has a Middleware / Proxy bypass in App Router applications via segment-prefetch routes
Impact
App Router applications that rely on middleware or proxy-based checks for authorization can allow unauthorized access through transport-specific route variants used for segment prefetching. In affected configurations, specially crafted .rsc and segment-prefetch URLs can resolve to the same page without being matched by the intended middleware rule, which can allow protected content to be reached without the expected authorization check.
Fix
We now include App Router transport variants when generating middleware matchers, so middleware protections are applied consistently to those requests as well as to the normal page URL.
Workarounds
If you cannot upgrade immediately, enforce authorization in the underlying route or page logic instead of relying solely on middleware.
Affected Packages
| Ecosystem | Package | Vulnerable Versions | Patched Version |
|---|---|---|---|
| npm |
next
|
>= 15.2.0, < 15.5.16 |
15.5.16
|
chore(deps): bump next from 15.4.11 to 15.5.21
Open about 21 hours agoBump next from 14.2.25 to 15.5.21
Open 1 day agobuild(deps): bump the npm_and_yarn group across 1 directory with 9 updates
Open 2 days agoci(deps): bump the npm_and_yarn group across 2 directories with 6 updates
Open 4 days agochore(deps): bump the js-non-major group with 2 updates
Open 4 days agoBump the client-minor-patch group in /client with 25 updates
Closed 5 days agochore(deps): bump next from 15.5.20 to 16.2.10
Open 6 days agoBump the development-dependencies group across 1 directory with 13 updates
Closed 7 days agobuild(deps-dev): bump eslint-config-next from 15.5.15 to 16.2.10
Open 9 days agobuild(deps): bump next from 14.2.3 to 15.5.18 in /frontend
Open 9 days agoBump eslint-config-next from 13.3.0 to 15.5.20
Open 10 days agoBump next from 15.5.20 to 16.2.10
Closed 10 days agochore(deps-dev): bump the dev-dependencies group across 1 directory with 16 updates
Open 10 days agodeps: bump eslint-config-next from 14.2.35 to 15.5.20
Open 11 days agodeps: bump eslint-config-next from 15.5.19 to 16.2.10
Closed 12 days agoBump next from 15.5.20 to 16.2.10
Open 15 days agoBump the npm-mensal group in /fbr-tracking with 4 updates
Open 16 days agochore(frontend): bump the dev-tooling group in /frontend with 4 updates
Closed 17 days agonpm(deps): bump the production-dependencies group across 1 directory with 6 updates
Open 18 days agochore(deps): bump the production-dependencies group across 1 directory with 6 updates
Open 18 days agochore(deps): bump the dev-dependencies group across 1 directory with 40 updates
Open 18 days agochore(deps)(deps): bump the nextjs group with 3 updates
Open 19 days agochore(deps)(deps): bump the production-dependencies group across 1 directory with 7 updates
Open 19 days agochore(deps)(deps): bump next from 14.0.4 to 16.2.10
Open 19 days agoBump next from 15.5.7 to 16.2.10 in /app/web
Open 19 days agodeps: bump eslint-config-next from 15.5.14 to 16.2.10
Open 19 days agochore(deps): bump next from 15.5.20 to 16.2.10
Open 19 days agochore(deps-dev): bump eslint-config-next from 14.2.35 to 16.2.10 in /app
Closed 19 days agodeps: bump the minor-and-patch group with 18 updates
Open 19 days agochore(deps-dev): bump eslint-config-next from 15.5.19 to 16.2.10
Open 20 days agochore(deps): bump next from 16.2.4 to 16.2.10
Open 20 days agochore(deps): bump the dependencies group with 28 updates
Open 20 days agoBump next from 15.5.18 to 16.2.10 in /src/client
Open 20 days agochore(deps): Bump the production-dependencies group across 1 directory with 4 updates
Open 20 days agochore(deps): bump next from 0.4.1 to 16.2.10 in /apps/api
Open 20 days agoBump eslint-config-next from 16.2.1 to 16.2.10 in /apps/neonblade-ui-web
Open 20 days agoBump the npm_and_yarn group across 1 directory with 6 updates
Open 20 days agochore(deps): bump the npm_and_yarn group across 2 directories with 8 updates
Closed 20 days agoBump glob, eslint, eslint-config-next and sucrase
Open 21 days agoBump next from 14.2.35 to 16.2.10 in /services/frontend/zillow-web
Closed 21 days agobuild(deps): bump next from 14.2.35 to 16.2.10 in /web
Closed 21 days agoBump eslint-config-next from 14.2.5 to 16.2.10
Closed 21 days agoBump the npm-deps group in /web with 20 updates
Closed 22 days agoBump eslint-config-next from 15.5.18 to 16.2.10
Open 22 days agochore(deps): bump next from 16.1.6 to 16.2.10 in the npm_and_yarn group across 1 directory
Closed 22 days agobuild(deps): bump next from 15.3.5 to 15.5.18 in /random-password-generator
Open 22 days agobuild(deps): Bump next from 15.5.18 to 16.2.10
Closed 22 days agoBump the all-dependencies group with 15 updates
Open 22 days agoBump the all-dependencies group with 15 updates
Open 22 days agoBump the npm_and_yarn group across 6 directories with 9 updates
Open 22 days agoActions
Advisory Details
| Published: | May 11, 2026 2 months ago |
| Updated: | July 23, 2026 about 12 hours ago |
| CVSS Score: | 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| EPSS: | 1.56% 73th percentile |
| Source: | Github |
| Classification: | GENERAL |
| UUID: | GSA_kwCzR0hTQS0yNjdjLTZncnItaDUzZs4ABWkK |