Skip to content

Bump next [SECURITY]#48036

Merged
ZeeshanTamboli merged 1 commit into
masterfrom
renovate/npm-next-vulnerability
Mar 24, 2026
Merged

Bump next [SECURITY]#48036
ZeeshanTamboli merged 1 commit into
masterfrom
renovate/npm-next-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 19, 2026

This PR contains the following updates:

Package Change Age Confidence
next (source) 15.5.1215.5.13 age confidence
next (source) 15.5.1215.5.14 age confidence

GitHub Vulnerability Alerts

CVE-2026-29057

Summary

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.

Impact

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.

Patches

The vulnerability originated in an upstream library vendored by Next.js. It is fixed 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.

Workarounds

If upgrade is not immediately possible:

  • Block chunked DELETE/OPTIONS requests on rewritten routes at your edge/proxy.
  • Enforce authentication/authorization on backend routes per our security guidance.

CVE-2026-27980

Summary

The default Next.js image optimization disk cache (/_next/image) did not have a configurable upper bound, allowing unbounded cache growth.

Impact

An attacker could generate many unique image-optimization variants and exhaust disk space, causing denial of service. Note that this does not impact platforms that have their own image optimization capabilities, such as Vercel.

Patches

Fixed by adding an LRU-backed disk cache with images.maximumDiskCacheSize, including eviction of least-recently-used entries when the limit is exceeded. Setting maximumDiskCacheSize: 0 disables disk caching.

Workarounds

If upgrade is not immediately possible:

  • Periodically clean .next/cache/images.
  • Reduce variant cardinality (e.g., tighten values for images.localPatterns, images.remotePatterns, and images.qualities)

Release Notes

vercel/next.js (next)

v15.5.13

Compare Source


Configuration

📅 Schedule: Branch creation - "" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Update of dependencies. security Pull requests that address a security vulnerability. labels Mar 19, 2026
@renovate renovate Bot force-pushed the renovate/npm-next-vulnerability branch from f7c0c73 to ef35198 Compare March 19, 2026 21:31
@renovate renovate Bot changed the title Bump next [SECURITY] Bump next to v15.5.13 [SECURITY] Mar 19, 2026
@mui-bot
Copy link
Copy Markdown

mui-bot commented Mar 19, 2026

Netlify deploy preview

https://deploy-preview-48036--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 9f2fbba

@ZeeshanTamboli ZeeshanTamboli requested a review from a team March 20, 2026 07:20
@Janpot
Copy link
Copy Markdown
Member

Janpot commented Mar 20, 2026

we need to exclude the bundler tests from being upgraded in renovate config

edit: this should do it

@renovate renovate Bot force-pushed the renovate/npm-next-vulnerability branch from ef35198 to 7c1b9f4 Compare March 20, 2026 09:51
@renovate renovate Bot changed the title Bump next to v15.5.13 [SECURITY] Bump next [SECURITY] Mar 20, 2026
@renovate renovate Bot force-pushed the renovate/npm-next-vulnerability branch from 7c1b9f4 to 9f2fbba Compare March 23, 2026 13:35
@ZeeshanTamboli ZeeshanTamboli merged commit ab4ad76 into master Mar 24, 2026
23 checks passed
@ZeeshanTamboli ZeeshanTamboli deleted the renovate/npm-next-vulnerability branch March 24, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update of dependencies. security Pull requests that address a security vulnerability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants