# CVE-2026-29057: Next.js: HTTP request smuggling in rewrites

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-03-17T16:17:15.000Z
- Modified: 2026-09-10T03:50:39.201Z
- Also known as: GHSA-ggv3-7p47-pfv8
- Weaknesses: CWE-444
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vercel next.js: >= 16.0.0-beta.0, < 16.1.7; >= 9.5.0, < 15.5.13; from 9.5.0 before 15.5.13; from 16.0.0 before 16.1.7
- next (npm): from 16.0.0-beta.0 before 16.1.7; from 9.5.0 before 15.5.13

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/vercel/next.js/security/advisories/GHSA-ggv3-7p47-pfv8> (mitigation, vendor-advisory, web)
- <https://github.com/vercel/next.js/commit/dc98c04f376c6a1df76ec3e0a2d07edf4abdabd6> (patch, web)
- <https://github.com/vercel/next.js/releases/tag/v15.5.13> (product, release-notes, web)
- <https://github.com/vercel/next.js/releases/tag/v16.1.7> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-29057> (advisory)
- <https://github.com/vercel/next.js> (package)

## Sources

- CVE List: [CVE-2026-29057](https://www.cve.org/CVERecord?id=CVE-2026-29057), CVE Terms of Use, modified 2026-03-18
- GitHub Advisory Database: [GHSA-ggv3-7p47-pfv8](https://github.com/advisories/GHSA-ggv3-7p47-pfv8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-29057](https://nvd.nist.gov/vuln/detail/CVE-2026-29057), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-29057 · Whole record: https://cve.day/CVE-2026-29057.json · Rebuilt by cve.day 2026-11-25T22:59:16.068Z
