CVE-2026-29057
next.js: Next.js: HTTP request smuggling in rewrites
Overview
Description
Next.js is a React framework for building full-stack web applications. Starting in version 9.5.0 and prior to versions 15.5.13 and 16.1.7, when Next.js rewrites proxy traffic to an external backend, a crafted DELETE/OPTIONS request using Transfer-Encoding: chunked could trigger request boundary disagreement between the proxy and backend. This could allow request smuggling through rewritten routes. An attacker could smuggle a second request to unintended backend routes (for example, internal/admin endpoints), bypassing assumptions that only the configured rewrite destination/path is reachable. This does not impact applications hosted on providers that handle rewrites at the CDN level, such as Vercel. The vulnerability originated in an upstream library vendored by Next.js. It is fixed in Next.js 15.5.13 and 16.1.7 by updating that dependency’s behavior so content-length: 0 is added only when both content-length and transfer-encoding are absent, and transfer-encoding is no longer removed in that code path. If upgrading is not immediately possible, block chunked DELETE/OPTIONS requests on rewritten routes at the edge/proxy, and/or enforce authentication/authorization on backend routes.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-444
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | next | >=16.0.0-beta.0, <16.1.7>=9.5.0, <15.5.13 | 16.1.715.5.13 |
| Seal npm | @seal-security/next | >=16.0.6-sp1, <16.0.6-sp999 | 16.0.6-sp999 |
| Seal npm | next | >=16.0.6-sp0, <16.0.6-sp999 | 16.0.6-sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 11 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | aspnetcore-runtime-7-0 +11 | affected |
chainguard 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| keep +1 | 0.51.0-r1 | |
| jitsucom-jitsu | 2.11.0-r17 | |
| langfuse-2 | 2.95.12-r14 | |
| langfuse-fips-2 | 2.95.12-r17 | |
| langfuse-fips-3 | 3.162.0-r0 | |
| langfuse-3 | 3.162.0-r1 |
1 more row
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| trigger-dev | 4.5.0-r0 |
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| jitsucom-jitsu | 2.11.0-r17 | |
| langfuse-3 | 3.162.0-r1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-29057
- github.com https://github.com/vercel/next.js
- github.com https://github.com/vercel/next.js/commit/dc98c04f376c6a1df76ec3e0a2d07edf4abdabd6
- github.com https://github.com/vercel/next.js/releases/tag/v15.5.13
- github.com https://github.com/vercel/next.js/releases/tag/v16.1.7
- github.com https://github.com/vercel/next.js/security/advisories/GHSA-ggv3-7p47-pfv8
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-29057
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-29057
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.