Next.js: Middleware / Proxy bypass in Pages Router applications using i18n
Published May 13, 2026
7.5
HIGHCVSS 3.1
EPSS 0.76%
Description
Next.js is a React framework for building full-stack web applications. From 12.2.0 to before 15.5.16 and 16.2.5, Applications using the Pages Router with i18n configured and middleware/proxy-based authorization can allow unauthorized access to protected page data through locale-less /_next/data/<buildId>/<page>.json requests. In affected configurations, middleware does not run for the unprefixed data route, allowing an attacker to retrieve SSR JSON for protected pages without passing the intended authorization checks. This vulnerability is fixed in 15.5.16 and 16.2.5.
Affected products
-
- Version >= 12.2.0, < 15.5.16StatusaffectedConstraints-
- Version >= 16.0.0, < 16.2.5StatusaffectedConstraints-
- Version
No data.
Red Hat Trusted Artifact Signer 1.3
rhtas/rekor-search-ui-rhel9:1783958622
Fixed · RHSA-2026:40974
Red Hat Trusted Artifact Signer 1.4
rhtas/rekor-search-ui-rhel9:1783327185
Fixed · RHSA-2026:37272
Streams for Apache Kafka 2.9.4
next
Fixed · RHSA-2026:34608
Streams for Apache Kafka 3.2.1
next
Fixed · RHSA-2026:54435
Red Hat Enterprise Linux 10
firefox
Not affected
Red Hat Enterprise Linux 10
thunderbird
Not affected
Red Hat Enterprise Linux 7
firefox
Not affected
Red Hat Enterprise Linux 8
firefox
Not affected
Red Hat Enterprise Linux 8
thunderbird
Not affected
Red Hat Enterprise Linux 9
firefox
Not affected
Red Hat Enterprise Linux 9
thunderbird
Not affected
Red Hat Enterprise Linux AI (RHEL AI) 3
rhelai3/bootc-cuda-rhel9
Will not fix
Red Hat Enterprise Linux AI (RHEL AI) 3
rhelai3/bootc-gaudi-rhel9
Will not fix
Red Hat Enterprise Linux AI (RHEL AI) 3
rhelai3/bootc-rocm-rhel9
Will not fix
Red Hat Enterprise Linux AI (RHEL AI) 3
rhelai3/disk-image-cuda-rhel9
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Trusted Artifact Signer 1.3 | rhtas/rekor-search-ui-rhel9:1783958622 | Fixed | RHSA-2026:40974 |
| Red Hat Trusted Artifact Signer 1.4 | rhtas/rekor-search-ui-rhel9:1783327185 | Fixed | RHSA-2026:37272 |
| Streams for Apache Kafka 2.9.4 | next | Fixed | RHSA-2026:34608 |
| Streams for Apache Kafka 3.2.1 | next | Fixed | RHSA-2026:54435 |
| Red Hat Enterprise Linux 10 | firefox | Not affected | n/a |
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | n/a |
| Red Hat Enterprise Linux 7 | firefox | Not affected | n/a |
| Red Hat Enterprise Linux 8 | firefox | Not affected | n/a |
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | n/a |
| Red Hat Enterprise Linux 9 | firefox | Not affected | n/a |
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-cuda-rhel9 | Will not fix | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-gaudi-rhel9 | Will not fix | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/bootc-rocm-rhel9 | Will not fix | n/a |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | rhelai3/disk-image-cuda-rhel9 | Will not fix | n/a |
next
npm
Introduced 12.2.0 Fixed 15.5.16next
npm
Introduced 16.0.0 Fixed 16.2.5
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | next | 12.2.0 | 15.5.16 |
| npm | next | 16.0.0 | 16.2.5 |
Remediation
Red Hat statement
Important: A flaw in Next.js applications allows unauthorized access to sensitive server-side rendered (SSR) JSON data by bypassing middleware authorization checks. This occurs when applications use the Pages Router with internationalization (i18n) and middleware or proxy-based authorization, enabling remote attackers to retrieve protected page data through locale-less requests.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (13)
- https://access.redhat.com/errata/RHSA-2026:34608
- https://access.redhat.com/errata/RHSA-2026:37272
- https://access.redhat.com/errata/RHSA-2026:40974
- https://access.redhat.com/errata/RHSA-2026:54435
- https://access.redhat.com/security/cve/CVE-2026-44573 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2477199 Issue Tracking
- https://github.com/advisories/GHSA-36qx-fr4f-26g5 Advisory
- https://github.com/vercel/next.js/releases/tag/v15.5.16
- https://github.com/vercel/next.js/releases/tag/v16.2.5
- https://github.com/vercel/next.js/security/advisories/GHSA-36qx-fr4f-26g5 x_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-44573
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44573.json
- https://www.cve.org/CVERecord?id=CVE-2026-44573
Change history (0)
No recorded changes yet.