Skip to content

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Oct 18, 2025


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ next (15.2.6 β†’ 15.5.6) Β· Repo

Security Advisories 🚨

🚨 Next.js is vulnerable to RCE in React flight protocol

A vulnerability affects certain React packages1 for versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 and frameworks that use the affected packages, including Next.js 15.x and 16.x using the App Router. The issue is tracked upstream as CVE-2025-55182.

Fixed in:
React: 19.0.1, 19.1.2, 19.2.1
Next.js: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7, 15.6.0-canary.58, 16.1.0-canary.12+

The vulnerability also affects experimental canary releases starting with 14.3.0-canary.77. Users on any of the 14.3 canary builds should either downgrade to a 14.x stable release or 14.3.0-canary.76.

All users of stable 15.x or 16.x Next.js versions should upgrade to a patched, stable version immediately.

1 The affected React packages are:

  • react-server-dom-parcel
  • react-server-dom-turbopack
  • react-server-dom-webpack

🚨 Next.js is vulnerable to RCE in React flight protocol

A vulnerability affects certain React packages1 for versions 19.0.0, 19.1.0, 19.1.1, and 19.2.0 and frameworks that use the affected packages, including Next.js 15.x and 16.x using the App Router. The issue is tracked upstream as CVE-2025-55182.

Fixed in:
React: 19.0.1, 19.1.2, 19.2.1
Next.js: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7, 15.6.0-canary.58, 16.1.0-canary.12+

The vulnerability also affects experimental canary releases starting with 14.3.0-canary.77. Users on any of the 14.3 canary builds should either downgrade to a 14.x stable release or 14.3.0-canary.76.

All users of stable 15.x or 16.x Next.js versions should upgrade to a patched, stable version immediately.

1 The affected React packages are:

  • react-server-dom-parcel
  • react-server-dom-turbopack
  • react-server-dom-webpack

🚨 Next.js Content Injection Vulnerability for Image Optimization

A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. The issue allowed attacker-controlled external image sources to trigger file downloads with arbitrary content and filenames under specific configurations. This behavior could be abused for phishing or malicious file delivery.

All users relying on images.domains or images.remotePatterns are encouraged to upgrade and verify that external image sources are strictly validated.

More details at Vercel Changelog

🚨 Next.js Affected by Cache Key Confusion for Image Optimization API Routes

A vulnerability in Next.js Image Optimization has been fixed in v15.4.5 and v14.2.31. When images returned from API routes vary based on request headers (such as Cookie or Authorization), these responses could be incorrectly cached and served to unauthorized users due to a cache key confusion bug.

All users are encouraged to upgrade if they use API routes to serve images that depend on request headers and have image optimization enabled.

More details at Vercel Changelog

🚨 Next.js Improper Middleware Redirect Handling Leads to SSRF

A vulnerability in Next.js Middleware has been fixed in v14.2.32 and v15.4.7. The issue occurred when request headers were directly passed into NextResponse.next(). In self-hosted applications, this could allow Server-Side Request Forgery (SSRF) if certain sensitive headers from the incoming request were reflected back into the response.

All users implementing custom middleware logic in self-hosted environments are strongly encouraged to upgrade and verify correct usage of the next() function.

More details at Vercel Changelog

🚨 Next.js has a Cache poisoning vulnerability due to omission of the Vary header

Summary

A cache poisoning issue in Next.js App Router >=15.3.0 and < 15.3.3 may have allowed RSC payloads to be cached and served in place of HTML, under specific conditions involving middleware and redirects. This issue has been fixed in Next.js 15.3.3.

Users on affected versions should upgrade immediately and redeploy to ensure proper caching behavior.

More details: CVE-2025-49005

Release Notes

Too many releases to show here. View the full release notes.

Sorry, we couldn't find anything useful about this release.

↗️ @​emnapi/runtime (indirect, 1.2.0 β†’ 1.7.1) Β· Repo

Release Notes

1.7.1

What's Changed

Full Changelog: v1.7.0...v1.7.1

1.7.0

What's Changed

Full Changelog: v1.6.0...v1.7.0

1.6.0

What's Changed

Full Changelog: v1.5.0...v1.6.0

1.5.0

What's Changed

Prebuilt libraries are built by LLVM clang 20.

  • fix: env undefined after emitting beforeExit event by @toyobayashi in #162
  • fix(wasi): avoid deadlock caused by child thread abort when the main thread is in Atomics.wait and allow blocking calls on browser main thread (requires wasi-sdk 26+ and --export=emnapi_thread_crashed) by @toyobayashi in #163
  • build: backport emscripten parse tools changes to v1 by @toyobayashi in #165

Full Changelog: v1.4.5...v1.5.0

1.4.5

What's Changed

  • fix(wasm32-wasip1-threads): process never exit if trap in threads (#156)

Full Changelog: v1.4.4...v1.4.5

1.4.3

What's Changed

  • update @emnapi/wasi-threads@1.0.2 in the package.json dependency of @emnapi/core

Full Changelog: v1.4.2...v1.4.3

1.4.2

What's Changed

Full Changelog: v1.4.1...v1.4.2

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 54 commits:

↗️ @​next/env (indirect, 15.2.6 β†’ 15.5.6) Β· Repo

Release Notes

Too many releases to show here. View the full release notes.

Sorry, we couldn't find anything useful about this release.

↗️ detect-libc (indirect, 2.0.3 β†’ 2.1.2) Β· Repo Β· Changelog

Commits

See the full diff on Github. The new version differs by 15 commits:

↗️ semver (indirect, 7.6.3 β†’ 7.7.3) Β· Repo Β· Changelog

Release Notes

7.7.3

7.7.3 (2025-10-06)

Bug Fixes

Chores

7.7.2

7.7.2 (2025-05-12)

Bug Fixes

Chores

7.7.1

7.7.1 (2025-02-03)

Bug Fixes

7.7.0

7.7.0 (2025-01-29)

Features

Bug Fixes

Documentation

Chores

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 26 commits:

πŸ†• @​img/colour (added, 1.0.0)

πŸ†• @​img/sharp-libvips-linux-ppc64 (added, 1.2.4)

πŸ†• @​img/sharp-libvips-linux-riscv64 (added, 1.2.4)

πŸ†• @​img/sharp-linux-ppc64 (added, 0.34.5)

πŸ†• @​img/sharp-linux-riscv64 (added, 0.34.5)

πŸ†• @​img/sharp-win32-arm64 (added, 0.34.5)

πŸ†• @​img/sharp-darwin-arm64 (added, 0.34.5)

πŸ†• @​img/sharp-darwin-x64 (added, 0.34.5)

πŸ†• @​img/sharp-libvips-darwin-arm64 (added, 1.2.4)

πŸ†• @​img/sharp-libvips-darwin-x64 (added, 1.2.4)

πŸ†• @​img/sharp-libvips-linux-arm (added, 1.2.4)

πŸ†• @​img/sharp-libvips-linux-arm64 (added, 1.2.4)

πŸ†• @​img/sharp-libvips-linux-s390x (added, 1.2.4)

πŸ†• @​img/sharp-libvips-linux-x64 (added, 1.2.4)

πŸ†• @​img/sharp-libvips-linuxmusl-arm64 (added, 1.2.4)

πŸ†• @​img/sharp-libvips-linuxmusl-x64 (added, 1.2.4)

πŸ†• @​img/sharp-linux-arm (added, 0.34.5)

πŸ†• @​img/sharp-linux-arm64 (added, 0.34.5)

πŸ†• @​img/sharp-linux-s390x (added, 0.34.5)

πŸ†• @​img/sharp-linux-x64 (added, 0.34.5)

πŸ†• @​img/sharp-linuxmusl-arm64 (added, 0.34.5)

πŸ†• @​img/sharp-linuxmusl-x64 (added, 0.34.5)

πŸ†• @​img/sharp-wasm32 (added, 0.34.5)

πŸ†• @​img/sharp-win32-ia32 (added, 0.34.5)

πŸ†• @​img/sharp-win32-x64 (added, 0.34.5)

πŸ†• sharp (added, 0.34.5)

πŸ—‘οΈ @​swc/counter (removed)

πŸ—‘οΈ busboy (removed)

πŸ—‘οΈ streamsearch (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Oct 18, 2025
@changeset-bot
Copy link

changeset-bot bot commented Oct 18, 2025

⚠️ No Changeset found

Latest commit: d3ce875

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Contributor

vercel bot commented Oct 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
mindect Error Error Dec 11, 2025 7:02pm

@depfu depfu bot force-pushed the depfu/update/npm/next-15.5.6 branch from f42a0ba to d3ce875 Compare December 11, 2025 19:00
@depfu depfu bot changed the title 🚨 [security] Update next 15.2.4 β†’ 15.5.6 (minor) 🚨 [security] Update next 15.2.6 β†’ 15.5.6 (minor) Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant